recently I was trying out the pkgmeta feature and of course I had some issues with it at the beginning. Which usually resulted in some trial and error versions of my addon. I'm probably not the only developer who had such issues.
So my question is: Is there actually a possibillity to execute the building process locally? Like some script or tool? (Heck, I would even take a docker container.) For reference I have something like composer (for php) in mind.
I mean, curseforge has to run something for that feature. Is it maybe possible to publish that? (Maybe even as open source? please? =^.^=)
We don't have anything that we'd release to the public, but the method that most people have used for the past 10 years is to let the project build Alpha files - those have to be opted-in to install on the App, so only users who know what they are doing and expect breakage (hopefully) will encounter issues. You can then check the Alpha file to see if everything was correctly built and make a Release file if so.
It might be just my personal guideline, but I'm committed not to publish untested or half-finished code. This is a birthplace for unnecessary errors and every error I make is a disgrace to me as developer. It might sound harsh, but that's my personal belief to become a better dev.
Also this practice seems quite a hazzle. Usually I have my working copy inside the addon folder. So I can make changes, /reload and see those changes. For every Alpha-Build, I would like to test, I'd have to move the current working copy and install the build as a new addon every time. That is really your method of choice or am I missing something? I mean not to disrespect, but after 10 years might exist some new ways to improve here. ;)
Well, at least I'm not happy with that. So I hope you don't mind, if I create my own skript/whatever, which mimiks some features of the PackageMeta.