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

94 commits

Author SHA1 Message Date
Martin Urbanec
4571490a53 new_wikis_handler: search index should be updated after sync-wikiversions 2021-03-16 10:57:54 +01:00
Martin Urbanec
2aad3faa26
Merge pull request #27 from addshore/patch-1
Move campsite picked up things to active on wdwbtech backlog
2021-03-16 12:20:32 +01:00
addshore
04cdb7c269
Move campsite picked up things to active on wdwbtech backlog 2021-03-16 10:39:01 +00:00
Amir Sarabadani
24dc518ed2
Merge pull request #26 from Nintendofan885/master
update phabricator board URL in README
2021-03-13 23:43:37 +01:00
Nintendofan885
098b177eaa
update phabricator board URL 2021-03-13 22:35:40 +00:00
Amir Sarabadani
2cbe8ea3af Fix checking for abandoned patches for removing #patch-for-review
The formatting has changed.

Bug: T276390
2021-03-12 10:50:20 +01:00
Amir Sarabadani
420c5ae215 Move Wikidata's campsite from test verification to done once resolved
As requested by the one and only Adam Shorland.
2021-03-12 10:31:11 +01:00
Amir Sarabadani
299d7645e7 Add extra line to make jenkins pass for WikimediaMessages 2021-02-26 09:45:55 +01:00
Amir Sarabadani
d153fb20ea Fix a bug 2021-02-26 09:16:59 +01:00
Amir Sarabadani
02782a59dd
Merge pull request #25 from urbanecm/logos-php
new_wikis_handler: Add sync logos.php part
2021-02-22 17:17:46 +01:00
Martin Urbanec
d3d04b5fcd new_wikis_handler: Add sync logos.php part 2021-02-22 13:17:35 +01:00
Amir Sarabadani
bd3806887f
Merge pull request #23 from supertassu/master
Add remaining group 5 Herald rules to config
2021-01-16 01:22:24 +01:00
Amir Sarabadani
e52ebf805c
Merge pull request #24 from DannyS712/patch-3
Remove DannyS712 rules
2021-01-02 08:22:42 +01:00
DannyS712
12d68ad427
Remove DannyS712 rules
DannyS712-Global_watchlist.js has been archived, and I can manage the rest manually
2021-01-01 16:02:33 -08:00
Taavi Väänänen
c559c5f96c Fix tag name 2020-12-26 11:37:34 +02:00
Taavi Väänänen
ca3b435716 Add remaining group 5 Herald rules 2020-12-26 11:34:50 +02:00
Martin Urbanec
2be5178df9
Merge pull request #22 from supertassu/project-grouper
Add project grouper
2020-12-25 18:16:34 +01:00
Taavi Väänänen
7334e63863 Add project grouper 2020-12-25 12:21:08 +02:00
Amir Sarabadani
91258642e9
Update README.md 2020-12-20 18:01:04 +01:00
Amir Sarabadani
5cc8d091fe More fixes 2020-12-20 17:30:28 +01:00
Amir Sarabadani
5c3e10ffd0 Make wikistats a parent ticket
Handling wikistats is blocked until the wiki is created, meaning this
would be a parent ticket of creating the wiki
2020-12-19 17:40:27 +01:00
Martin Urbanec
1e0f5ee340 Merge branch 'master' of github.com:Ladsgroup/Phabricator-maintenance-bot 2020-12-18 01:35:41 +01:00
Martin Urbanec
b20ad6cd31 Add handle_subticket_for_wikistats 2020-12-18 01:35:15 +01:00
Amir Sarabadani
17fd21cffe Make sure the url has https:// in it 2020-12-16 14:08:57 +01:00
Martin Urbanec
bf19b46199 Revert "column_mover: Add some automatization to user-urbanecm"
This reverts commit edd87fc1ff.
2020-12-15 11:54:19 +01:00
Amir Sarabadani
b1397c604a
Merge pull request #20 from MarcoAurelioWM/issue-19
new_wikis_handler: Inform CVN
2020-12-13 19:43:26 +01:00
MarcoAurelio
3058683000
new_wikis_handler: Inform CVN 2020-12-13 19:35:16 +01:00
Amir Sarabadani
0d0e887e8b
Merge pull request #18 from MarcoAurelioWM/patch-1
new_wikis_handler.py: New checkbox for BPI implementation reminder
2020-11-25 13:23:47 +01:00
MarcoAurelio
737ae7de87
new_wikis_handler.py: BPI implementation 2020-11-25 12:22:59 +01:00
Amir Sarabadani
6929f56b9b Add creating parent tickets for new wiki creations
Bug: T253439
2020-10-08 04:39:10 +02:00
Amir Sarabadani
b72da2b58f Make patchforreview not remove tag if there's a link to a github PR
Not any link to github. This would help a lot in cleaning up with better
precision.
2020-09-29 15:03:19 +02:00
Amir Sarabadani
0c97322d2e More improvements on new wikis handler
Preparing for the part of creating parent tasks.
2020-09-29 14:12:43 +02:00
Martin Urbanec
501463b05c new_wikis_handler: Fix a typo
To avoid this:

