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

Custom Merge Hooks #7682

Open
timsehn opened this issue Apr 2, 2024 · 0 comments
Open

Custom Merge Hooks #7682

timsehn opened this issue Apr 2, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request merge Issues relating to merge version control

Comments

@timsehn
Copy link
Sponsor Contributor

timsehn commented Apr 2, 2024

A user thought it would be cool to be able to define custom stored procedures that trigger on different merge stages.

Custom stored procedures could be run at various stages of the merge like:

  1. dolt_one_merge()
  2. dolt_conflict_detected()
  3. dolt_schema_conflict_detected()
  4. dolt_data_conflict_detected()
  5. dolt_conflict_resolved()
  6. dolt_schema_conflict_resolved()
  7. dolt_data_conflict_resolved()
  8. dolt_merge_committed()
  9. dolt_merge_aborted()

If a user defines logic in these procedures, that logic would be executed at the appropriate stage.

@timsehn timsehn added enhancement New feature or request merge Issues relating to merge version control labels Apr 2, 2024
@nicktobey nicktobey self-assigned this Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request merge Issues relating to merge version control
Projects
None yet
Development

No branches or pull requests

2 participants