Commit f8a1093
Spec parsing: Add revision history, update revision checker (project-chip#42755)
* Spec parsing: Add revision history, update revision checker
Add revison parsing to the spec parsing data, updates the
revision checker script to do a diff of the provisional status
and add revision history.
The revision checker had a lot of repeated info for provisional
markings, and things were getting lost in the data. It's also hard
to understand what happened with some clusters if there are revision
changes without any corresponding visible data model changes so
added those to the printouts.
* Update src/python_testing/matter_testing_infrastructure/matter/testing/spec_parsing.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update src/python_testing/matter_testing_infrastructure/matter/testing/spec_parsing.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update scripts/spec_xml/spec_revision_diff_summary.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update scripts/spec_xml/spec_revision_diff_summary.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update scripts/spec_xml/spec_revision_diff_summary.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* Update scripts/spec_xml/spec_revision_diff_summary.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
* More verbose string on device type clusters
* linter + fix stray line break
* linter
* mypy
* Add revision desc to unit test
* Apply suggestions from code review
Co-authored-by: Arya Hassanli <31996976+AryaHassanli@users.noreply.github.com>
* review comments
* Remove unused import
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Co-authored-by: Arya Hassanli <31996976+AryaHassanli@users.noreply.github.com>1 parent f9a032e commit f8a1093
3 files changed
Lines changed: 126 additions & 37 deletions
File tree
- scripts/spec_xml
- src/python_testing
- matter_testing_infrastructure/matter/testing
- test_testing
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
82 | 87 | | |
83 | 88 | | |
84 | 89 | | |
| |||
110 | 115 | | |
111 | 116 | | |
112 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
113 | 123 | | |
114 | 124 | | |
115 | 125 | | |
| |||
119 | 129 | | |
120 | 130 | | |
121 | 131 | | |
122 | | - | |
| 132 | + | |
123 | 133 | | |
124 | 134 | | |
125 | | - | |
126 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
127 | 138 | | |
128 | | - | |
129 | | - | |
130 | | - | |
| 139 | + | |
| 140 | + | |
131 | 141 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
138 | 169 | | |
139 | 170 | | |
140 | 171 | | |
141 | 172 | | |
142 | | - | |
| 173 | + | |
| 174 | + | |
143 | 175 | | |
144 | | - | |
| 176 | + | |
145 | 177 | | |
146 | | - | |
| 178 | + | |
147 | 179 | | |
148 | | - | |
| 180 | + | |
149 | 181 | | |
150 | | - | |
| 182 | + | |
151 | 183 | | |
152 | | - | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
153 | 190 | | |
154 | 191 | | |
155 | 192 | | |
| |||
172 | 209 | | |
173 | 210 | | |
174 | 211 | | |
175 | | - | |
| 212 | + | |
| 213 | + | |
176 | 214 | | |
177 | 215 | | |
178 | 216 | | |
| |||
181 | 219 | | |
182 | 220 | | |
183 | 221 | | |
184 | | - | |
| 222 | + | |
| 223 | + | |
185 | 224 | | |
186 | 225 | | |
187 | 226 | | |
| |||
Lines changed: 61 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
30 | | - | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
177 | 178 | | |
178 | 179 | | |
179 | 180 | | |
| 181 | + | |
180 | 182 | | |
181 | 183 | | |
182 | 184 | | |
| |||
190 | 192 | | |
191 | 193 | | |
192 | 194 | | |
193 | | - | |
194 | | - | |
195 | | - | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
196 | 219 | | |
197 | 220 | | |
198 | | - | |
| 221 | + | |
199 | 222 | | |
200 | 223 | | |
201 | 224 | | |
| |||
232 | 255 | | |
233 | 256 | | |
234 | 257 | | |
| 258 | + | |
235 | 259 | | |
236 | 260 | | |
237 | 261 | | |
| |||
294 | 318 | | |
295 | 319 | | |
296 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
297 | 325 | | |
298 | 326 | | |
299 | 327 | | |
| |||
314 | 342 | | |
315 | 343 | | |
316 | 344 | | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
317 | 361 | | |
318 | 362 | | |
319 | 363 | | |
| |||
354 | 398 | | |
355 | 399 | | |
356 | 400 | | |
| 401 | + | |
| 402 | + | |
| 403 | + | |
357 | 404 | | |
358 | 405 | | |
359 | 406 | | |
| |||
833 | 880 | | |
834 | 881 | | |
835 | 882 | | |
836 | | - | |
| 883 | + | |
| 884 | + | |
837 | 885 | | |
838 | 886 | | |
839 | 887 | | |
| |||
1109 | 1157 | | |
1110 | 1158 | | |
1111 | 1159 | | |
1112 | | - | |
1113 | | - | |
| 1160 | + | |
1114 | 1161 | | |
1115 | 1162 | | |
1116 | 1163 | | |
| |||
1156 | 1203 | | |
1157 | 1204 | | |
1158 | 1205 | | |
| 1206 | + | |
1159 | 1207 | | |
1160 | 1208 | | |
1161 | 1209 | | |
1162 | 1210 | | |
1163 | 1211 | | |
1164 | | - | |
| 1212 | + | |
1165 | 1213 | | |
1166 | 1214 | | |
1167 | 1215 | | |
| |||
1330 | 1378 | | |
1331 | 1379 | | |
1332 | 1380 | | |
1333 | | - | |
| 1381 | + | |
| 1382 | + | |
1334 | 1383 | | |
1335 | 1384 | | |
1336 | 1385 | | |
| |||
1349 | 1398 | | |
1350 | 1399 | | |
1351 | 1400 | | |
1352 | | - | |
| 1401 | + | |
| 1402 | + | |
1353 | 1403 | | |
1354 | 1404 | | |
1355 | 1405 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
577 | 577 | | |
578 | 578 | | |
579 | 579 | | |
580 | | - | |
| 580 | + | |
581 | 581 | | |
582 | | - | |
| 582 | + | |
583 | 583 | | |
584 | | - | |
| 584 | + | |
585 | 585 | | |
586 | | - | |
| 586 | + | |
587 | 587 | | |
588 | | - | |
| 588 | + | |
589 | 589 | | |
590 | | - | |
| 590 | + | |
591 | 591 | | |
592 | 592 | | |
593 | 593 | | |
| |||
0 commit comments