1
0
Fork 0
mirror of https://gitlab.wikimedia.org/ladsgroup/Phabricator-maintenance-bot synced 2024-12-22 02:20:53 +01:00
Commit graph

218 commits

Author SHA1 Message Date
Pppery
ae681d3b6b Add timezone, reorder
Per https://meta.wikimedia.org/wiki/User_talk:Ladsgroup#Consider_adding_more_info_to_new_wikis_handler.py
2024-08-20 19:53:43 -04:00
Ladsgroup
2dcfe56650 Merge branch 'amire80-master-patch-44608' into 'master'
Add "Project name" to Phab task boilerplate

See merge request ladsgroup/Phabricator-maintenance-bot!7
2024-07-08 17:15:07 +00:00
Amire80
d894935512 Add "Project name" to Phab task boilerplate 2024-07-08 17:05:08 +00:00
Urbanecm
3febcd74d8 project_grouper: Remove growthexperiments-mentordashboard
Project is now disabled.
2024-07-04 18:04:37 +00:00
Ladsgroup
4cbda66e5f Merge branch 'gitlab_mr_support' into 'master'
patchforreview_remover: Add support for gitlab MRs in some repos

See merge request ladsgroup/Phabricator-maintenance-bot!6
2024-04-26 17:47:36 +00:00
Amir Sarabadani
8879d484ab patchforreview_remover: Add support for gitlab MRs in some repos
Some repos are not under /repos/. That's breaking stuff. Bad.

Bug: T363232
Bug: T363573
2024-04-26 19:43:13 +02:00
Amir Sarabadani
982cfc2f33 patchforreview_remover: Update for adding the # to patch numbers
See T358940 and T363573

Bug: T363573
2024-04-26 18:43:52 +02:00
Urbanecm
9cee4b7510 Merge branch 'lpintscher-master-patch-86472' into 'master'
add two more Wikidata projects

See merge request ladsgroup/Phabricator-maintenance-bot!4
2024-04-05 19:44:08 +00:00
Lydia Pintscher
3d532d67f2 add two more Wikidata projects 2024-03-30 13:56:07 +00:00
Ladsgroup
1b0ea98418 Merge branch 'incubator' into 'master'
new_wikis_handler: Add creating ticket for incubator import

See merge request ladsgroup/Phabricator-maintenance-bot!3
2024-02-04 15:51:29 +00:00
Ladsgroup
652751a2a4 new_wikis_handler: Add creating ticket for incubator import 2024-02-04 15:51:28 +00:00
Ladsgroup
d3947054a7 Merge branch 'master' into 'master'
new wikis: change tag to content-transform-team

See merge request ladsgroup/Phabricator-maintenance-bot!2
2023-11-22 14:29:30 +00:00
MSantos
3f1c419893 new wikis: change tag to content-transform-team 2023-11-22 14:23:50 +00:00
Urbanecm
b6bdc9230c Merge branch 'rhinosf1-master-patch-41727' into 'master'
project_group: drop SRE sub teams from #sre rule

See merge request ladsgroup/Phabricator-maintenance-bot!1
2023-11-02 20:13:18 +00:00
RhinosF1
f1a0dcc76e project_group: drop SRE sub teams from #sre rule 2023-11-02 20:04:46 +00:00
Martin Urbanec
732a52052a new wikis handler: No need to ask stewards for a wikiset
The global bot wikiset is now an opt-out one and lists wikis
that do NOT allow global bots, while previously it used to be
an opt in wikiset, including wikis that DO allow global bots.

