|labs/tools/extjsonuploader||master||+112 -37||Move to console commands, and support updating multiple repo directories|
I was just experimenting with doing this, and there are two issues so far:
- this bug: https://github.com/hamstar/Wikimate/issues/118
- the clone.sh script still looks for the old extensionDir config key — I propose either turning this into clone.php, or changing config.php to config.json and using jq to pull out the array.
I've updated the tool with the above (adding a new CLI), and deployed it. Seems to be working.
I'm not going to add the nonwmf repo yet, because in my local testing it's running up against module page size limits, and I suspect there's some extension.json stuff that we can exclude (e.g. MessagesDirs, ResourceFileModulePaths, BetaFeatures, Hooks (reduce to just the hook names), etc.). I'll make a new patch for those things.
I think it's all working now, and the module is up to date with the latest data.
Sorry about the test edits that have been happening. https://www.mediawiki.org/w/index.php?title=Module:ExtensionJson&action=history
The only issue I've seen is that DocBookExport is in both repos. I'll submit a PR to nonwmf-extensions to fix this, but I've ordered the repos in config.php so that the Gerrit ones take precedence.