[MacPorts] #19433: "port upgrade all" should be diagnosed as an error
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ If the command is 'port upgrade all', the port command should look to see if there are any members of 'all' that are not installed, and diagnose this usage as incorrect, AND suggest that perhaps the user meant 'port upgrade oudated'. You may find this useful http://developer.apple.com/documentation/userexperience/Conceptual/AppleHIGu... See also #19428 -- Ticket URL: <http://trac.macports.org/ticket/19433> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Comment(by raimue@…): We never instruct to use `port upgrade all`, so I don't see why you would do this at all. The error message that the requested port is not installed is clear enough, isn't it? -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Changes (by raimue@…): * type: defect => enhancement * milestone: Port Bugs => MacPorts Future -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: ports | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Comment(by Dave@…): Replying to [comment:1 raimue@…]:
We never instruct to use `port upgrade all`, so I don't see why you would do this at all. The error message that the requested port is not installed is clear enough, isn't it?
It's a reasonable mistake, I think. -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Changes (by jmr@…): * component: ports => base -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Comment(by banshee@…): Speaking as a new user, it was completely obvious to me that 'port upgrade all' would mean to upgrade everything I've got installed. It's exactly like "apt-get upgrade all" . An error message explaining that "all" means something else would have been very helpful. The current errors aren't useful at all. I asked for "all" and it starts complaining about software that I've never installed. It makes sense, eventually, after you find out that "all" doesn't mean what you think it does. -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts 1.7.1 Component: base | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * cc: jmr@… (added) * milestone: MacPorts Future => MacPorts 1.7.1 Comment: The ChangeLog for MacPorts 1.7.1 says Joshua fixed this in r46052. Are you still seeing a problem with MacPorts 1.7.1? I get, e.g. {{{ $ port installed zope None of the specified ports are installed. $ port upgrade zope Error: zope is not installed $ }}} -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts 1.7.1 Component: base | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Comment(by ryandesign@…): Replying to [comment:6 ryandesign@…]:
Joshua fixed this in r46052. That is to say, Joshua fixed it in 1.7.1 so that "port upgrade all" no longer tries to install all ports (!). But if the request is to provide a better error message than
{{{ $ port upgrade all Error: 2Pong is not installed $ }}} then that request is still outstanding. -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Changes (by ryandesign@…): * milestone: MacPorts 1.7.1 => MacPorts Future -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19433: "port upgrade all" should be diagnosed as an error ---------------------------+------------------------------------------------ Reporter: Dave@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: MacPorts Future Component: base | Version: 1.7.1 Keywords: | Port: ---------------------------+------------------------------------------------ Changes (by jmr@…): * cc: jmr@… (removed) -- Ticket URL: <http://trac.macports.org/ticket/19433#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts