Summary: | app-eselect/eselect-python: "eselect python set N" should output a confirmation of the selected option | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Andrew Church <achurch+gentoo> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | UNCONFIRMED --- | ||
Severity: | enhancement | CC: | gentoo, ionen |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 874351 | ||
Attachments: | Trivial patch to add set feedback |
Description
Andrew Church
2022-10-03 10:20:42 UTC
eselect-python is pretty much in "serious bugs only" maintenance mode now (see news items from a while ago). Patches welcome. I'm not familiar with the inner workings of eselect, but if this functionality is added to eselect-wine (bug 874612), I'll see if I can do the same here. (In reply to Andrew Church from comment #2) > I'm not familiar with the inner workings of eselect, but if this > functionality is added to eselect-wine (bug 874612), I'll see if I can do > the same here. eselect doesn't have a designated command for set feedback (only warning, error, and list display), so as far as eselect-wine goes this is just going to be "echo $this happened" to be simple gcc-config has different toys to play with (like ebegin/eend) given it loads /lib/gentoo/functions.sh (gcc's eselect module is just a wrapper to gcc-config) That aside, eselect-python is not really used anymore so I'm not sure if it makes sense to improve it (guess some users still like the list and not having to edit python-exec.conf by hand, fwiw). Created attachment 846346 [details, diff]
Trivial patch to add set feedback
A bit belated since I only just found time to get back to this, but it looks like this trivial patch should do what I was looking for.
|