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

18136 Allow Script running within a Branch #18137

Closed
wants to merge 4 commits into from

Conversation

arthanson
Copy link
Collaborator

@arthanson arthanson commented Dec 2, 2024

Fixes: #18136

Adds a config parameter to NetBox for BranchingBackend that is called during script execution to get and switch the active branch. See also netboxlabs/netbox-branching#184 for changes in the branching plugin to support this.

@arthanson arthanson marked this pull request as ready for review December 2, 2024 21:39
bctiemann
bctiemann previously approved these changes Dec 2, 2024
netbox/netbox/settings.py Outdated Show resolved Hide resolved
netbox/extras/jobs.py Outdated Show resolved Hide resolved
@jeremystretch
Copy link
Member

Closing this in favor of a similar approach in PR #18212 which replaces the configuration parameter with a dynamic registration mechanism. Thanks for your work on this @arthanson!

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 12, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add branching provider to configuration
3 participants