Now that I'm playing a custom modpack I realize how inefficient is the process of making a modpack patch, with an average of 70+ or 130+ mods, tackling down each and every entry in the WIP\Release for Mods subforum is time consuming.
Thus I'm wondering... why not building a repository for each (unzipped format) mod patch? So that when a modpack patch is needed you just need to click a couple of buttons to merge a given set into a new repository were all the patches coexist, furthermore when a mod patch is modified, the corresponding merged repo for the modpack can be rebuilt in a second. Having such structured organization can also make resizing existing texture damn easy with a couple of command line scripts (of course _only_ scaling down resolution to not loose quality):
- git pull
- imagemagick -resample\resize what fits best
- git commit
- git push
- git merge if needed
aaand mod patches are 5 commands away for every damn resolution and every damn modpack on earth.
I understand that I'm new in the field so does this sounds like something doable and does it have sense for you guys out there that have been doing mod\modpack patches for years before me?
Assuming it has sense doing it a preliminary workflow could be as such:
- Create an organization profile on github so that all mods\modspack repos are child of it
- Create a repo for every single mod patch out there with branches for different resolution *see later suggestion* (easy but damn boring I know)
- Create a repo for every modpack as a merge request from every mod patch needed
- Use built-in github repo download as zip to publish on the forum the ready to go and use package
Every patch comes in multiple resolution, my suggestion to optimize the described workflow is to have repos _only_ for the highest resolution version available of the patch and then resize it down to the different standards only when "compiling" the final zip archive using imagemagick batch command. This way however we will have a scaled version from the image itself and not the vector shape IMHO the quality difference of scaling the vector instead of scaling the image isn't a big deal.
Feedback of course is welcome but please be constructive.
Meanwhile I thought that all of this could also be done server-side without having to download\modify\upload.