Suggestions for improving the handling of local mods
I remember talking about this a bit in the Matrix room, but I thought I should make an issue here to get all the ideas into one place.
Handling local mods with Portmod is fairly easy, but not nearly as easy as just installing a mod from the repositories. Unfortunately, local mods are a fact of life because there are so many mods it's impossible to get them all into the repositories. I still think the workflow could be improved.
For one, improving importmod to be more end user friendly would be helpful. Instead of the current workflow of
- Download mod
- Move mod to
pkg/localand extract - Figure out which plugins and optional files you want
portmod <prefix> merge --sort
The workflow could be something like
- Point
importmodto a URL -
importmodcould possibly parse the files list to find optional files and then maybe come up with flag names? - Have an interactive interface where
importmodasks you which options you want - Those options get added to
package.use
These are by no means finalized ideas, and I'm not even sure how feasible they are, but I just wanted to brainstorm.