How-to guides
Pin a layer or use one read-only
Run a definite version of a layer, or use a layer that you must not change.
Use a layer read-only
Give its Loadout entry read-only: true:
layers:
- url: https://github.com/someone/tackOS-layer-shared
read-only: trueSync pulls and wires it as usual, but the Retro never proposes a change to it. A proposal that belongs there goes to the next writable layer after it, or to the “For you” list.
Pin a version
Give its entry a ref, written in full:
layers:
- url: https://github.com/tackOS-dev/tackOS
ref: refs/tags/v1.2.0ref |
What sync checks out | Writable |
|---|---|---|
| none | the default branch | yes |
refs/heads/<branch> |
that branch, followed | yes, unless read-only: true |
refs/tags/<tag> |
that tag | no |
| a commit SHA | that commit | no |
A tag or a SHA pins the layer, which makes it read-only, so it takes no read-only line. A Project takes only a branch ref, because Harvest pushes to it.
Run /tackOS-sync after the change. tackOS-check warns when a v* tag pin is behind the newest v* tag on the remote.