01:13
Olympic1 has quit [Ping timeout: 180 seconds]
01:15
Olympic1 has joined #spacedock
02:33
NathanKell|AWAY is now known as NathanKell
02:35
<
NathanKell >
VITAS: It wouldn't be professional to talk about our time there, sorry.
02:35
<
NathanKell >
(cc Thomas)
03:31
NathanKell is now known as NathanKell|AWAY
05:15
Olympic1 has quit [Read error: Connection reset by peer]
05:16
Olympic1 has joined #spacedock
06:13
pizzaoverhead_ has joined #spacedock
06:16
pizzaoverhead has quit [Ping timeout: 201 seconds]
06:48
egg|zzz|egg is now known as egg|afk|egg
10:54
<
SpaceDock >
SpaceDock-Backend/master eab9f3c Dorian Stoll: screw with the build scripts
10:58
* Thomas
literally ignores every style that exists for managing go dependencies
11:04
<
SpaceDock >
SpaceDock-Backend/master bea60c5 Dorian Stoll: Trying to trigger a build
11:07
<
SpaceDock >
SpaceDock-Backend/master adcf998 Dorian Stoll: Add main function so go is happy
11:09
<
SpaceDock >
SpaceDock-Backend/master 049dd01 Dorian Stoll: More build script fixes
11:51
<
SpaceDock >
SpaceDock-Backend/master 644e565 Dorian Stoll: Dont combine the variables and the check
11:55
<
SpaceDock >
SpaceDock-Backend/master d885442 Dorian Stoll: moo
11:58
<
SpaceDock >
SpaceDock-Backend/master 28a4177 Dorian Stoll: Force the command to succeed
12:01
<
SpaceDock >
SpaceDock-Backend/master 04657b7 Dorian Stoll: Fixing the build script
12:04
<
Thomas >
VITAS: So, my server is now building the sdb master branch, then sends a signal to the dev server which downloads the build and deploys it
12:04
<
VITAS >
cool but why does your compute rneed to build it?
12:04
<
VITAS >
cant u use the dev server?
12:05
<
VITAS >
just so it can be autobuild if someone else wants to work on it (not that i expect that sadly)
12:08
<
Thomas >
VITAS: Dev server has not enough resources, and my server already runs jenkins so I dont need to config anything
12:08
<
Thomas >
And you can download the builds from my server
12:10
<
Thomas >
VITAS: And that way I have to redo less stuff in case dev vanishes :P
12:11
<
VITAS >
yes ive to check that with genpage
12:12
<
VITAS >
i might look into setting up a server in the rack and pipe it trough so we dont have to rely on genpage (he isnt arround anymore)
12:12
* VITAS
notes that for his next walk to the server room
12:19
<
SpaceDock >
SpaceDock-Backend/master 215db2e Dorian Stoll: Fix mods-per-game list
12:47
<
SpaceDock >
SpaceDock-Backend/master d7eaf78 Dorian Stoll: Dont make DefaultModVersion a pointer...
13:52
<
VITAS >
Thomas, i fixed the cert and email on gogs (dev.spacedock.info)
13:52
<
VITAS >
am i right in beliving that i need to del your acc because you never got that email?
13:53
<
Thomas >
I can resend it
13:54
<
Thomas >
Activated :D
13:55
<
VITAS >
ill make you admin
13:56
<
VITAS >
there you go.
13:56
<
Thomas >
Somehow the default avatars are messed up
13:56
<
VITAS >
i set it to offlien mode because i dont want it to laod exernal tracking avatars)
13:57
<
VITAS >
but apart from that: feel free to adjust the sites settings to be usefull for mod devs and you
13:58
<
Thomas >
I can adjust nothing, gogs has no way of doing that without server access
13:58
<
Thomas >
I can only edit users and orgs
13:58
<
Thomas >
and repositories :D
13:59
<
Thomas >
VITAS: Then you set it to offline after it fetched your avatars ^^
14:01
<
VITAS >
also: how do i start ssh services? i think ive to run it as root and then demote the process because its a well know port?
14:01
<
Thomas >
gogs should integrate into the ssh daemon that is already running
14:02
<
Thomas >
Never had to config anything
14:02
<
VITAS >
uhm theres none running on that ip :)
14:03
<
VITAS >
didnt feel save
14:03
<
Thomas >
Unless you edit it, and sshd listens on 0.0.0.0
14:04
<
VITAS >
2017/04/18 16:04:12 [ INFO] SSH server started on 5.9.16.56:22
14:04
<
VITAS >
2017/04/18 16:04:12 [TRACE] SSH server cipher list: [aes128-ctr aes192-ctr aes256-ctr aes128-gcm@openssh.com arcfour256 arcfour128]
14:04
<
VITAS >
2017/04/18 16:04:12 [FATAL] Fail to start SSH server: listen tcp 5.9.16.56:22: bind: permission denied
14:04
<
VITAS >
i edited it
14:04
<
VITAS >
my real ssh is on another ip
14:05
<
VITAS >
the one i want gogs to be on is above
14:05
<
VITAS >
and port 22 isnt used
14:05
<
Thomas >
Is this the gogs sshd, or the linux one?
14:05
<
VITAS >
so i presume i need special rights to start somethign on port 22
14:05
<
Thomas >
Yeah, try sudo
14:06
<
VITAS >
its a service
14:06
<
VITAS >
solets see what the command is
14:07
<
Thomas >
or run it on something like 2222 and then forward with iptables
14:07
<
Thomas >
but thats meh
14:08
<
VITAS >
hmm but iptables is a good idea
14:08
<
VITAS >
maybe i blocked it
14:08
<
VITAS >
but it should at least start
14:10
<
Thomas >
VITAS: setcap 'cap_net_bind_service=+ep' /path/to/program
14:11
<
VITAS >
ims truggeling to find the gogs binary :D
14:12
<
Thomas >
maybe its in $PATH
14:12
<
Thomas >
then just writing "gogs" should work
14:12
<
VITAS >
does (half)
14:13
<
VITAS >
gogs runs but gogs web doesnt do anything
14:13
<
VITAS >
and gogs without anything does nothing
14:13
<
Thomas >
maybe /bin/gogs?
14:14
<
VITAS >
also i need the path for setcap 'cap_net_bind_service=+ep' from your post above
14:14
<
VITAS >
find didnt find anythign usefull yet
14:14
<
Thomas >
sudo apt install libcap2-bin
14:14
<
Thomas >
installs setcap
14:15
<
Thomas >
VITAS: Well, gogs init script sets path to /sbin:/usr/sbin:/bin:/usr/bin
14:16
<
VITAS >
i found /var /gogs but no bin
14:16
<
Thomas >
So its either /sbin/gogs, /usr/sbin/gogs, /bin/gogs or /usr/bin/gogs
14:19
<
VITAS >
stillt he same after i ran the command you suggested
14:20
<
Thomas >
well, you could open /etc/init.d/gogs and change USER=<some value> to USER=root, but that would be a hellhole
14:21
<
VITAS >
yes i want to prevent that
14:21
<
Thomas >
Or just use a nonstandard port and live with it ;)
14:21
<
VITAS >
sounds realy overengineered
14:23
<
Thomas >
VITAS: Then I am out of ideas
14:24
<
Thomas >
And tbh, the iptables idea sounds like the sanest way now xD
14:24
<
VITAS >
i found an gogs ticket about that problem
14:26
<
VITAS >
problem: if i change the ssh port the web frontend will tell the new port and not 22
14:30
<
VITAS >
i think i got it working
14:31
<
Thomas >
Looks good
14:32
<
VITAS >
ssh working?
14:37
<
Thomas >
Both git and putty are not doing anything
14:38
<
VITAS >
not even errors?
14:38
<
VITAS >
what was the git command?
14:38
<
Thomas >
tried to upload sdf
14:38
<
Thomas >
They just stop doing something
14:42
<
VITAS >
2017/04/18 16:36:20 [TRACE] SSH: Handshaking for 138.68.104.56:30408
14:42
<
VITAS >
2017/04/18 16:36:23 [TRACE] SSH: Connection from 138.68.104.56:30408 (SSH-2.0-Pu
14:42
<
VITAS >
2017/04/18 16:40:31 [TRACE] Doing: MirrorUpdate
14:43
<
VITAS >
2017/04/18 16:34:13 [TRACE] Template: explore/users
14:43
<
VITAS >
2017/04/18 16:34:31 [TRACE] SSH: Handshaking for 138.68.104.56:30351
14:43
<
VITAS >
2017/04/18 16:34:38 [ERROR] [.../runtime/asm_amd64.s:2197 goexit()] SSH: Error on handshaking: read tcp 5.9.16.56:22->138.68.104.56:30351: read: connection reset by peer
14:43
<
VITAS >
2017/04/18 16:35:01 [TRACE] SSH: Handshaking for 138.68.104.56:30372
14:43
<
VITAS >
2017/04/18 16:35:04 [ERROR] [.../runtime/asm_amd64.s:2197 goexit()] SSH: Error on handshaking: read tcp 5.9.16.56:22->138.68.104.56:30372: read: connection reset by peer
14:43
<
VITAS >
2017/04/18 16:35:19 [TRACE] SSH: Handshaking for 138.68.104.56:30379
14:43
<
VITAS >
2017/04/18 16:35:24 [ WARN] SSH: Handshaking was terminated: EOF
14:43
<
VITAS >
2017/04/18 16:35:28 [TRACE] SSH: Handshaking for 138.68.104.56:30384
14:43
<
VITAS >
2017/04/18 16:35:29 [TRACE] SSH: Connection from 138.68.104.56:30384 (SSH-2.0-PuTTY_Release_0.67)
14:43
<
VITAS >
2017/04/18 16:35:29 [TRACE] SSH: Payload: git-receive-pack 'SpaceDock/SpaceDock-Frontend.git'
14:43
<
VITAS >
2017/04/18 16:35:29 [TRACE] SSH: Arguments: [serv key-1 --config=/etc/gogs/conf/app.ini]
14:43
<
VITAS >
2017/04/18 16:35:52 [TRACE] Session ID: 536960494992c613
14:43
<
VITAS >
2017/04/18 16:35:52 [TRACE] CSRF Token: 2zE4dQlTpht7Erd1tb_81rWqI7Q6MTQ5MjUyMzU3ODQ2MjY1MTA3NQ==
14:43
<
VITAS >
2017/04/18 16:35:52 [TRACE] Template: user/dashboard/dashboard
14:43
<
VITAS >
2017/04/18 16:35:54 [TRACE] Session ID: 536960494992c613
14:43
<
VITAS >
2017/04/18 16:35:54 [TRACE] CSRF Token: 2zE4dQlTpht7Erd1tb_81rWqI7Q6MTQ5MjUyMzU3ODQ2MjY1MTA3NQ==
14:43
<
VITAS >
2017/04/18 16:35:54 [TRACE] Template: repo/bare
14:43
<
VITAS >
2017/04/18 16:36:20 [TRACE] SSH: Handshaking for 138.68.104.56:30408
14:43
<
VITAS >
2017/04/18 16:36:23 [TRACE] SSH: Connection from 138.68.104.56:30408 (SSH-2.0-PuTTY_Release_0.67)
14:43
<
VITAS >
2017/04/18 16:40:31 [TRACE] Doing: MirrorUpdate
14:44
<
Thomas >
Hmm, cloning works
14:44
<
VITAS >
it says your side did stop the the handshake
14:44
<
Thomas >
Maybe my sdf copy was corrupted
14:44
<
Thomas >
I have another one, lets try that
14:45
<
VITAS >
try making an empty repo and add some textfile
14:46
<
Thomas >
Yay, worked
14:46
<
VITAS >
ok so thats good
14:46
<
VITAS >
next task for me: find out how to theme /edit the theme to make it look spacedockish
14:47
<
VITAS >
and your taks is to check all functions and to make sure theyre all working
14:48
<
Thomas >
I think avatar upload for organisations is broken
14:49
<
Thomas >
VITAS: For users it is broken too
14:51
<
Thomas >
blame weird caching
14:57
<
Thomas >
VITAS: Everything seems to work
14:58
<
VITAS >
i need to come up with a startpage and ive to wait till im home. missing spacedock logo stuff on this machine
14:58
<
VITAS >
but you can use it now. All ill change is cosmetic
14:58
<
VITAS >
ill post on the forums when im finished and hopfuully someone will actualy use it for their mods :)
18:18
<
Thomas >
VITAS: Hmm, design question (fixing sdf to work with new routes, as I promised). Should one req return as much data as possible, or should the objects only return IDs and the frontend grabs the data based on the needed ids?
18:23
<
VITAS >
i think less data
18:24
<
VITAS >
its all about: can we predict that its needed?
18:28
* Thomas
adds a hook into the jsonification for backend, so he can get rid of stuff like "FollowerCount"
18:29
<
Thomas >
That way we can maybe use a mix between much data and not much data
18:29
<
Thomas >
Because it is silly to query the whole user object just for its name
18:29
<
Thomas >
(for example)
18:33
<
SpaceDock >
SpaceDock-Backend/master 45c122b Dorian Stoll: Add data transformers, to manipulate the returned data
18:36
<
SpaceDock >
SpaceDock-Backend/master 2180b1b Dorian Stoll: No need to kill the memory
18:37
<
SpaceDock >
SpaceDock-Backend/master 868be2b Dorian Stoll: Come I will show you a real pointer
18:43
<
SpaceDock >
SpaceDock-Backend/master 3b64b9a Dorian Stoll: map is always passed by reference, so we dont even need a pointer
18:44
<
SpaceDock >
SpaceDock-Extras/master 0c70d1c Dorian Stoll: Add the first data transformer
18:53
<
SpaceDock >
SpaceDock-Extras/master fd1fa33 Dorian Stoll: Fix compile errors
19:07
<
SpaceDock >
SpaceDock-Extras/master 6cf43d4 Dorian Stoll: More bugfixing, hopefully it compiles now
19:40
<
SpaceDock >
SpaceDock-Extras/master 9afda38 Dorian Stoll: Also transform non-pointer objects
19:40
<
SpaceDock >
SpaceDock-Extras/master c98985b Dorian Stoll: Try to fix browsing
19:44
pizzaoverhead_ is now known as pizzaoverhead|Away
19:49
<
SpaceDock >
SpaceDock-Extras/master 5cc4485 Dorian Stoll: More capacity checks
19:52
<
SpaceDock >
SpaceDock-Extras/master 8394a0a Dorian Stoll: Try to fix browsing
19:58
<
SpaceDock >
SpaceDock-Extras/master e7cde4f Dorian Stoll: Try to fix browsing
21:12
<
VITAS >
NathanKell i understand. But its natural to be curious.
21:27
aradapilot has joined #spacedock
22:11
pizzaoverhead|Away has quit [Quit: Leaving]
22:43
egg|afk|egg is now known as egg|zzz|egg