[MacPorts] #18379: *_select should not list 'current' as a valid version
#18379: *_select should not list 'current' as a valid version --------------------------------+------------------------------------------- Reporter: perry@… | Owner: raimue@… Type: defect | Status: new Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: python_select --------------------------------+------------------------------------------- Using python_select as an example... {{{ perry@phoenix ~/tmp/bin $ python_select -l Available versions: current none python25 python25-apple }}} ... the symlink 'current' should not be displayed. I've attached a patch that modifies the grep pattern to exclude 'current'. -- Ticket URL: <http://trac.macports.org/ticket/18379> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18379: *_select should not list 'current' as a valid version --------------------------------+------------------------------------------- Reporter: perry@… | Owner: raimue@… Type: defect | Status: assigned Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: python_select --------------------------------+------------------------------------------- Changes (by raimue@…): * status: new => assigned Comment: Why should it not be displayed? Selecting 'current' is a valid action and allows to recreate the symlinks without changing the version. -- Ticket URL: <http://trac.macports.org/ticket/18379#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18379: *_select should not list 'current' as a valid version --------------------------------+------------------------------------------- Reporter: perry@… | Owner: raimue@… Type: defect | Status: assigned Priority: Low | Milestone: Port Bugs Component: ports | Version: 1.7.0 Keywords: | Port: python_select --------------------------------+------------------------------------------- Comment(by perry@…): I guess it's more of a personal preference. I saw 'current' as a behind the scenes means to indicate which version is selected (which `python_select -s` shows and uses) rather than a valid version such as python25 and python25-apple. I can see how it'd be useful as a shortcut to recreate the symlinks - i.e., no need to check the currently selected version and then select it - but how often does that case come up? -- Ticket URL: <http://trac.macports.org/ticket/18379#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#18379: *_select should not list 'current' as a valid version ---------------------------------+------------------------------------------ Reporter: perry@… | Owner: raimue@… Type: defect | Status: closed Priority: Low | Milestone: Component: ports | Version: 1.7.0 Resolution: fixed | Keywords: Port: python_select | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: assigned => closed * resolution: => fixed Comment: This isn't shown by 'port select', which is the replacement for the *_select scripts. -- Ticket URL: <https://trac.macports.org/ticket/18379#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts