command-not-found still suggests git-core for deprecated command git-format-patch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
command-not-found (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bug Description
The command git-format-patch has been deprecated and it will not be in PATH for jaunty. It moved from being stored in /usr/bin/
This deprecation has already caused people to file bugs on git-core, like this one:
https:/
----
Anyway, the current user experience for jaunty is that people type:
git-format-patch BLAH BLAH
and then the command-not-found package will say that the user must install the git-core package to make this command available. The user will then run "sudo apt-get install git-core" and then re-run "git-format-patch BLAH BLAH" only to find that command-not-found still says "git-core" must be installed. USABILITY FAIL.
Instead command-not-found should print a text that says:
git-format-patch command has been deprecated, use 'git format-patch' instead.
If there is no easy way to print such a deprecation message in command-not-found, then I suppose git-format-patch should be delisted in command-not-found (even though this is not an ideal solution).
Note that this bug applies to all the git-* command like git-shell, git-upload-archive etc
This bug was fixed in the package command-not-found - 0.2.31ubuntu2
---------------
command-not-found (0.2.31ubuntu2) jaunty; urgency=low
* scan.data: fix git data (LP: #318433) by updating
to the latest data
-- Michael Vogt <email address hidden> Thu, 22 Jan 2009 08:53:25 +0100