-
Notifications
You must be signed in to change notification settings - Fork 3
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
Mark command #42
base: development
Are you sure you want to change the base?
Mark command #42
Conversation
Co-authored-by: PanDoes <public@daltonlange.com>
…ependencies Co-authored-by: Badtz13 <badtzmaru139@gmail.com>
…esarry dependencies" This reverts commit 3492dfb.
Co-authored-by: PanDoes <public@daltonlange.com>
I am also not sure if you want us to be requesting to merge into the development branch or the main branch. If you want pulls to be pointed towards the development branch, please keep it up to date. |
Development branch please. |
Co-authored-by: PanDoes <public@daltonlange.com>
Implemented version pinning in the manifest, format looks like this: {
"projectID": 243121,
"fileID": 3366626,
"required": true,
"__meta": {
"name": "Quark",
"explicit": false,
"installOn": "both",
"pinned": true,
"dependencies": [
250363
]
}
}, |
Ok, but I would recommend a seperate pull request for pinning - it's not a big feature, but it's better to keep it seperate. Also, for marking, I'd rather have it implemented as
|
This reverts commit 306f298.
I can implement it like that if you want, but it seemed a bit excessive to have individual flags for each type. Essentially we would need:
And maybe eventually more? We already have discussed a --pinned / --unpinned flag, and I can see a use case where users might want to custom-mark certain mods as something else. Imagine something like a lite version of a modpack, where the pack creator might want to only export the baseline required mods. A custom marking would be nice no? To address the points you made: Maybe this is my lack of knowledge on Therapist speaking, but I assume there should be a way to allow for multiple markings in the current implementation? I think that Another third option, which might not be possible (Again, I don't yet know Therapist very well), but would be nice would be some sort of global flags that would work with other commands as well. It would be really cool if you could simply mark mods when installing them: |
I've got a friend who distributes two diffferent versions of a Fabric modpack (one with Sodium included, one with Iris) like this in his CI:
This is already possible, I don't think implementing a custom-mark command would be beneficial on top of that - duplicate functionality can be confusing.
You can set
Afaik that's not possible, but you can construct a therapist argument In my opinion, it would be best to go ahead with the specifying marking as an optional parameter ( Some more points:
|
I think the flags are a good idea to allow Therapist can do this sort of functionality like so
This seems to fit all the use cases you were both discussing with one expection, which is it doesn't allow custom marks in an intuitive way like the original pull request. Something like
It fails when you need to add or remove many mods for your different versions. An example of this would be "Life in the Village" and "Live in the Village Lite" which differ by 10 mods. While I think this is a niche use case, I would argue customtags are easy to implement and solve this problem quite well. |
Agreed. specifying
But there's still a problem with custom tags: How do you remove custom tags, if you specify them with The simple adding/removing scripts still seem a superior alternative to custom tags to me, even for adding/removing lots of mods (you can just write a shell script or put it in the ci directly). Can you think of a problem custom tags would solve that wouldn't be possible with just the existing commands? I'd be more inclined to let you implement them if such an issue came up... ;) |
Implements a mark command that allows the user to tag mods as serverside, clientside or both, with both being the default assigned value. Additionally, the command allow for manually toggling mod's 'explicit' status. For example, if you install Just Enough Resources, JEI will be installed as a dependency implicitly. However, JEI is probably a mod that the user wants to be in the pack even if they later decide to remove JER, so they can manually tag JEI as explicit.
Usage:
pax mark <modname> <markname>
Possible markname values:
The output really needs some work, but I am unsure how to extend the current echo paradigm.
Should close #41