Because of that change, no manual changes of the wikiset
should be required, and stewards do not need to change the global bots
wikiset in any way.
2023-11-01 22:44:56 +01:00
Amir Sarabadani
118444088f new_wikis_handler: Adapt to the new paradigm of creating new wikis
Bug: T345230
2023-10-15 22:30:16 +02:00
Itamar Givon
801a5c7c98 Add ongoing tasks column mover rule fo wikidata-tech 2023-10-02 15:00:19 +02:00
Amir Sarabadani
a358b2d351
Merge pull request #65 from lydiapintscher/patch-12
add Wikidata integration board to the Wikidata group
2023-09-13 14:10:46 +02:00
Lydia Pintscher
5e8263399e
add Wikidata integration board to the Wikidata group 2023-09-13 14:08:35 +02:00
Amir Sarabadani
87be1964f3
Merge pull request #64 from mary-kate/patch-1
Add ImageRating, NewSignupPage and SportsTeams under the social tools grouping
2023-09-05 15:34:41 +02:00
Jack Phoenix
f73db39ec8
Add ImageRating, NewSignupPage and SportsTeams under the social tools grouping
Also reorganized the list to be in alphabetical order.
2023-09-05 15:05:22 +03:00
Amir Sarabadani
cb73e2751e
Merge pull request #63 from ZabeMath/sync-world
Use sync-world durign wiki creation
2023-08-21 17:12:35 +02:00
Alexander Vorwerk
1c4f40ec17 Use sync-world durign wiki creation
we no longer need to sync file by file
2023-08-18 11:10:10 +02:00
Amir Sarabadani
34d22ef6da
Merge pull request #62 from brennen/brennen/codereviewbot
add CodeReviewBot PHID
2023-05-09 00:55:24 +02:00
Brennen Bearnes
c4f54692b0 add CodeReviewBot PHID
CodeReviewBot is intended for use with GitLab-Phabricator integrations.
Has a generic name in case we want to use it with tools other than GitLab
at any point.

For https://phabricator.wikimedia.org/T330923

Bug: T330923

# Subject: summary of your change
# * "If applied, this commit will..."
# * Imperative mood: Change/Add/Fix/Remove/Update/Refactor/Document
# * Optionally, prefix with subject / component (general area modified)
# * https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines#Subject

# Body:
# * Why? What's wrong with status quo? Are there other ways?
# * How to test/confirm?
# * https://www.mediawiki.org/wiki/Gerrit/Commit_message_guidelines#Body

