Skip to content
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

Preserve option for up #4009

Open
jariji opened this issue Aug 29, 2024 · 1 comment
Open

Preserve option for up #4009

jariji opened this issue Aug 29, 2024 · 1 comment

Comments

@jariji
Copy link

jariji commented Aug 29, 2024

When I do up Foo@1.2.3 it sometimes doesn't do anything because it's preserving something else. I would like instead if it preserved as much as possible while still doing the upgrade I asked for. Would that be possible?

@serenity4
Copy link

serenity4 commented Nov 26, 2024

You can do up --preserve=direct Foo@1.2.3 manually, but that means you may also change versions of dependencies that didn't need to be changed, and the update is no longer minimal.

Preserving everything else by default causes some confusion, as e.g. reported in #4087.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants