juraj-hrivnak / Pakku

A multiplatform modpack manager for Minecraft: Java Edition. Create modpacks for CurseForge, Modrinth or both simultaneously.
https://juraj-hrivnak.github.io/Pakku/
European Union Public License 1.2
16 stars 3 forks source link

Force override dependencies #12

Closed ZotyDev closed 1 month ago

ZotyDev commented 1 month ago

There are some mods that depend on others, and when you do pakku add <slug> it will add the depencies too, thing is, sometimes the mod you are adding has an dependency on an old or deprecated mod that got updated, my example dramatic-trees is the new dynamic-trees for 1.12.2 (fork) and when I add the addons for it, lets say Quark Dynamic Trees, it adds dynamic-trees as a dependency and installs it.

Currently, I need to manually change the dependency ID and remove the wrongly added project, but running pakku upade --all will revert the changes.

Please make a way to prevent the manual changes to roll back, or better yet, provide a pakku add <slug> --override_dependency <old dependency slug>:<new dependency slug>.

Thanks for your work! Pakku is a great tool :D

juraj-hrivnak commented 1 month ago

Hello, I am thinking of —no-deps flag. Overriding a dependency seems too verbose.

juraj-hrivnak commented 1 month ago

It would also be nice to show dependencies of the project before adding it, and be able to turn them off individually somehow.

juraj-hrivnak commented 1 month ago

--no-deps flag added in v0.9.0