Commit 3ac8f43
committed
docs: tighten lock-pinning semantics in index-config design
Replace the "branch = '' = no lock" wording in §5.1 (which contradicted
§3.3's "unlocked → resolve → write back" rule and would have preserved
today's non-determinism). Realign on:
* `mcpp.lock` always pins a concrete commit sha, even when `mcpp.toml`
has no `[indices]` section.
* Empty rev/tag/branch only means "I didn't pick explicitly", which on
first build resolves to the remote default branch's HEAD and is then
locked.
* Subsequent builds read the locked sha offline.
* `mcpp index update` / `mcpp update` are the only commands that
rewrite the locked sha; build / run / test / pack never do.
Also adds a today-vs-design comparison table to §5.1 and a stricter
flow description to §3.3.1 parent f7cbe5c commit 3ac8f43
1 file changed
Lines changed: 56 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
| 168 | + | |
175 | 169 | | |
176 | | - | |
177 | | - | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
178 | 186 | | |
179 | 187 | | |
180 | 188 | | |
| |||
222 | 230 | | |
223 | 231 | | |
224 | 232 | | |
225 | | - | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
226 | 238 | | |
227 | | - | |
| 239 | + | |
228 | 240 | | |
229 | 241 | | |
230 | 242 | | |
231 | 243 | | |
232 | 244 | | |
233 | | - | |
| 245 | + | |
234 | 246 | | |
235 | 247 | | |
236 | 248 | | |
237 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
238 | 281 | | |
239 | 282 | | |
240 | 283 | | |
| |||
0 commit comments