Commit 94f1939
committed
landing_checks: block commits with REPO- flag mismatch (bug 2032267) r=sheehan
We use the Lando `repo.name`, e.g., firefox-autoland. This won't match the name that the VCT hook uses, e.g., autoland. This means we will need to disable the equivalent HgMO check after this has landed.
* landing_checks: add support for `repo_name` to `LandingChecks`
* landing_checks: block commits with `REPO-` flag mismatch (bug 2032267)
* tests: add `ids` to `test_check_commit_message_invalid_message`
* tests: DRY `HG_PATCH_AUTHOR_COMMIT_MESSAGE_TEMPLATE` in `landing_checks`
* tests: port `repolocked` tests from v-c-t
Pull request: #10911 parent d352091 commit 94f1939
5 files changed
Lines changed: 231 additions & 60 deletions
File tree
- src/lando
- api/legacy
- workers
- utils
- tests
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
339 | 339 | | |
340 | 340 | | |
341 | 341 | | |
342 | | - | |
| 342 | + | |
343 | 343 | | |
344 | 344 | | |
345 | 345 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
446 | 447 | | |
447 | 448 | | |
448 | 449 | | |
| 450 | + | |
449 | 451 | | |
450 | 452 | | |
451 | 453 | | |
| |||
510 | 512 | | |
511 | 513 | | |
512 | 514 | | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
513 | 528 | | |
514 | 529 | | |
515 | 530 | | |
| |||
672 | 687 | | |
673 | 688 | | |
674 | 689 | | |
| 690 | + | |
675 | 691 | | |
676 | 692 | | |
677 | 693 | | |
| |||
686 | 702 | | |
687 | 703 | | |
688 | 704 | | |
689 | | - | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
690 | 709 | | |
691 | 710 | | |
692 | 711 | | |
| |||
724 | 743 | | |
725 | 744 | | |
726 | 745 | | |
| 746 | + | |
727 | 747 | | |
728 | | - | |
| 748 | + | |
729 | 749 | | |
| 750 | + | |
730 | 751 | | |
731 | 752 | | |
732 | 753 | | |
| |||
754 | 775 | | |
755 | 776 | | |
756 | 777 | | |
757 | | - | |
| 778 | + | |
| 779 | + | |
| 780 | + | |
758 | 781 | | |
759 | 782 | | |
760 | 783 | | |
| |||
0 commit comments