<Thomas>
Better than in the last weeks.. holidays \o/
<Thomas>
That means I will probably find the time to finish the rewrite
<VITAS>
wow
<VITAS>
btw do you have any other hobbys besides computer?
<Thomas>
reading and in summer / spring biking around
<Thomas>
VITAS: And why wow? ^^
<VITAS>
"finish" is a big word :D
<Thomas>
Yeah, well, finish the core parts of it :P
<VITAS>
ok that sounds more like i imagined the outcome
<VITAS>
:>
<Thomas>
plugins are still on the todo list
<VITAS>
and you can always say: "i cant finish that so it will be a plugin and not core" :P
<Thomas>
Yes
<Thomas>
But.. I dont think I will move the mods api to a plugin :P
<VITAS>
you should move the plugin function into a plugin ;)
<Thomas>
the plugin functionality is a build script that copies a .txt file into the main go file :P
<VITAS>
so you have to compile it with the main program?
<Thomas>
yeah, go doesnt support loading stuff at runtime, so I would either need to embed some scripting language, or I just add the plugins at compile time
<VITAS>
i usualy do something like: look into plugin folder for folders. parse folders and include init class with future pointers
<Thomas>
the txt approach is nice because go will do all the fetching for you
<VITAS>
hmm in that case you should at least write somethign that detects if theres a new plugin and if so recompile using it and restart or something
<VITAS>
like a bash script or some go script on its own
<Thomas>
Yeah, I can do that
<Thomas>
Could be done with webhooks
<VITAS>
adding and removing plugins shouldnt requre complicated things on the admins side
<VITAS>
and is there a packet manager for go?
<VITAS>
like cpan,composer,...
<VITAS>
if so just use that to add remove plugins
<Thomas>
there is go get, which is what I am using
<Thomas>
The plugins system just adds dependencies into the main file. go get is run on that file, which downloads the required stuff
<VITAS>
isnt there something like search?
<Thomas>
There is stuff that works like composer, but I wasnt able to get that working
<VITAS>
you could have those plugins in repos and just search and select those you want
<Thomas>
That can be done with a script
<VITAS>
sounds to me like th ebetter approach because someone else does the dev
Olympic1 has quit [Ping timeout: 383 seconds]
Alanonzander has joined #spacedock
Alanonzander has quit [Client Quit]
Alanonzander has joined #spacedock
gk_1wm_su has joined #spacedock
gk_1wm_su has left #spacedock [#spacedock]
<SpaceDock>
[SpaceDock-Backend] StollD pushed 2 new commits to go: https://git.io/vS6Sz
<SpaceDock>
SpaceDock-Backend/go 1e6e956 Dorian Stoll: Add the remaining email functions
<SpaceDock>
SpaceDock-Backend/go c691e39 Dorian Stoll: Almost done with the mod routes
Olympic1 has joined #spacedock
<Olympic1>
Thomas: Could it be possible to add a min version and max version to mods? Because now mods only have 1 compatible version and having multiple compatible versions would be usefull
<Thomas>
Olympic1: Should be possible. Can you add an issue on the SpaceDock-Backend repository, so I dont forget?
<Olympic1>
ok
<SpaceDock>
[SpaceDock-Backend] Olympic1 opened issue #22: Multiple compatible versions https://git.io/vS6QC
<SpaceDock>
[SpaceDock-Backend] StollD pushed 1 new commit to go: https://git.io/vS6Fi