[urbanecm@mwmaint2001 ~]$ mwscript extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php --wiki=arbcom_ruwiki --cluster=all
The MediaWiki script file "/srv/mediawiki/php-1.36.0-wmf.10/extensions/CirrusSearch/Maintenance/UpdateSearchIndexConfig.php" does not exist.

Lowercase "maintenance" seems to be the correct version.
2020-09-28 14:36:14 +02:00
Martin Urbanec
6cadc7147b new_wikis_handler: Include UpdateSearchIndexConfig in creation instructions
Bug: T254331
2020-09-23 00:11:05 +02:00
Martin Urbanec
edd87fc1ff column_mover: Add some automatization to user-urbanecm 2020-09-19 20:23:55 +02:00
Martin Urbanec
600ea016df new_wiki_handler: For now, do not expect the wiki will be public
this can cause serious issues if unnoticed,
making the code to allow for passing visibility,
I'll fix the template etc. and make the code to fetch
the visibility from task soon.
2020-09-14 22:28:17 +02:00
Martin Urbanec
f086d0a15a new_wiki_handler: Try to fix handle_analytics 2020-09-14 22:21:27 +02:00
Martin Urbanec
05faf29136 Kill spawned ssh agent in new_wikis_handler.sh wrapper script 2020-09-14 22:18:11 +02:00
Martin Urbanec
cba44a60e8 Run new wiki handler via the wrapper script 2020-09-14 21:56:34 +02:00
Martin Urbanec
b2f86ee5f8 Disable handle_analytics for now
it throws a fatal error, will fix later
2020-09-14 21:54:55 +02:00
Martin Urbanec
ae9a1c0e35 Add a wrapper script that spawns an agent for new_wiki_handler 2020-09-14 21:52:13 +02:00
Amir Sarabadani
b84cf9d064 Add the part to create parent task
This comes handy in case of creating new wikis.
2020-09-13 05:49:47 +02:00
Amir Sarabadani
9ddb439762 Tiny clean ups to patch makers
- Make it deduplicate
 - Remove the temp one
2020-09-08 18:41:16 +02:00
Amir Sarabadani
47c00f28ba Make CX and Analytics patches too 2020-08-29 23:51:34 +02:00
Amir Sarabadani
bd6ee7e894 Clean up the new_wikis_handler.py code
Splitting large functions to smaller one, DRY, PEP8, ...
2020-08-29 21:53:23 +02:00
Amir Sarabadani
0617aa1b9b Add ability to override dbname
Some wikis have a different dbname than what can be found from their
urls, like T246945
2020-08-24 19:40:42 +02:00
Amir Sarabadani
7ace1cb220 Fix path for gerrit-creds.json
It's erroring now
2020-08-24 11:36:21 +02:00
Amir Sarabadani
1d784027bb Create subticket and patch for new wikis
Create DNS and Wikimedia Messages patches for the new wikis

Most of the gerrit code is copied from library upgrader library:
https://gerrit.wikimedia.org/r/plugins/gitiles/labs/libraryupgrader

Bug: T253439
2020-08-15 19:15:58 +02:00
Amir Sarabadani
edc2501274 Add Gerritbot
To make automatic patches for new wikis

Bug: T253439
2020-08-15 16:27:01 +02:00
Martin Urbanec
78113030dc new_wikis_handler: Wikis with different shard s3 needs db-*.php to be synced too 2020-08-11 11:23:41 +02:00