Page MenuHomePhabricator

fatal: Project not found: mediawiki/extensions/url
Closed, ResolvedPublic

Description

While running the daily translatewiki.net script for exporting extension translations the script breaks with:

Cloning into '/resources/raymond/mediawiki-extensions/extensions/url'...
/resources/raymond/mediawiki-extensions/extensions/url master
/resources/raymond/mediawiki-extensions/extensions/url master
fatal: Project not found: mediawiki/extensions/url
fatal: Could not read from remote repository.

,
Above lines are on screen in an endless (?) loop. Therefore I had to kill the export script.

This happened the first time yesterday.

Event Timeline

and now for skins too:

/resources/raymond/mediawiki-skins/Truglass master
Cloning into '/resources/raymond/mediawiki-skins/url'...
/resources/raymond/mediawiki-skins/url master
/resources/raymond/mediawiki-skins/url master
/resources/raymond/mediawiki-skins/url master
fatal: Project not found: mediawiki/skins/url
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
Cloning into '/resources/raymond/mediawiki-skins/url'...
fatal: Project not found: mediawiki/skins/url
fatal: Could not read from remote repository.

@Paladox I see some changes by you to the repos. Any relation to them?

Gerrit upgrades broke many things, and config had to be changed to fix it

Where's the source for this script? What's it actually doing?

@Raymond hi not sure if I could have broke it but unlikely as my changes unbroke submodules.

The link I changed it too should work.

But as you are saying this for extensions too and the problem started on Thursday, it is unlikely it was me as I did no changes at the time this task was created.

@Paladox ok, thanks. was just a guess.

@Reedy The repoupdate script for skins and mediawiki-extensions fails starting from "url..." https://phabricator.wikimedia.org/diffusion/GTWN/browse/master/bin/repoupdate

I think the script needs a rewrite, it may be because of changes done in gerrit 2.13.

Ugh indeed. The relevant part is

curl -s "https://gerrit.wikimedia.org/r/projects/?p=$1" |
grep "$1" |
cut -d '"' -f2 |
cut -d '/' -f3- |
grep -v '/' |
sort

Probably should be rewritten to strip the garbage in the beginning and feed rest to jq.

Change 326468 had a related patch set uploaded (by Nikerabbit):
Quick fix for fetchReposFromGerrit

https://gerrit.wikimedia.org/r/326468

I went with a simpler solution now.

Change 326468 merged by jenkins-bot:
Quick fix for fetchReposFromGerrit

https://gerrit.wikimedia.org/r/326468

Raymond claimed this task.

Thanks @Nikerabbit for the quick fix. Export runs well today :-)

Change 327038 had a related patch set uploaded (by Subramanya Sastry):
T152727: Fix bug in self-closing tag lint tracking

https://gerrit.wikimedia.org/r/327038