Last modified: 2014-07-31 18:20:58 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T67852, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 65852 - ExtensionDistributor: Some extensions have no versions available for download
ExtensionDistributor: Some extensions have no versions available for download
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ExtensionDistributor (Other open bugs)
master
All All
: High major with 1 vote (vote)
: ---
Assigned To: Kunal Mehta (Legoktm)
:
Depends on: 68122
Blocks:
  Show dependency treegraph
 
Reported: 2014-05-28 13:17 UTC by Nemo
Modified: 2014-07-31 18:20 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
branches exist (128.58 KB, application/octet-stream)
2014-05-28 14:55 UTC, Florian
Details
Example extension Nonlinear (16.33 KB, image/png)
2014-07-14 12:44 UTC, Florian
Details

Description Nemo 2014-05-28 13:17:00 UTC
Since a few days, there are reports of the version dropdown being empty even though the branches exist. This makes it impossible to download extensions from ExtensionDistributor.

https://www.mediawiki.org/wiki/Thread:Extension_talk:CirrusSearch/CirrusSearch_download
https://www.mediawiki.org/wiki/Thread:Project:Current_issues/Can%27t_download_extensions
Comment 1 Florian 2014-05-28 13:21:13 UTC
-> https://www.mediawiki.org/wiki/Special:ExtensionDistributor/CirrusSearch
I see a master and 1.22 branch :/

-> https://www.mediawiki.org/wiki/Special:ExtensionDistributor?extdist_extension=AbuseFilter
Abuse Filter all branches up from 1.19 :) Tested with Firefox 17.0.1 ESR and Google Chrome 34.0.1847.116m
Comment 2 Sam Reed (reedy) 2014-05-28 13:22:07 UTC
I see 1.22 and master for CirrusSearch. Giving me https://codeload.github.com/wikimedia/mediawiki-extensions-CirrusSearch/legacy.tar.gz/REL1_22 to download

There is no 1.23, but that isn't setup in CommonSettings.php
Comment 3 Nemo 2014-05-28 13:32:36 UTC
https://www.mediawiki.org/wiki/Special:ExtensionDistributor/MaintenanceShell (original report) does have empty dropdown for me, how common is this? How are they picked?
Comment 4 Southparkfan 2014-05-28 14:07:39 UTC
Problem does also exist for downloading Oversight (is that extension even downloadable?), see https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Oversight. Status can be changed to CONFIRMED.
Comment 5 Florian 2014-05-28 14:55:38 UTC
Created attachment 15498 [details]
branches exist

Hmm, anything i do false :?

Now i have tested with FF, Chrome and Android/HTC Stock Browser
Comment 6 Florian 2014-07-03 10:49:44 UTC
Hmm, now i have now list of versions, too, on some Extensions :/
Comment 7 Jesús Martínez Novo (Ciencia Al Poder) 2014-07-10 20:43:05 UTC
I've checked all extensions linked in comments from this bug and all of them list 1.23 and older in their dropdown. It's still an issue?

Note that some extensions weren't properly branched for 1.23, downloading an old (and probably incompatible) version, but that's bug 64157
Comment 8 Florian 2014-07-10 20:48:24 UTC
One example that doesn't work:

https://www.mediawiki.org/wiki/Special:ExtensionDistributor/GoogleLogin
Comment 9 Jesús Martínez Novo (Ciencia Al Poder) 2014-07-10 20:53:55 UTC
(In reply to Florian from comment #8)
> One example that doesn't work:
> 
> https://www.mediawiki.org/wiki/Special:ExtensionDistributor/GoogleLogin

That one has an explanation. It doesn't have any REL1_XX branch [1]

https://git.wikimedia.org/branches/mediawiki%2Fextensions%2FGoogleLogin.git

ED shouldn't be listed in the extension's page
Comment 10 Florian 2014-07-10 21:06:26 UTC
Oh, yeah, i thought there was one, will create it, thanks :) i will look into some extensions i remember tomorrow, when i'm at pc again.
Comment 11 Florian 2014-07-14 07:24:17 UTC
One more example:
https://www.mediawiki.org/wiki/Special:ExtensionDistributor/ExtensionDistributor

(It's ExtensionDistributor itself)

And there are some RELX_XX branches:
https://gerrit.wikimedia.org/r/#/admin/projects/mediawiki/extensions/ExtensionDistributor,branches
Comment 12 Jesús Martínez Novo (Ciencia Al Poder) 2014-07-14 12:03:19 UTC
(In reply to Florian from comment #11)
> One more example:
> https://www.mediawiki.org/wiki/Special:ExtensionDistributor/
> ExtensionDistributor
> 
> (It's ExtensionDistributor itself)

Works for me at this moment
Comment 13 Florian 2014-07-14 12:20:12 UTC
Hmm, now it works for me, too :/
Comment 14 Southparkfan 2014-07-14 12:26:05 UTC
Works here also, couldn't find any extension where ExtensionDistributor fails. Btw, is that URL in this bugs' settings really needed?
Comment 15 Florian 2014-07-14 12:44:35 UTC
Created attachment 15932 [details]
Example extension Nonlinear

https://www.mediawiki.org/wiki/Special:ExtensionDistributor/Nonlinear

This extension actually doesn't work for me.
Comment 16 Southparkfan 2014-07-14 12:46:56 UTC
I confirm this, while the extensions has RELX_XX branches: https://git.wikimedia.org/branches/mediawiki%2Fextensions%2FNonlinear
Comment 18 Krinkle 2014-07-14 21:21:17 UTC
Seems to be somewhat random. Versions appearing and disappearing regardless of their branches existing.
Comment 19 Kunal Mehta (Legoktm) 2014-07-15 04:15:10 UTC
Are we being hit by github's ratelimiting? (I don't know if we have a special exemption or anything...)

Via eval.php:

> $httpOptions = array( 'followRedirects' => false );

> $httpOptions['proxy'] = $wgExtDistProxy;

> $req = MWHttpRequest::factory("https://api.github.com/rate_limit", $httpOptions);

> var_dump($req->getContent());
string(177) "{"resources":{"core":{"limit":60,"remaining":0,"reset":1405398906},"search":{"limit":10,"remaining":10,"reset":1405396979}},"rate":{"limit":60,"remaining":0,"reset":1405398906}}"
Comment 20 Kunal Mehta (Legoktm) 2014-07-15 05:05:39 UTC
legoktm@terbium:~$ curl --proxy url-downloader.wikimedia.org:8080 -i https://api.github.com/repos/wikimedia/mediawiki-extensions-MassMessage/tarball/REL1_23

X-RateLimit-Limit: 60
X-RateLimit-Remaining: 0

and the content body:

{
  "message": "API rate limit exceeded for <ip>. (But here's the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://developer.github.com/v3/#rate-limiting"
}
Comment 21 Gerrit Notification Bot 2014-07-15 05:38:26 UTC
Change 146386 had a related patch set uploaded by Legoktm:
Allow making API requests as an authenticated user

https://gerrit.wikimedia.org/r/146386
Comment 22 Gerrit Notification Bot 2014-07-15 07:59:19 UTC
Change 146394 had a related patch set uploaded by Florianschmidtwelzow:
Display an error if no branches are found

https://gerrit.wikimedia.org/r/146394
Comment 23 Gerrit Notification Bot 2014-07-16 20:45:16 UTC
Change 146394 merged by jenkins-bot:
Display an error if no branches are found

https://gerrit.wikimedia.org/r/146394
Comment 24 Gerrit Notification Bot 2014-07-16 20:53:52 UTC
Change 146386 merged by jenkins-bot:
Allow making API requests as an authenticated user

https://gerrit.wikimedia.org/r/146386
Comment 25 Kunal Mehta (Legoktm) 2014-07-16 20:56:24 UTC
I203d635b2a5e42197913d7d8b7cd8da083dd8981 was also merged, which will provide negative cache entries when a branch doesn't exist, which should make this a lot better in the short term.

After discussing with ^d and James_F, we're going to stop using github and instead use a labs setup I created (ex: http://extdist.wmflabs.org/?version=REL1_23&ext=VisualEditor) which will make it so we don't need to worry about ratelimiting at all.
Comment 26 Kunal Mehta (Legoktm) 2014-07-31 18:20:58 UTC
We're no longer using github at all, so this should no longer be an issue.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links