[Bug 318433] [NEW] command-not-found still suggests git-core for deprecated command git-format-patch

martin mnemo at minimum.se
Sun Jan 18 13:01:02 UTC 2009


Public bug reported:

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/git-format-patch
for intrepid to being stored in /usr/lib/git-core/git-format-patch in
jaunty (this is just while phasing it out though).

This deprecation has already caused people to file bugs on git-core, like this one:
https://bugs.launchpad.net/ubuntu/+source/git-core/+bug/301905

----

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

** Affects: command-not-found (Ubuntu)
     Importance: Undecided
         Status: New

-- 
command-not-found still suggests git-core for deprecated command git-format-patch
https://bugs.launchpad.net/bugs/318433
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list