[Bug 1867157] [NEW] Improve command-not-found package headers
Dimitri John Ledkov
launchpad at surgut.co.uk
Thu Mar 12 14:21:27 UTC 2020
Public bug reported:
Improve command-not-found package headers
command-not-found uses package metadata, and to improve the UX of the misspelled commands / proposed packages.
python2.7-minimal should gain XB-Cnf-Visible-Pkgname: python2.7
python3.8-minimal should gain XB-Cnf-Visible-Pkgname: python3.8
python2-minimal should gain XB-Cnf-Visible-Pkgname: python2
python3-minimal should gain XB-Cnf-Visible-Pkgname: python3
This will then improve these messages from:
"""
command 'python2.7' from deb python2.7-minimal (2.7.17-1)
command 'python3.8' from deb python3.8-minimal (3.8.0-5)
command 'python2' from deb python2-minimal (2.7.17-2)
command 'python3' from deb python3-minimal (3.7.5-1ubuntu1)
"""
To
"""
command 'python2.7' from deb python2.7 (2.7.17-1)
command 'python3.8' from deb python3.8 (3.8.0-5)
command 'python2' from deb python2 (2.7.17-2)
command 'python3' from deb python3 (3.7.5-1ubuntu1)
"""
python3 should drop
XB-Cnf-Extra-Commands: python
XB-Cnf-Priority-Bonus: 5
Such that it stops suggesting that somehow python is available from
python3 package, which is a lie.
There is a special case for "python" command hint in command-not-found
already, which simply points people to "python3".
** Affects: python-defaults (Ubuntu)
Importance: Undecided
Status: New
** Affects: python2.7 (Ubuntu)
Importance: Undecided
Status: New
** Affects: python3-defaults (Ubuntu)
Importance: Undecided
Status: New
** Affects: python3.8 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: python3-defaults (Ubuntu)
Importance: Undecided
Status: New
** Also affects: python2.7 (Ubuntu)
Importance: Undecided
Status: New
** Also affects: python3.8 (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python-defaults in Ubuntu.
https://bugs.launchpad.net/bugs/1867157
Title:
Improve command-not-found package headers
Status in python-defaults package in Ubuntu:
New
Status in python2.7 package in Ubuntu:
New
Status in python3-defaults package in Ubuntu:
New
Status in python3.8 package in Ubuntu:
New
Bug description:
Improve command-not-found package headers
command-not-found uses package metadata, and to improve the UX of the misspelled commands / proposed packages.
python2.7-minimal should gain XB-Cnf-Visible-Pkgname: python2.7
python3.8-minimal should gain XB-Cnf-Visible-Pkgname: python3.8
python2-minimal should gain XB-Cnf-Visible-Pkgname: python2
python3-minimal should gain XB-Cnf-Visible-Pkgname: python3
This will then improve these messages from:
"""
command 'python2.7' from deb python2.7-minimal (2.7.17-1)
command 'python3.8' from deb python3.8-minimal (3.8.0-5)
command 'python2' from deb python2-minimal (2.7.17-2)
command 'python3' from deb python3-minimal (3.7.5-1ubuntu1)
"""
To
"""
command 'python2.7' from deb python2.7 (2.7.17-1)
command 'python3.8' from deb python3.8 (3.8.0-5)
command 'python2' from deb python2 (2.7.17-2)
command 'python3' from deb python3 (3.7.5-1ubuntu1)
"""
python3 should drop
XB-Cnf-Extra-Commands: python
XB-Cnf-Priority-Bonus: 5
Such that it stops suggesting that somehow python is available from
python3 package, which is a lie.
There is a special case for "python" command hint in command-not-found
already, which simply points people to "python3".
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-defaults/+bug/1867157/+subscriptions
More information about the foundations-bugs
mailing list