VITAS changed the topic of #spacedock to: Problems?: https://github.com/KSP-SpaceDock/SpaceDock/issues | Matrix/Riot Chat: https://im.52k.de +spacedock:52k.de Feel free to ask for help, we only bite a little bit! | If you want to help, please check https://github.com/KSP-SpaceDock/SpaceDock-Backend/issues/5 :) | <VITAS> inet users have the attentionspan of a squirrel...
Cheostian[m] has joined #spacedock
<Cheostian[m]> question
<Cheostian[m]> anyone using stationpartsexpansion
<Cheostian[m]> on ksp?
VITAS[m] has joined #spacedock
<VITAS[m]> nope
<VITAS[m]> if you have problems with an individual mod its always best to ask in the forums
<Cheostian[m]> are the ksp mods written in c# mostly?
<VITAS[m]> yes i think so
<Cheostian[m]> I got the issue to work, thanks
<VITAS[m]> k
Darklight[m] has joined #spacedock
<Darklight[m]> Figured out how to write statuses, working on it now (I built the tester earlier today but didn't have it hooked up to anything
<Darklight[m]> Figured out how to write statuses, working on it now (I built the tester earlier today but didn't have it hooked up to anything)
<VITAS[m]> btw what happend to this: https://pad.52k.de/p/SD-license
<VITAS[m]> are will still aiming for replacing licenses with a dropdown?
<Darklight[m]> My checker is now tracking the commits, it puts statuses on alpha and beta commits: https://github.com/KSP-SpaceDock/SpaceDock/commit/4e67b2b25324513de1d78179ac3af5d2af3e41a6
<Darklight[m]> My checker is now tracking the commits, it puts statuses on alpha and beta commits: <https://github.com/KSP-SpaceDock/SpaceDock/commit/4e67b2b25324513de1d78179ac3af5d2af3e41a6>
<Darklight[m]> Currently it's not very smart, but what it does is start from master's database, it checks that alembic can upgrade, it does an AB test and spits out those things I have been posting, and then checks that it can do an alembic downgrade
<Darklight[m]> Beta fails because it can't be downgraded, Alpha passes
<Darklight[m]> I'll rereun those tests so they are less ugly
Cheostian[m] has quit [Quit: Idle timeout reached: 10800s]
<Darklight[m]> Done
<Darklight[m]> Also keep in mind these speed results are on more limited hardware (cpu is 7400 not 7600), and I am only feeding my VM 1 gig of ram because it's only to test deploys)
<Darklight[m]> Also keep in mind these speed results are on more limited hardware (cpu is 7400 not 7600), and I am only feeding my VM 1 gig of ram because it's only to test deploys
VITAS[m] has quit [Quit: Client limit exceeded: 6]
Flart[m] has joined #spacedock
<Flart[m]> .png preview doesn't work on the main page
<Flart[m]> .png small preview doesn't work
RockyTV[m] has joined #spacedock
<RockyTV[m]> it was <span class="d-mention d-user">Tiktaalik Dreaming</span> doing it iirc
<RockyTV[m]> > btw what happend to this: https://pad.52k.de/p/SD-license
<RockyTV[m]> or <span class="d-mention d-user">KineticSloth8StoneBlue</span>
micha_uk has joined #spacedock
Flart[m] has quit [Quit: Client limit exceeded: 6]
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> <span class="d-mention d-user">Darklight</span> That's really cool! Will it run for feature branches associated with pull requests? Then we would be able to detect problems before merging to alpha.
Darklight[m] has quit [Quit: Client limit exceeded: 6]
VITAS[m] has joined #spacedock
<VITAS[m]> it is us doing it RockyTV :)
<VITAS[m]> Darklight: where can i find your sd 1a/b script? i want to know the actual commands i need to run to update the host
<micha_uk> Evening :)
<micha_uk> Anybody alive?
<micha_uk> @hebarusan - you're a bit of a ckan expert, no?
<VITAS[m]> always
<VITAS[m]> you can also ask DasSkelett
<micha_uk> Thanks.
<VITAS[m]> this irc channel is also bridged to discord and matrix if you want to wait there
<micha_uk> Might be better to raise an issue on Github though...
<VITAS[m]> if its an issue its better yes :)
<micha_uk> Well, timezones are a fickle thing.
<micha_uk> Basically need to move stuff around inside a couple of mods (user request) and wondering how that'll affect CKAN.
<VITAS[m]> they will read what youve written when they are back but create the issue anyways
<VITAS[m]> Darklight: whats "spacedock-prepare"?
<HebaruSan[m]> @micha_uk is this in regard to the Kip mod agency files?
<micha_uk> Partially, yeah.
<micha_uk> So the Kip mods' netkan files have "find" "install_to", and "filter" stanzas. Wondering whether everything will get updated automatically if I push new mods, or if I should coordinate with Netkan team?
<micha_uk> As-is I'm seriously impressed if that was all generated automatically, especially the mod suggestions!
<HebaruSan[m]> No, we maintain .netkan files manually. As far as I can tell, those mods would still install properly after the change in https://github.com/mwerle/KipLowProfileHubs/issues/3
<HebaruSan[m]> Since the goal is still to put KipEng in GameData
<micha_uk> Ok, cool. Just didn't want to break anything.
<micha_uk> Yes it is. And everything will still be under that. Just internally it's split up a bit more.
<HebaruSan[m]> There might be a small temporary problem if you rename the "Agencies" folder to "Agency", but we can address that if needed
<micha_uk> Ah, makes more sense. (manual) Although very fast and very comprehensive turnaround on those! ありがとう!
<micha_uk> No, Agencies will remain unchanged.
<micha_uk> Just the locations of the parts and version files will change.
<HebaruSan[m]> BTW CKAN has its own Discord, in future might be better to leave these SpaceDock folks to talk about server problems and such 😉
<micha_uk> Well, I was hanging out in #ckan as well, but nobody seems to be active there much :) And yes, noted.
<micha_uk> (Would be nice if GitHub had a built-in chat server..)
<HebaruSan[m]> I guess there's always "Gitter"
<micha_uk> Ok, found Discord...
<micha_uk> @vitas : is spacedock on Discord as well?
<HebaruSan[m]> SpaceDock has a discord, but it's just a synched-up version of this same channel
<HebaruSan[m]> (That's where I'm typing this right now)
<micha_uk> Thanks for the help guys :) Will push the changes.
RockyTV[m] has quit [Quit: Client limit exceeded: 6]
VITAS[m] has quit [Quit: Client limit exceeded: 6]
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> Urgh, we don't allow uploading thumbnail images with `.jpeg`, only with `.jpg` (or `.png`).
HebaruSan[m] has quit [Quit: Client limit exceeded: 6]
VITAS[m] has joined #spacedock
micha_uk has quit [Read error: Connection reset by peer]
<VITAS[m]> what else do i need to do apart from getting master from githuib and restarting the services?
<DasSkelett[m]> Didn't we have that pad there?
<VITAS[m]> yes
<VITAS[m]> Possibly edit /etc/systemd/system/spacedock.target since it isn't symlinked <-?
<VITAS[m]> is jsut reloading after the update safe?
<VITAS[m]> isnt it better to stop the services then update the files and then start?
<VITAS[m]> yes
<DasSkelett[m]> I think spacedock-notify is still part of spacedock.target in prod., which isn't needed anymore. Otherwise there shouldn't be any changes in that file. The others hopefully get updated automatically, since they are symlinked, but they'll still need a `daemon-reload`, for the celery beat change.
<VITAS[m]> i made ansible out of it now
<VITAS[m]> i could do target
<VITAS[m]> any idea what spacedock-prepare is for?
<DasSkelett[m]> It runs `prepare.sh`
<VITAS[m]> uhm
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> That compiles all the frontend stuff, doesn't it?
<HebaruSan[m]> Like turning the coffee files into js?
<DasSkelett[m]> Yes, and installs all Python dependencies too.
<VITAS[m]> why is it a service?
<VITAS[m]> doesnt it need to run only once?
<DasSkelett[m]> Because <span class="d-mention d-user">Darklight</span> , I'd say
<VITAS[m]> k
<DasSkelett[m]> systemd support one-off units
<VITAS[m]> so he does with systemd what i do with ansible
<VITAS[m]> :D
<HebaruSan[m]> Probably so it can be pulled in as a dependency?
<DasSkelett[m]> Yes
<VITAS[m]> and another bash linked :)
<VITAS[m]> so i just run it after i updated the files and before starting the services?
<DasSkelett[m]> Uhm, if you start the services via `spacedock.target`, it would be executed automatically.
<DasSkelett[m]> But yes, it should be done after the new code is pulled.
<VITAS[m]> ok
HebaruSan[m] has quit [Quit: Client limit exceeded: 6]
<VITAS[m]> FAILED! => {"changed": false, "msg": "Could not find the requested service spacedock.traget: host"}
<VITAS[m]> what am i doing wrong?
DasSkelett[m] has quit [Quit: Client limit exceeded: 6]
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> "traget" maybe?
<VITAS[m]> 1. stop processes (sudo systemctl stop spacedock.target)
<HebaruSan[m]> You spelled it wrong
<HebaruSan[m]> a/r r/a
<VITAS[m]> ur right
<VITAS[m]> now implement some tests if its actualy working
<VITAS[m]> and then switch back forth between "staging/spare" and "live"
<HebaruSan[m]> You can put mods for multiple games in one modlist
<HebaruSan[m]> I guess maybe there could be valid uses of that?
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> If someone makes a mod that automatically continues your flight in KSP if you fly your plane high enough in Balsa 😛
<VITAS[m]> lol
<VITAS[m]> IF non steam mods are possible in balsa parts mods might be multigame?
<HebaruSan[m]> I was thinking, to get the intended experience of this modpack in KSP1, install these mods, in KSP2, install these other mods
<HebaruSan[m]> Of course the user has no idea which are which
<DasSkelett[m]> Yaah I think it would be more user-friendly if the modpack creator would do separate "... for KSP1" and "... for KSP2" modpacks.
<HebaruSan[m]> Also the listing lies and calls all games "KSP"
<VITAS[m]> datacenter just informed me : maintenence of storage 30th 8-16h cet
<VITAS[m]> we could do our next update of prod in that time frame
<VITAS[m]> too
<HebaruSan[m]> Awesome
<VITAS[m]> yes quite a long timespan
<VITAS[m]> i dont know why they have downtimes at all with all their moving things arround
DasSkelett[m] has quit [Quit: Client limit exceeded: 6]
<VITAS[m]> ive a problem: the websitwe wont run propperly and cant be tested if there are db updates
<VITAS[m]> but the version still beeing served uses the old db version untill i switch it over
<VITAS[m]> :/
HebaruSan[m] has quit [Quit: Client limit exceeded: 6]
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> Yeah, code version has to match db version
Darklight[m] has joined #spacedock
<Darklight[m]> Lots of activity again :O
<Darklight[m]> VITAS: For sd1a/b I may have dm'd you a while ago but never converted it to run from a single place
DasSkelett[m] has quit [Client Quit]
<Darklight[m]> Hebarusan: It only tracks alpha and beta currently, but it should be fairly easy for me to extend it to PR's
<Darklight[m]> VITAS you need an "alembic upgrade head" and make sure its return code is zero, or back out of the update
<VITAS[m]> problem is: if i update the code on one host and want to test if that went smoothly i would have to update the db
<VITAS[m]> but i cant because its in use by the live host
<VITAS[m]> only way i see is to have a dummy db i can point to for testing
<Darklight[m]> I have my checker set up so it does a test deployment from the database format of master
<VITAS[m]> btw thats the current state of the task file in ansible:
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> Whoever designed the way that kitchen sink drains attach to the sink is a total idiot
<HebaruSan[m]> Let's require an extreme amount of force to be applied to a nut that's too big to grip with normal tools, and have it move against something that isn't solidly attached to anything else
<HebaruSan[m]> WCGW
<VITAS[m]> ive special tools for that
<HebaruSan[m]> The top part could have been hexagon shaped and fit into a hexagonal socket in the sink, problem solved
<HebaruSan[m]> In better news, mod packs already store which game they're for, so all I have to do is filter the mods properly
<VITAS[m]> sounds like a kickstarter campaign coming up :)
<HebaruSan[m]> Yeah I wonder how much money I would need to raise to totally change the practices of a century+ old industry with thousands of companies and millions of employees worldwide
<HebaruSan[m]> Couldn't be that much right?
<VITAS[m]> start small
<VITAS[m]> shopping tv
<HebaruSan[m]> I would have to hire a whole team of phone answerers just to explain to people why my parts don't fit the older sinks and vice versa
<HebaruSan[m]> Should there be a yes/no confirmation for deleting a modpack?
<HebaruSan[m]> Because currently there isn't.
<HebaruSan[m]> It just goes.
<VITAS[m]> yes there should be
<VITAS[m]> whats your job? i phone people to convince them of my bosses view of the world
<VITAS[m]> :D
Darklight[m] has quit [Quit: Client limit exceeded: 6]
DasSkelett[m] has joined #spacedock
<DasSkelett[m]> @VITAS you got a job again?
<DasSkelett[m]> Also that sounds like you got hired by Scientology or something 😛
HebaruSan[m] has quit [Quit: Client limit exceeded: 6]
VITAS[m] has quit [Quit: Client limit exceeded: 6]
DasSkelett[m] has quit [Quit: Client limit exceeded: 6]
KineticSloth8StoneBlue[m has joined #spacedock
<KineticSloth8StoneBlue[m> lol
<KineticSloth8StoneBlue[m> hey, so what was the consensus on "continued" mod listings with questionable licensing?
<KineticSloth8StoneBlue[m> this is the one i found:
Darklight[m] has joined #spacedock
<Darklight[m]> I think that's a CKAN issue more than a spacedock one
<Darklight[m]> Unless you're trying to collate a list of licences which is going to be annoying
KineticSloth8StoneBlue[m has quit [Quit: Client limit exceeded: 6]
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> That one was authorized by the original author fwiw:
KineticSloth8StoneBlue[m has joined #spacedock
<KineticSloth8StoneBlue[m> ahh.. OK 😉
<KineticSloth8StoneBlue[m> No mention on the thread, that permission was granted by original owner
Darklight[m] has quit [Quit: Client limit exceeded: 6]
<HebaruSan[m]> I must be missing something simple and obvious, but I have no idea what it is
<HebaruSan[m]> I have an `alert` statement right before it in code, so I know for sure it's running
DasSkelett[m]1 has joined #spacedock
<DasSkelett[m]1> I made the experience that jQuery doesn't return the same objects as `getElementBy*`, but some special jQuery objects that have special methods you need to call.
<HebaruSan[m]> Oh!!!
<HebaruSan[m]> Yes, surely
KineticSloth8StoneBlue[m has quit [Quit: Client limit exceeded: 6]
<DasSkelett[m]1> Try `$("#add-mod-button").setAttribute('disabled', '')`, that's what I did for the password change modal to deactivate the buttons.
<DasSkelett[m]1> Oh wait, I got them by `getElementsByClassName`, not jQuery.
HebaruSan[m] has quit [Quit: Client limit exceeded: 6]
<DasSkelett[m]1> Looks like SO recommends `.prop("disabled",true)`
HebaruSan[m] has joined #spacedock
<HebaruSan[m]> Works!
DasSkelett[m]1 has quit [Quit: Client limit exceeded: 6]
HebaruSan[m] has quit [Quit: Client limit exceeded: 6]
uovo has joined #spacedock
oeuf has quit [Ping timeout: 204 seconds]