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 a branch from being merged until all of its conflicts have been addressed #3

Closed
jeremystretch opened this issue Jul 19, 2024 · 0 comments
Assignees
Labels
type: feature A new feature or functionality

Comments

@jeremystretch
Copy link
Contributor

Plugin Version

v0.2.0

Proposed functionality

Do not permit a branch to be merged until all of its conflicts have been resolved or acknowledged. A conflict is defined here as an object which has been modified in both the main and branch schemas with conflicting attributes.

For example, suppose Site A's description is changed from an empty string to two different values in the primary and branch schemas. Merging the branch in this scenario would effect data loss, as the value defined in the primary schema will be overwritten.

The user should be alerted to each such conflict and prompted to take one of three actions:

  1. Keep the current value (ignoring the change within the branch)
  2. Disregard the conflict (which may be expected) and apply the change
  3. Abort the application of the branch

Use case

This will mitigate unintentional data loss while still preserving an optional path forward in the event such loss is deemed acceptable by the user.

External dependencies

No response

@jeremystretch jeremystretch added the type: feature A new feature or functionality label Jul 19, 2024
@jeremystretch jeremystretch self-assigned this Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature A new feature or functionality
Projects
None yet
Development

No branches or pull requests

2 participants