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

Support global hooks #595

Open
banto6 opened this issue Nov 30, 2024 · 1 comment
Open

Support global hooks #595

banto6 opened this issue Nov 30, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@banto6
Copy link

banto6 commented Nov 30, 2024

Note: if you have a question or want discussion please post in the discussions area.

Is your feature request related to a problem? Please describe.

Currently, implementing the same notification method for each repository or plan can only be configured individually within the corresponding plan or repository.

Describe the solution you'd like

Add the functionality to maintain global Hooks, and then reference the corresponding global Hooks in plans or repositories.

Additional context

@banto6 banto6 added the enhancement New feature or request label Nov 30, 2024
@garethgeorge
Copy link
Owner

garethgeorge commented Dec 23, 2024

The are architectural reasons that this probably isn't something that makes sense for backrest -- though I do agree that backrest needs a good way to share configuration between repos.

I think some sort of templating framework would be a good UI feature and is the most likely solution to this problem, though unsure when I'll budget time for it as it introduces significant UI complexity. In the meantime, editing the config.json and directly copying hooks between repos can be a pretty good way to quickly configure repos in bulk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants