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

Prevent making changes when conflicts in an update are rejected #712

Merged

Conversation

spyrkob
Copy link
Collaborator

@spyrkob spyrkob commented Jul 3, 2024

The conflicts are resolved too early resulting in the changes being written even if the update has been rejected.

To reproduce:

  1. Install wildfly
  2. Prepare candidate update
  3. Force a conflict (e.g. modify module.xml in one of updated modules)
  4. Run update apply and reject update after the conflicts are displayed

The module.xml will be updated (and module.xml.glold will be created)

@spyrkob spyrkob force-pushed the fix_changes_when_update_rejected branch 2 times, most recently from 6fed26a to 9210c74 Compare July 4, 2024 13:46
@spyrkob spyrkob force-pushed the fix_changes_when_update_rejected branch from 9210c74 to a756784 Compare July 4, 2024 14:28
@spyrkob spyrkob merged commit 202e156 into wildfly-extras:main Jul 5, 2024
7 checks passed
@spyrkob spyrkob deleted the fix_changes_when_update_rejected branch July 5, 2024 08:09
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.

1 participant