Locking Libraries
When working with libraries shared across multiple component projects, it's crucial to protect your logic. One way to do this is by locking the library to prevent unintended modifications and ensure consistency across projects.
As a best practice, all iNTERFACEWARE components have locked libraries. When building your own libraries, we recommend you follow this practice too.
When a library is locked:
It is set to “read-only” mode so it’s visually clear and prevents the library from being edited.
Users can modify other project files and safely push changes to the component repository without updating the library.
The gitmodules link becomes
https://
based instead ofgit@
based, enabling customers who don’t use Bitbucket to pull updates for our iNTERFACEWARE libraries.
Locking and Unlocking Libraries: