Last modified: 2014-01-08 09:41:15 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 T48900, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 46900 - repoupdate breaks for "half-existing" extensions. Better error handling needed
repoupdate breaks for "half-existing" extensions. Better error handling needed
Status: RESOLVED WORKSFORME
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-04 19:14 UTC by Raimond Spekking
Modified: 2014-01-08 09:41 UTC (History)
8 users (show)

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


Attachments

Description Raimond Spekking 2013-04-04 19:14:36 UTC
Running /resouces/raymond/repoupdate mediawiki-extensions breaks for a "half existing extension".

Better error handling needed:


Creating a git remote called "gerrit" that maps to:
        ssh://l10n-bot@gerrit.wikimedia.org:29418/wikimedia/fundraising/DonationEmailUnsubscribe.git
<traceback object at 0x2607c20>
We don't know where your gerrit is. Please manually create
a remote named "gerrit" and try again.
Traceback (most recent call last):
  File "/usr/local/bin/git-review", line 863, in <module>
    main()
  File "/usr/local/bin/git-review", line 798, in main
    config['hostname'], config['port'], config['project'])
  File "/usr/local/bin/git-review", line 389, in check_remote
    add_remote(hostname, port, project, remote)
  File "/usr/local/bin/git-review", line 259, in add_remote
    raise Exception("Error running %s" % cmd)
Exception: Error running git remote add -f gerrit ssh://l10n-bot@gerrit.wikimedia.org:29418/wikimedia/fundraising/DonationEmailUnsubscribe.git

----

Restarting the script works.
Comment 1 Niklas Laxström 2013-04-05 07:01:22 UTC
What is a half existing extension?

The traceback is useless to me. Perhaps someone who knows git-review more closely would know.
Comment 2 Raimond Spekking 2013-04-05 07:24:12 UTC
A "half existing extension" is my wording for an extensions that is somehow created but breaks our script :-)
Comment 3 Siebrand Mazeland 2014-01-07 11:29:59 UTC
Raimond, is the script still exiting prematurely on "bad repos", or do we finally have this under control?
Comment 4 Raimond Spekking 2014-01-07 20:57:54 UTC
(In reply to comment #3)
> Raimond, is the script still exiting prematurely on "bad repos", or do we
> finally have this under control?

Long time not seen ---> FIXED for now.

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


Navigation
Links