Replies: 1 comment 1 reply
-
I'm afraid not. The low-level API that exists today is not suitable for session-based workflows as it leverages (abuses, maybe) database transactions to effect "branches." It's not feasible to simply graft a user interface on this as there's no feasible mechanism available to track state across multiple requests.
A solution which requires users to lock themselves into a proprietary, experimental database with an uncertain future isn't much of a solution IMO. Call me a skeptic. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I discovered the StagedChange and Branch classes
netbox/netbox/extras/models/staging.py
Line 21 in 3d94141
and realized that this is not something you can use from the interface.
Most of the job is done, we could now:
I assume it was the initial goal of adding the branches. What do you think, would it be something we should implement in Netbox as a native feature?
There was a similar project with dolthub, even if all the sources mention Nautobot (Netbox fork), we can see on the first drafts that the integration was initially meant for netbox. Some links about the project:
By the way: they are working on a "postgres-flavored" dolthub, this could be interesting but since the branch system is here I don't see a reason for it now.
Beta Was this translation helpful? Give feedback.
All reactions