# Bug: TXXXXXX
#
# Other fields:
# ~/code/bpb-kit/home/cheatsheets/git-meta.txt
2023-05-08 16:51:10 -06:00
Amir Sarabadani
4078af375e
Merge pull request #61 from R4356th/patch-1
Move resolved tasks to the "Done" column in "Bengali-Sites" project
2023-04-20 17:14:31 +02:00
R4356th
be3c99915a
Move resolved tasks to the "Done" column in "Bengali-Sites" project 2023-04-20 20:45:02 +06:00
Lydia Pintscher
2b5c34d2e9
add Wikidata-UX board to Wikidata group (#60) 2023-04-12 18:44:04 +02:00
Martin Urbanec
150182b57d [Growth] Add -mentorship to all -personalizedpraise tasks 2023-04-12 14:26:05 +02:00
Meno25
01301705c1
Update whitelist link (#59) 2023-03-25 12:52:27 +01:00
Martin Urbanec
1236808aa4
Merge pull request #58 from jdforrester/patch-2
Abstract: Also add #tool-ducttape tasks to project
2023-03-13 18:10:15 +01:00
James D. Forrester
3b4a803133
Abstract: Also add #tool-ducttape tasks to project 2023-03-13 15:38:37 +00:00
Martin Urbanec
4ecb19795d
Remove an obsolete rule
Neither user-urbanecm-wmf-engineering or growth-deployments are in use as of today.
2023-03-10 01:14:19 +01:00
Amir Sarabadani
78c20088ed
Merge pull request #57 from MarcoAurelioWM/patch-1
new_wikis_handler: Tag Countervandalism-Network instead of posting to…
2023-02-02 07:58:00 +01:00
MarcoAurelio
344ab2c641
new_wikis_handler: Tag Countervandalism-Network instead of posting to Meta
On advice of CVN staff, and given that they're now using Phabricator to track their work, make the bot tag the post-creation Task with the CVN project instead of telling people to go to Meta and post to their talk page.

Tweaks re Stewards Noticeboard for Bot Policy activation.
2023-02-02 02:30:59 +01:00
Martin Urbanec
e321bda0a8
Merge pull request #56 from MarcoAurelioWM/patch-1
new_wikis_handler: Modify wording about bot policy
2023-01-29 15:42:53 +01:00
MarcoAurelio
41fb56f9bc
new_wikis_handler: Modify wording about bot policy
See <https://meta.wikimedia.org/w/index.php?oldid=24449416#Global_bots>. BP is automatically enabled on all content wikis by default so there's no need to propose its implementation. Rather, we need to notify them that we've added the wiki to the wikiset and if they wish to opt-out, they shall have a local discussion and let us know.
2023-01-29 15:36:25 +01:00
Amir Sarabadani
1534a3d249
Merge pull request #55 from dancysoft/master
patchforreview_remover.py: Support both Gerrit and Gitlab
2023-01-21 06:36:15 +01:00
Ahmon Dancy
ae3f603e50 patchforreview_remover.py: Handle bot comments for Gitlab status updates
Handle change status report for both Gerrit and Gitlab.

Bug: T325297
2023-01-19 15:27:31 -08:00
Ahmon Dancy
10c6aace45 Fix gerrit_patch_id regexp
Change the gerrit_patch_id regexp from
r'https://gerrit(?:-test|)\.wikimedia\.org/r/.*(\d+)(?:$|\]\])'
to
r'https://gerrit(?:-test|)\.wikimedia\.org/r/(\d+)(?:$|\]\])'

The .* in the old regexp was collecting most of the digits expected to
be matched by the (\d+).  For example if the input was
https://gerrit.wikimedia.org/r/875932, the collected digits would just
be "2".
2023-01-19 10:57:12 -08:00
Ahmon Dancy
9b64c4b501 Added some comments 2023-01-19 10:54:18 -08:00
Amir Sarabadani
97a38359f6
Merge pull request #54 from ebernhardson/update-search-index-config-log
new_wikis_handler: Write Cirrus maint script output to log file
2023-01-10 21:27:23 +01:00
Erik Bernhardson
4c9676579c new_wikis_handler: Write Cirrus maint script output to log file
This script hasn't been working as expected lately, search indices are
not being created for the new wikis. Adding a bit to the command to
log the output into a file so it can be reviewed for errors
post-creation.
2023-01-10 11:53:00 -08:00
Martin Urbanec
e44d37efce
Merge pull request #53 from jdforrester/patch-1
[Abstract Wikipedia team] Also add the new #wikifunctions tag
2022-11-29 21:18:40 +01:00
James D. Forrester
a728de6881
[Abstract Wikipedia team] Also add the new #wikifunctions tag 2022-11-29 20:00:00 +00:00
Amir Sarabadani
6b1dae0866
Merge pull request #52 from lucaswerkmeister/patch-1
project_grouper: [Wikidata] Remove Wikidata-Page-Banner
2022-11-21 19:27:44 +01:00
Lucas Werkmeister
b92fbfcfa3
project_grouper: [Wikidata] Remove Wikidata-Page-Banner
WikidataPageBanner is a Wikivoyage extension that isn’t maintained by
the Wikidata team; I don’t think it makes sense to automatically add
Wikidata to all its tasks (e.g. T323376).
2022-11-18 15:58:08 +01:00
Amir Sarabadani
de1420c278 new_wikis_handler: Update puppet's apache path for special wikis
See T320890#8390951
2022-11-13 19:20:35 +01:00
Martin Urbanec
4a8b3f5b43
Merge pull request #47 from urbanecm/autotag
new_wikis_handler: Automatically tag post-creation task with platform…
2022-10-12 18:31:21 +02:00