-
Notifications
You must be signed in to change notification settings - Fork 332
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[RFC] Automatic pack assembly #9142
Comments
from what I understand there are next stages:
|
|
|
Would want some kind of listings like:
Which would live in main repo. |
|
From what was discussed on discord we would want to write it in some higher level language, and since many people know python and there are handy libs which would integrate with github it is probably a language of choice for pack assembler script. |
From CI perspective to make a github release it needs all artifacts we want to release on github in one folder. We should probably do it on tags or as manual job invocation (here version will be provided as input from user or even better - automatically incremented). |
I'd choose a gradle script (Goovy or Kotlin) script to be entirely part of a Jenkins or other CI task. |
If I would do it I would definitely go with Kotlin |
not groovy please, got a PTSD because of it in buildscripts |
More of a long term goal: Have integration with Solder (what we use for Technic). I don't know what their API allows (in the worst case we would need to modify solder, which I don't know how easy it would be either) |
Also if you need any special environment - CI can run in a docker container, you can even construct and use an image of your own, here is example of a repo which builds and hosts docker image: https://github.com/TheElan/minecraft-1.7.10-ci-docker-image and here is example of how to add it to CI: SinTh0r4s/ExampleMod1.7.10#47 |
Here is a way to download artifacts from latest release on GH: https://blog.markvincze.com/download-artifacts-from-a-latest-github-release-in-sh-and-powershell/ |
ok first big issue: solder only accepts get requests on its endpoints: https://docs.solder.io/docs So i suggest in short term to make all the mods prepacked, so Dream just needs to upload them on solder, and maybe, in the very long term, to modify solder, but it's PHP coded. The zips for solder must follow this convention: https://docs.solder.io/docs/adding-mods-to-the-mod-library |
Does GTNH run a "solder server" or similar? So we don't actually upload to technic's servers? |
That's how it works, you can't use Technic servers |
yeah, Namikon set up one long time ago. |
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 3 days |
Your Proposal
Pack should be assembled automatically.
Your Goal
Avoid wasting time and making mistakes.
Your Vision
Do it as a CI job which publishes zips/uploads file to servers.
The text was updated successfully, but these errors were encountered: