gitview should be in /usr/bin/

Bug #152212 reported by Chris Lasher
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
git-core (Ubuntu)
Confirmed
Undecided
Unassigned
Nominated for Karmic by Lucian Adrian Grijincu

Bug Description

Binary package hint: git-core

The file gitview, which is a Python executable script, should be installed in /usr/bin/, not /usr/share/doc/git-core/contrib/gitview/, and it should be installed with execution bit permissions set for all.

Revision history for this message
Chris Lasher (chris.lasher) wrote :

I just noticed this conflicts with the gitview installed by the package git, for the GNU Interactive Tools. This issue will need resolution.

Revision history for this message
Emil Sit (emilsit) wrote :

gitview appears to work out of the box on Hardy (e.g. "python /usr/share/doc/git-core/contrib/gitview/gitview" inside a git repository) because its dependencies (python-gtk2 and python-cairo) are installed as part of the -desktop metapackages.

This does raise the question of whether things in contrib (like gitview) should be explicitly packaged. If it is decided to package gitview, for consistency with gitk, a separate package that conflicts with the git package and depends on python, python-gtk2 and python-cairo.

I'll mark this as confirmed to maybe raise it on some people's radars.

Changed in git-core:
status: New → Confirmed
Revision history for this message
Adam Buchbinder (adam-buchbinder) wrote :

This is a bit confusing: when I want to use a command, usually I type it in to see what package I need to install for it. Though I already have git-core installed, typing 'gitview' tells me I need to install gnuit, which is not what I want. Having read this report, I've worked around it by installing a script running "python /usr/share/doc/git-core/contrib/gitview/gitview" in ~/bin, but maybe it would be best to rename the program git-view or something like that for a general solution?

Revision history for this message
Chris Lasher (chris.lasher) wrote :

Renaming to git-view makes sense, as it sticks with the naming convention of other git commands.

Revision history for this message
Lucian Adrian Grijincu (lucian.grijincu) wrote :

This is not solved in any way in Karmic.
Neither of these work:
$ git view
$ git-view
$ gitview

Only this works:
$ python /usr/share/doc/git-core/contrib/gitview/gitview

Revision history for this message
Troy R. (dsm-iv-tr) wrote :

+100. This needs to be fixed.

All that's needed is a cheap wrapper script for /usr/bin to make this (extremely useful and clean looking) tool useful. It could be installed and/or created by the package installation.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.