gitosis not working after upgrade to 9.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gitosis (Debian) |
Fix Released
|
Unknown
|
|||
gitosis (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jaunty |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gitosis
IMPACT: This bug causes the gitosis package to be completely unusable on Jaunty, unless you know to manually install python2.5 (which is not a dependency of the package).
DEVELOPMENT: Fixed in Debian/Karmic by dropping the --install-lib and using --root and --install-
PATCH: Attached as http://
REPRODUCE: Install gitosis (and uninstall python2.5, if you have it). Run gitosis-init. Observe that you get a Python traceback.
REGRESSION: In basic functionality tests, a test build from my PPA seems to work completely. The Python 2.6 package also comes as close to passing its test suite as it did under Python 2.5.
================
Original bug report:
After upgrade to 9.04, gitosis fails with
-----
Traceback (most recent call last):
File "/usr/bin/
from pkg_resources import load_entry_point
File "/usr/lib/
working_
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
-------
I hacked the files /usr/bin/gitosis-* to call python2.5 instead of python and that fixed it, but I guess that this is not the best fix.
Related branches
description: | updated |
Changed in gitosis (Ubuntu Jaunty): | |
assignee: | nobody → Devid Antonio Filoni (d.filoni) |
Changed in gitosis (Debian): | |
status: | Unknown → Fix Released |
Here is the debianb ug: bugs.debian. org/cgi- bin/bugreport. cgi?bug= 508469
http://
And yes - changing the shebang to force python2.5 fixes this, thank god.
This should be marked as CRITICAL as out of the box gitosis is broken on jaunty now.
I am not sure if the fix to the debian package will resolve this or not, but please, can someone grab it and get it into the ubuntu repos?