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