Commit afd930d
committed
drop abilitly to parse werk v3
this branch should not be able to parse v3 werks. with the previous
implementation it was possible to create a v3 werk, specify the v2
edition enumeration and still the validation would not complain.
the new implementation only allows parsing v3 werks when picking a werk
v3 werk.
this fix was verified by:
1) picking it on top of a8003a4
and executing `./scripts/run-uvenv python -m cmk.werks.validate`
which then shows "cmk.werks.error.WerkError: Markdown formatted werks
need to start with header: '[//]: # (werk v2)\n'"
this makes sure that the change validation of said commit would have
failed.
2) reverting commit `a8003a4ce195c9dd3efe8863b803b1a462d01328` and
executing `werk pick 8687b20` (the
same commit on the master branch) to make sure picking werks from
master still works, and the edition and werk version is adapted
correctly.
CMK-31445
Change-Id: I60dd37e6040eba45a70b9a2d3a7211709e083f221 parent 72c0318 commit afd930d
3 files changed
+14
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 10 | + | |
17 | 11 | | |
18 | 12 | | |
19 | | - | |
| 13 | + | |
20 | 14 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 15 | + | |
24 | 16 | | |
25 | 17 | | |
26 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
478 | 478 | | |
479 | 479 | | |
480 | 480 | | |
481 | | - | |
| 481 | + | |
482 | 482 | | |
483 | | - | |
484 | | - | |
485 | | - | |
486 | | - | |
487 | 483 | | |
488 | | - | |
489 | | - | |
490 | | - | |
| 484 | + | |
| 485 | + | |
491 | 486 | | |
492 | 487 | | |
493 | | - | |
494 | | - | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
495 | 491 | | |
496 | 492 | | |
497 | | - | |
498 | | - | |
| 493 | + | |
| 494 | + | |
499 | 495 | | |
500 | 496 | | |
501 | 497 | | |
| |||
1038 | 1034 | | |
1039 | 1035 | | |
1040 | 1036 | | |
1041 | | - | |
| 1037 | + | |
1042 | 1038 | | |
1043 | 1039 | | |
1044 | 1040 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
| |||
0 commit comments