Commit 4d538b2
cmd/gerritbot/internal/rules: skip checking the wiki repo to minimize friction
Core team reviewers usually seem to approve wiki CLs and PRs without
asking for any changes to a commit message even if it does not conform
to general CL guidelines for the main Go repos.
For example, CL 587895 was approved with the commit title of:
add "cue" as a well-known struct tag
(without a leading "wiki:" or leading page name or similar).
This seems fine, including I think the general intent was to keep the
reviews very lightweight when the wiki content was moved
(golang/go#61940).
Currently, GerritBot is too picky with wiki PRs.
This CL therefore updates GerritBot to avoid flagging any issues with
wiki PRs. (An alternative would be to skip just some rules, but it
seems simpler to skip all).
Partly in case there is a later decision to start flagging wiki PRs,
while we are here we update the packageExample and usesTracker functions
to be more specific about the wiki repo (which won't have any effect
right now because the wiki repo is now ignored).
Fixes golang/go#65281
Change-Id: I7f678a9f997f35fa048b78aab1ee4a6d808b4ec6
Reviewed-on: https://go-review.googlesource.com/c/build/+/640135
Reviewed-by: Dmitri Shuralyov <[email protected]>
LUCI-TryBot-Result: Go LUCI <[email protected]>
Reviewed-by: Carlos Amedee <[email protected]>
Auto-Submit: Dmitri Shuralyov <[email protected]>
Reviewed-by: Dmitri Shuralyov <[email protected]>1 parent 5ba3d51 commit 4d538b2
3 files changed
+25
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | 20 | | |
| |||
72 | 81 | | |
73 | 82 | | |
74 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
75 | 87 | | |
76 | 88 | | |
77 | 89 | | |
| |||
404 | 416 | | |
405 | 417 | | |
406 | 418 | | |
407 | | - | |
| 419 | + | |
408 | 420 | | |
409 | 421 | | |
410 | 422 | | |
| |||
413 | 425 | | |
414 | 426 | | |
415 | 427 | | |
| 428 | + | |
| 429 | + | |
416 | 430 | | |
417 | 431 | | |
418 | 432 | | |
| |||
439 | 453 | | |
440 | 454 | | |
441 | 455 | | |
442 | | - | |
| 456 | + | |
443 | 457 | | |
444 | 458 | | |
445 | 459 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
49 | 55 | | |
50 | 56 | | |
51 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
84 | 87 | | |
85 | 88 | | |
86 | 89 | | |
| |||
0 commit comments