Skip to main content
Solved

Locking a branch


DenisaViulet
Sidekick
Forum|alt.badge.img+2

Hello!

Is it possible to lock a branch? I tried to do this and the "Unlock” field is read only everywhere.

Best answer by Mark Jongeling

Hi Denisa,

Depends on what Locking a branch would imply. We do have the Active checkbox for branches. This way you can indicate if a branch is worked on or has a reason being Active.

Locking in the sense of not allowing any data mutation for that particular branch is not possible currently. That would quite the impact on the size of the Software Factory in terms of logic procedures and triggers.

From version 2023.1 we did add the option to revert a branch to a point-in-time. This could be a point in time where the branch would be considered locked. In case any changes were made to the model after that point in time, you could always revert to the correct moment.

Edit: The current "Lock” the Software Factory knows is a type of lock that prevents multiple same-typed program objects and code being generated at the same time. 

View original
Did this topic help you find an answer to your question?
This topic has been closed for replies.

3 replies

Mark Jongeling
Administrator
Forum|alt.badge.img+23
  • Administrator
  • 3946 replies
  • Answer
  • January 9, 2023

Hi Denisa,

Depends on what Locking a branch would imply. We do have the Active checkbox for branches. This way you can indicate if a branch is worked on or has a reason being Active.

Locking in the sense of not allowing any data mutation for that particular branch is not possible currently. That would quite the impact on the size of the Software Factory in terms of logic procedures and triggers.

From version 2023.1 we did add the option to revert a branch to a point-in-time. This could be a point in time where the branch would be considered locked. In case any changes were made to the model after that point in time, you could always revert to the correct moment.

Edit: The current "Lock” the Software Factory knows is a type of lock that prevents multiple same-typed program objects and code being generated at the same time. 


DenisaViulet
Sidekick
Forum|alt.badge.img+2
  • Author
  • Sidekick
  • 12 replies
  • January 9, 2023

Hello,

 

Yes, we can use the Active checkbox for what we need right now.

Thank you!


Jeroen van den Belt
Administrator
Forum|alt.badge.img+9
Mark Jongeling wrote:

..

Locking in the sense of not allowing any data mutation for that particular branch is not possible currently. That would quite the impact on the size of the Software Factory in terms of logic procedures and triggers.

...

Small update on this topic: In the 2025.1 platform version we will introduce an option to set a branch read-only per user.

For more information, please see this idea:

 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings