Commit a00977c
[IMP] runbot: improve build error search
In some case we would like to have the error only breaking in some
versions or triggers.
This commit add two compued fields with search methods to add This
capability.
searching [('only_trigger_ids', 'in', [trigger_id])] will return errors
only breaging in trigger_id
searching
[('only_trigger_ids', 'any', [('display_name', 'like', 'Single')])]
will return errors only breaging in Single like triger (not in multi)
[('only_trigger_ids', 'any', [('display_name', 'like', 'Fake')])]
will return errors only breaging in Faketime triger
The same apples to versions but this is not working because of the search
methods traversing errors, contents and builds. We need to store the
version_ids but the migration takes 14 minutes, will be done in another pr.1 parent 58cda7b commit a00977c
3 files changed
Lines changed: 34 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
269 | 269 | | |
270 | 270 | | |
271 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
272 | 275 | | |
273 | 276 | | |
274 | 277 | | |
| |||
337 | 340 | | |
338 | 341 | | |
339 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
| 347 | + | |
| 348 | + | |
| 349 | + | |
| 350 | + | |
| 351 | + | |
| 352 | + | |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
| 361 | + | |
| 362 | + | |
| 363 | + | |
| 364 | + | |
| 365 | + | |
| 366 | + | |
340 | 367 | | |
341 | 368 | | |
342 | 369 | | |
| |||
931 | 958 | | |
932 | 959 | | |
933 | 960 | | |
934 | | - | |
| 961 | + | |
935 | 962 | | |
936 | 963 | | |
937 | 964 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
305 | 305 | | |
306 | 306 | | |
307 | 307 | | |
| 308 | + | |
308 | 309 | | |
309 | | - | |
310 | 310 | | |
311 | 311 | | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
312 | 316 | | |
313 | 317 | | |
314 | 318 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
| |||
0 commit comments