Skip to content

Do not update .changes file during dry-run #5144

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

Merged
merged 4 commits into from
May 17, 2022
Merged

Conversation

na4zagin3
Copy link
Contributor

@na4zagin3 na4zagin3 commented May 14, 2022

This PR fixes the main bug reported at #5132 by preventing .changes files from being updated during dry-run.

This PR also introduces a new trace log to ACTION section to make easy to investigate the issue reported at #4419, which may be the same as the second problem reported at #5132.

ToDo:

  • Please update master_changes.md file with your changes.

na4zagin3 added a commit to na4zagin3/opam that referenced this pull request May 14, 2022
na4zagin3 added a commit to na4zagin3/opam that referenced this pull request May 14, 2022
na4zagin3 added a commit to na4zagin3/opam that referenced this pull request May 14, 2022
@rjbou rjbou self-requested a review May 16, 2022 07:11
@rjbou rjbou added this to the 2.2.0~alpha milestone May 16, 2022
Copy link
Collaborator

@rjbou rjbou left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for digging and the PR!
All good for me, just some additional tests. I'll update the PR with them

@rjbou rjbou merged commit 6bafda9 into ocaml:master May 17, 2022
@na4zagin3
Copy link
Contributor Author

Thank you for updating and merging this!

Leonidas-from-XIV pushed a commit to Leonidas-from-XIV/opam that referenced this pull request Mar 10, 2023
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

Successfully merging this pull request may close these issues.

install --dry-run accidentally updates .opam-switch/install/<pkg-name>.changes
2 participants