Last modified: 2014-07-24 01:42:34 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 T64871, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 62871 - Install git review on tools
Install git review on tools
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: Unprioritized enhancement
: ---
Assigned To: Tim Landscheidt
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-03-20 16:00 UTC by Amir Ladsgroup
Modified: 2014-07-24 01:42 UTC (History)
3 users (show)

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


Attachments

Description Amir Ladsgroup 2014-03-20 16:00:05 UTC
It was already installed on tools but due to the migration it's not there

It's a pretty necessary package for software development [1]

[1]: http://www.mediawiki.org/wiki/Gerrit/git-review

Best
Comment 1 Gerrit Notification Bot 2014-03-20 16:09:56 UTC
Change 118595 had a related patch set uploaded by Tim Landscheidt:
Tools: Install packages git-review and joe

https://gerrit.wikimedia.org/r/118595
Comment 2 Gerrit Notification Bot 2014-03-20 16:15:05 UTC
Change 118595 merged by Andrew Bogott:
Tools: Install packages git-review and joe

https://gerrit.wikimedia.org/r/118595
Comment 3 Amir Ladsgroup 2014-07-23 20:41:37 UTC
I need gerrit review in exec_environment (in order to be able to use it while using jsub)
Comment 4 Tim Landscheidt 2014-07-24 01:42:34 UTC
It is already included in exec_environ (cf. http://git.wikimedia.org/blob/operations%2Fpuppet.git/production/modules%2Ftoollabs%2Fmanifests%2Fexec_environ.pp#L283) and, indeed, it is installed on all exec nodes:

| [tim@passepartout ~]$ pdsh -f 1 -w tools-exec-0[1-9].eqiad.wmflabs -w tools-exec-1[0-3].eqiad.wmflabs 'if dpkg-query -s git-review > /dev/null 2>&1; then echo Installed.; else echo Not installed.; fi'
| tools-exec-01: Installed.
| tools-exec-02: Installed.
| tools-exec-03: Installed.
| tools-exec-04: Installed.
| tools-exec-05: Installed.
| tools-exec-06: Installed.
| tools-exec-07: Installed.
| tools-exec-08: Installed.
| tools-exec-09: Installed.
| tools-exec-10: Installed.
| tools-exec-11: Installed.
| tools-exec-12: Installed.
| tools-exec-13: Installed.
| [tim@passepartout ~]$

I've had a look at your scripts and unfortunately they're too complicated to make a quick assessment why "git review" is failing.  I do note however that you are trying to execute it from within Python via subprocess.Popen(), so I added a debug print of $PATH to maintenance1.py and maintenance4.py.  Please ping me in #wikimedia-labs when you get another failure.

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


Navigation
Links