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

Feature Request: Add new hooks events for Revert operation (like post-revert) #8615

Open
mickaellcr opened this issue Feb 6, 2025 · 0 comments

Comments

@mickaellcr
Copy link

Hello,

In our current usage of LakeFS, we have several highly monitored repositories where we rely on hooks to validate dataset integrity.

  • Pre-commit hooks allow us to run quick validation steps before commits.
  • Post-merge hooks help enforce compliance with more complex rules and index datasets.

By combining protected branches with these hooks, we ensure that any commits to Main (or other protected branches) undergo strict validation.

However, we noticed that reverting a commit does not trigger any hooks—neither pre-revert nor post-revert. As a result, a user can revert a commit on a branch without any validation, making it difficult to track the real status of the repository.

Would it be possible to extend the supported events list to include a revert event? This would allow us to monitor and enforce rules on revert operations as well.

Thanks a lot!

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

No branches or pull requests

1 participant