modrinth / code

The Modrinth monorepo containing all code which powers Modrinth!
https://modrinth.com
Other
929 stars 175 forks source link

Delta-import (Update from .mrpack file) #362

Open Aeases opened 1 year ago

Aeases commented 1 year ago

Is your suggested enhancement related to a problem? Please describe.

When testing out modrinth packs with the modrinth launcher (that are made through packwiz) I end up with a bunch of mrpack files.

Describe the solution you'd like

A way to "Delta-import", using a current Instance as a base and upload a new .mrpack file over that, theseus should then work out the differences and also re-apply any overrides & delete anything that wouldn't be there if it weren't a brand new install. (anything not defined in the .mrpack)


a seperate update from mrpack could be good also to apply the same thing as updating a modpack from the website for people who are just playing with friends and sharing zip files for updates.

Theseus CLI

It would be nice to have it in the cli too for use in scripts e.g. theseus-cli profile delta Manticore ~/Dev/manticore/builds/manticore-0.0.2.mrpack

maybe as an option to an update keyword in theseus-cli instead theseus-cli profile update Manticore --delta ~/Dev/manticore/builds/manticore-0.0.2.mrpack

Describe alternatives you've considered

Additional context

No response

helleputter commented 10 months ago

I would really like for this to be added!

When creating or editing a modpack you're making with packwiz. I end up with a lot of instances that are then difficult to differentiate from each other if you don't change the name or delete them before adding the new .mrpack test.

I like the proposed addition to the CLI as well, as this could either be used for friends that would otherwise need more guidance or in CI environment.