Commit eccc6dc
authored
openkal-musl 0.3.1: name the implementation by version, because a published package must (#3)
The manifest named the implementation of openkal for each system by a path. That
is right in a working tree that has the three repositories side by side, and it
is wrong in a package: a path names a directory that exists where the manifest
was written and nowhere else, so a consumer resolving this package from the index
was handed a dependency pointing at nothing --- reported as "path dependency
'openkal-linux' has no mcpp.toml", inside the registry's own store.
It is named by version now, with the feature travelling beside it, because a
program above this library carries no other runtime and that is what the feature
states.
The defect was found by resolving the package the way a stranger would, from a
store with no local copy of it. That check exists for exactly this: a working
tree masks every mistake in a manifest's dependencies, because the tree is what
the manifest was written against.
tools/working-trees.sh rewrites the implementation reference as well as the
specification's, so that continuous integration goes on asserting what it is for
--- that these sources and that implementation as written today work together ---
while the published manifest says what a published manifest must.1 parent e0ec7d2 commit eccc6dc
3 files changed
Lines changed: 18 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
72 | 85 | | |
0 commit comments