Commit ed61320
committed
manifest: clarify schema version check with cosmetic renames
As found in the review of zephyrproject-rtos#904 (migration from pkwalify to jsonschema),
the schema version check can be confusing.
- Add a couple sentences in MAINTAINERS.rst to clearly state what this
version check actually performs and achieves and when (not) to bump the
version.
- Rename "min_version" to "manifest_version" and swap the perspective
"min" and "max" are relative terms, ambiguous when losing track of the
point of view. "min_version" stood for
"minimum_west_version_needed_to_read_this_manifest". But this is the
manifest perspective, which is confusing when reading west code which is
the opposite point of view. A given _version_ of west code is never going
to change when reading it or running it! So, flip the perspective and
look at things from the west point of view when in the west code: rename
the also vague _SCHEMA_VER to _MAX_SUPPORTED_SCHEMA_VER.
Signed-off-by: Marc Herbert <[email protected]>1 parent ed868f7 commit ed61320
2 files changed
+16
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
151 | 156 | | |
152 | 157 | | |
153 | 158 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
616 | 616 | | |
617 | 617 | | |
618 | 618 | | |
619 | | - | |
| 619 | + | |
620 | 620 | | |
621 | 621 | | |
622 | | - | |
| 622 | + | |
623 | 623 | | |
624 | 624 | | |
625 | | - | |
626 | | - | |
627 | | - | |
628 | | - | |
629 | | - | |
| 625 | + | |
| 626 | + | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
630 | 630 | | |
631 | 631 | | |
632 | 632 | | |
| |||
0 commit comments