Page MenuHomePhabricator

Unable to automerge exported i18n patched
Closed, ResolvedPublic


Since today I am getting an error when running the export script for MediaWiki.

The first commit for core ( ) is committed but merge fails:

/home/betawiki/config/bin/merge-wmgerrit-patches 'mediawiki/core'

In Process.php line 235:

 The command "/home/betawiki/config/bin/merge-wmgerrit-patches 'mediawiki/core'" failed.

 Exit Code: 123(Unknown error)

 Working directory: /scratch/raymond


 Error Output:
 fatal: "c,1" is not a valid patch set

Probably because Gerrit was updated last weekend.

QA plan

Affected projects:
Tested in production.


Fixed an issue, caused by Gerrit upgrade, that broke regular software translation updates from

Event Timeline

ssh "${GERRIT[@]}" gerrit query --format=TEXT "owner:$U" "project:$1" status:open |
(grep '  url:' || true) | # Handle pipefail from grep
cut -d/ -f5 |
sort |
xargs -I ____ ssh "${GERRIT[@]}" gerrit review ____,1 --code-review 2

I guess the gerrit output has changed

Change 608292 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[translatewiki@master] Fix merge-wmgerrit-patches after gerrit upgrade /608292

Change 608292 merged by jenkins-bot:
[translatewiki@master] Fix merge-wmgerrit-patches after gerrit upgrade /608292

Thank you for the fast fix