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

84 commits

Author SHA1 Message Date
Martin Urbanec
eda3c0632a new_wikis_handler: Make get_file_from_gerrit support 404s
Previously, the function threw fatal on a 404.
2020-07-14 14:43:18 +00:00
Amir Sarabadani
82b90d32a9 Do not use the new python formatting system
The python3 version in ToolForge doesn't support it yet and it fails
with
  File "/data/project/phabbot/phabbot/new_wikis_handler.py", line 211
    if f"'{language_code}'" in pywikibot:
                          ^
SyntaxError: invalid syntax
2020-07-14 00:08:43 +02:00
Amir Sarabadani
0dc6cadee3 Fixes for new wiki handler
- Adding more debug stuff so we know what's going on
 - Making the cron work 4 times a day instead of one
2020-07-11 14:28:19 +02:00
Amir Sarabadani
78cde6376b
Merge pull request #13 from urbanecm/simplify-dns
new_wikis_handler: Simplify DNS checkbox's logic
2020-07-10 22:51:34 +02:00
Martin Urbanec
8fb88d5eda new_wikis_handler: Simplify DNS checkbox's logic
Instead of determining where the change should be made,
let's try to resolve. This will catch "extremely special"
wikis like T256545, but also (rare) cases "patch merged, but DNS
fails for whatever reason".
2020-07-10 20:50:08 +00:00
Amir Sarabadani
26eb484799
Merge pull request #12 from urbanecm/fix-dbname-underscore
new_wikis_handler: dbname never includes dashes, instead, it uses und…
2020-07-10 22:26:53 +02:00
Martin Urbanec
0b2010dded new_wikis_handler: dbname never includes dashes, instead, it uses underscores
zh-classical.wikipedia.org should map to zh_classicalwiki
2020-07-10 20:24:21 +00:00
Amir Sarabadani
dbb3ee2c40 Fix the regex for patch-for-review comment checker
After upgrading gerrit, this broke as the URL schema changed.
2020-07-01 23:06:01 +02:00
Amir Sarabadani
a4796e5b68 Fully automate new wikis creation reporter 2020-05-30 16:51:55 +02:00
Amir Sarabadani
86e4f3df10 Add instructions for creations
Making less prone to typos, mistakes, etc.
2020-05-20 15:41:09 +02:00
Amir Sarabadani
016fac156a Start new_wikis_handler.py
Starting the script to eliminate the toil in creating new wikis:
https://landing.google.com/sre/sre-book/chapters/eliminating-toil/

For now, it only takes a bug id and outputs the checklist of stuff that
are done and stuff that needs to be done.
2020-05-19 11:16:25 +02:00
Amir Sarabadani
4e6cac1ba5
Merge pull request #8 from RhinosF1/patch-2
Updated column mover config for user-rhinosf1
2020-05-15 16:43:43 +02:00
RhinosF1
c19a33bd10
Updated column mover config for user-rhinosf1
Incoming & Watching (Other) --> Radar
Miraheze Phab Reported Issues & Miraheze-Related Issues (not reported there) --> Miraheze-Linked
WMF Bugs --> Extensions & Core
WMF Config --> Configuration
Deployment is no longer auto-moved.
2020-05-15 14:26:19 +01:00
Amir Sarabadani
75ab3a019d
Merge pull request #7 from RhinosF1/patch-1
Change column names
2020-03-28 23:43:34 +01:00
RhinosF1
9270b50ea9
Change column names 2020-03-28 18:07:05 +00:00
Amir Sarabadani
00ca40df61
Merge pull request #6 from RhinosF1/patch-1
move * to 'Done' in 'User-RhinosF1' when 'Resolved'
2020-03-03 23:57:25 +01:00
RhinosF1
800686ed7d
Update column_mover.py 2020-03-03 22:56:09 +00:00
RhinosF1
1750f708e8
Update column_mover.py 2020-03-03 22:53:19 +00:00
RhinosF1
2ae0c535a4
move * to 'Done' in 'User-RhinosF1' when 'Resolved' 2020-03-03 22:35:08 +00:00
Amir Sarabadani
e86ec9ecaf
Merge pull request #5 from DannyS712/patch-1
Column moved: Add one more for user-dannys712
2020-02-07 12:10:53 +01:00
DannyS712
20b9efb886
Column moved: Add one more for user-dannys712
Unsorted -> Page Curation when tagged as page curation
2020-02-06 22:18:08 -08:00
Amir Sarabadani
c7d2f26a46
Update cron 2019-12-04 17:04:20 +01:00
Amir Sarabadani
38ec6b024e
Update cron 2019-12-04 17:02:41 +01:00
Amir Sarabadani
3caf0bb798
Merge pull request #3 from DannyS712/patch-1
Column mover: Add some rules
2019-12-01 23:09:58 +01:00
DannyS712
660b4ae21a
Column mover: Add some rules
Help manage DannyS712's workboard for them
2019-12-01 01:44:03 -08:00
Amir Sarabadani
5642297e82
Merge pull request #2 from quiddity-wp/patch-2
fix my typo
2019-11-27 22:14:09 +01:00
quiddity-wp
b809d3d8b1
fix my typo 2019-11-27 12:00:31 -08:00
Amir Sarabadani
3793beb87d Fix the permissions 2019-11-26 12:38:01 +01:00
Amir Sarabadani
5b02c25f73 Fixes 2019-11-26 12:36:02 +01:00
Amir Sarabadani
6d0afe93e6
Merge pull request #1 from quiddity-wp/patch-1
add attempt at explanation - edit freely!
2019-11-26 12:26:59 +01:00
quiddity-wp
49e1182ea9
add attempt at explanation - edit freely! 2019-11-25 10:16:57 -08:00
Amir Sarabadani
549a19e8fa Add updater.sh and cron 2019-11-22 23:41:19 +01:00
Amir Sarabadani
73098f3ff1 Initial commit 2019-11-22 22:19:59 +01:00
Amir Sarabadani
e06b410188
Initial commit 2019-11-22 20:44:00 +01:00