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
Amir Sarabadani
e04aa3a936
Use the closed wikis on s5 for creating new wikis
2020-08-11 10:49:08 +02:00
Amir Sarabadani
e7536e1dcd
Merge pull request #16 from urbanecm/shard
...
new_wikis_handler: Do not assume wiki will be always created at s3
2020-08-02 18:50:06 +02:00
Martin Urbanec
9b8c348e29
new_wikis_handler: Remove debug code
2020-08-02 18:48:16 +02:00
Martin Urbanec
7d1748b68d
new_wikis_handler: Do not assume wiki will be always created at s3
2020-08-02 18:45:41 +02:00
Martin Urbanec
3ab5adde3d
Fix cron permissions
...
Cron was previously marked as executable,
which doesn't make sense, as it isn't a binary file
or a script.
2020-07-29 19:28:39 +02:00
Martin Urbanec
8aba9ff144
new_wikis_handler: Wiki creators should sync project logos before IS.php
...
Otherwise, IS.php will refer to a non-existent URL for a brief
period.
2020-07-29 19:26:55 +02:00
Amir Sarabadani
037e84cd22
Update wikidata sprint board
2020-07-15 16:28:47 +02:00
Amir Sarabadani
388766bfef
Merge pull request #15 from urbanecm/get-file-from-gerrit-404
...
new_wikis_handler: Make get_file_from_gerrit support 404s
2020-07-14 16:49:09 +02:00
Amir Sarabadani
878de1b45b
Merge pull request #14 from urbanecm/double-checking-notices
...
new_wikis_handler: Print only one Checking row
2020-07-14 16:45:47 +02:00