00:43
DasSkelett[m] has quit [Quit: Idle timeout reached: 10800s]
01:12
AllisTauri[m] has quit [Quit: Idle timeout reached: 10800s]
02:48
HebaruSan[m] has quit [Quit: Idle timeout reached: 10800s]
06:43
aradapilot has quit [Ping timeout: 190 seconds]
07:21
VITAS[m] has joined #spacedock
07:21
<
VITAS[m] >
ill check
07:36
<
VITAS[m] >
Request method: POST
07:36
<
VITAS[m] >
...(truncated)
07:41
AllisTauri[m] has joined #spacedock
07:41
<
AllisTauri[m] >
Yea, last slash should not be there
09:15
<
VITAS[m] >
last call
09:16
<
AllisTauri[m] >
Mm?
09:16
* VITAS[m]
will on his way in a few mins
09:17
<
AllisTauri[m] >
Ah, I see. Good luck then!
12:17
AllisTauri[m] has quit [Quit: Idle timeout reached: 10800s]
13:30
aradapilot has joined #spacedock
13:30
aradapil_ has joined #spacedock
13:30
aradapilot has quit [Read error: Connection reset by peer]
13:35
aradapil_ has quit [Remote host closed the connection]
13:36
aradapilot has joined #spacedock
14:03
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]
15:16
<
RockyTV >
is alpha updated?
15:45
AllisTauri[m] has joined #spacedock
15:45
<
AllisTauri[m] >
yes
15:53
<
RockyTV >
my PR didn't fix unpublished mods being displayed on a profile page
15:53
HebaruSan[m] has joined #spacedock
15:53
<
HebaruSan[m] >
Yours isn't deployed yet
16:13
VITAS[m] has joined #spacedock
16:13
* VITAS[m]
found internet :D
16:13
DasSkelett[m] has joined #spacedock
16:13
<
DasSkelett[m] >
Oh then you can't be in Germany.
16:14
<
VITAS[m] >
but my club allready build something
16:34
<
AllisTauri[m] >
BTW, after all the fuss with autodeploy I started to think: why didn't we try to do it with jenkins/travis?
16:42
<
RockyTV >
gitlab CI/CD is awesome btw
16:42
<
HebaruSa- >
The /hook handler already existed
16:49
<
AllisTauri[m] >
Have you tried it again after the url fix? ^_^
16:51
<
HebaruSa- >
No, because I don't have code to simulate GitHub's secret/signature thing
16:57
<
HebaruSa- >
This looks promising though:
16:57
<
HebaruSa- >
unauthorized
16:58
<
HebaruSa- >
Aug 10 16:57:16 sd6 gunicorn[4951]: 2019-08-10 16:57:16,712 WARNING flask.app:4955 No signature provided in the request
16:58
<
HebaruSa- >
Aug 10 16:57:16 sd6 gunicorn[4951]: 2019-08-10 16:57:16,716 WARNING flask.app:4955 X-Hub-Signature didn't match the request data
16:59
<
AllisTauri[m] >
You do, actually, you wrote it yourself for signature checking =)
16:59
<
AllisTauri[m] >
Ok, I'll test it with emulated push event
18:24
<
HebaruSa- >
I'd rather test against GitHub's actual hook code rather than my attempt to mimic it
18:25
<
HebaruSa- >
Anybody got some more code changes to push to alpha? ;)
18:26
<
DasSkelett[m] >
Well, if you ask for it, I have a few small changes.
18:26
<
DasSkelett[m] >
I will do a PR so you can have a look.
18:27
<
HebaruSa- >
Yes please!
18:29
<
HebaruSa- >
If this works then I think we are ready for the first PR from alpha -> beta
18:49
<
RockyTV >
DasSkelett[m], I think it would be better if you split it into 3 commits
18:49
Daz has quit [Read error: Connection reset by peer]
18:49
<
RockyTV >
use git add -p
18:52
<
DasSkelett[m] >
Will do
18:53
HebaruSan[m] has quit [Quit: Idle timeout reached: 10800s]
18:54
<
HebaruSa- >
Too many assumptions about how CKAN works are tightly coupled into SpaceDock
18:54
<
HebaruSa- >
SpaceDock developers should not have to know which function to call in which circumstance, they should have one simple access point
18:55
<
HebaruSa- >
He wrote that :)
18:57
<
RockyTV >
regarding send_to_ckan: are you sure CKAN doesn't create a PR for you if you send the create event?
19:01
<
HebaruSa- >
There's no code to call one from the other
19:01
<
HebaruSa- >
That would be a better design along the lines of a "single access point" as I mentioned earlier though
19:05
<
RockyTV >
I meant to say if ckan itself doesn't do that already?
19:06
<
RockyTV >
I think it does that automatically
19:06
<
HebaruSa- >
No, it doesn't. The only PR creation code is in that KSP-SpaceDock/SpaceDock-Notify project.
19:06
<
HebaruSa- >
This is one of the things I'd like to clean up longer-term between CKAN and SpaceDock.
19:08
<
RockyTV >
okay so here's what's happening
19:09
<
RockyTV >
when you create or edit a mod, the backend uses send_to_ckan
19:09
<
HebaruSa- >
Yes, via the web UI. Via the API, that appears to be missing.
19:10
<
DasSkelett[m] >
And if everything works out, the API should use `send_to_ckan()` now (after merge) too.
19:13
<
RockyTV >
I don't think it's possible to enable CKAN without using the web UI
19:14
<
DasSkelett[m] >
No it isn't
19:14
VITAS[m] has quit [Quit: Idle timeout reached: 10800s]
19:15
<
HebaruSa- >
The 'ckan' value from the request flows into the mod.ckan property in the db
19:15
<
DasSkelett[m] >
Ah sorry, it isn't possible
_after_ creation
19:15
<
HebaruSa- >
Unless you just mean it's broken currently
19:15
<
DasSkelett[m] >
*edit:* ~~No it isn't~~ -> ~~No it isn't~~
19:15
<
RockyTV >
it's easy to fix it
19:15
<
DasSkelett[m] >
I misread RockyTV's comment
19:15
<
RockyTV >
I was confused
19:30
<
RockyTV >
HebaruSa-, is it okay to merge DasSkelett[m] 's pr?
19:31
<
HebaruSa- >
I think so, yes. Would you like to do the honrs?
19:34
<
HebaruSa- >
From the key lag on alpha I think something is happening!
19:34
<
HebaruSa- >
Aug 10 19:33:03 sd6 gunicorn[4951]: 2019-08-10 19:33:03,077 WARNING flask.app:4959 No signature provided in the request
19:34
<
HebaruSa- >
Aug 10 19:33:03 sd6 gunicorn[4951]: 2019-08-10 19:33:03,085 WARNING flask.app:4959 X-Hub-Signature didn't match the request data
19:34
<
HebaruSa- >
Wah wah :(
19:36
<
HebaruSa- >
VITAS, is the secret string set?
19:36
<
HebaruSa- >
I don't recall seeing confirmation of that yet
19:39
<
HebaruSa- >
I think we would only see "No signature provided in the request" if no secret was set
19:42
<
RockyTV >
is there a way to check what github is sending?
19:59
AllisTauri[m] has quit [Quit: Idle timeout reached: 10800s]
21:23
Daz has joined #spacedock
22:15
DasSkelett[m] has quit [Quit: Idle timeout reached: 10800s]
23:50
HebaruSan[m] has joined #spacedock
23:50
<
HebaruSan[m] >
Wow, my Unix friends program from 18 years ago was forwards-compatible with ipv6!
23:51
<
HebaruSan[m] >
~HebaruSan/src/spy.c on alpha if anyone cares
23:51
DasSkelett[m] has joined #spacedock
23:51
<
DasSkelett[m] >
I feel observed.
23:51
<
DasSkelett[m] >
But it has nice colors!
23:53
<
HebaruSan[m] >
That thing was SO fun to write. I just read the source for familiar command line tools and found more efficient ways of cross referencing their data
23:54
<
DasSkelett[m] >
Oh wow. this even is properly documented!