[MacPorts] #30739: selfupdate should sync last not first
#30739: selfupdate should sync last not first -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.1 Keywords: | Port: -------------------------------------+-------------------------------------- selfupdate syncs the ports tree and then builds the new version of MacPorts. Which means that you've got a new ports tree, full of ports that have new MacPorts 2.0 commands, trying to be parsed by MacPorts 1.9.2, failing, generating tons of errors while trying to build the new portindex: {{{ Adding port textproc/xercesc3 Failed to parse file textproc/xmlcatmgr/Portfile: invalid command name "installs_libs" Adding port textproc/xmlresume2x Failed to parse file textproc/xmlto/Portfile: invalid command name "installs_libs" Adding port www/ZendFramework }}} selfupdate should first update base, then sync the ports tree with that new version of base. Or if it's not possible to relaunch itself, then it should exit after updating base and tell the user to run selfupdate again. -- Ticket URL: <https://trac.macports.org/ticket/30739> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30739: selfupdate should sync last not first -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by jmr@…): Yeah, it's not safe to keep running after base files have been changed. -- Ticket URL: <https://trac.macports.org/ticket/30739#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30739: selfupdate should sync last not first -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by jmr@…): Seems like it would be easier to just not generate the portindex locally if base is outdated. -- Ticket URL: <https://trac.macports.org/ticket/30739#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30739: selfupdate should sync last not first -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by ryandesign@…): FYI I'm syncing with svn so updating the portindex locally is the only way it ever gets updated. -- Ticket URL: <https://trac.macports.org/ticket/30739#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30739: selfupdate should sync last not first -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.1 Keywords: | Port: -------------------------------------+-------------------------------------- Comment(by dports@…): This is probably a good idea, but note that even if we change it and release a new base version, it won't help people upgrading from 1.9.x (they'll be running the old selfupdate code, obviously). -- Ticket URL: <https://trac.macports.org/ticket/30739#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30739: selfupdate should not run portindex when base is outdated --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 2.0.2 Component: base | Version: 2.0.1 Resolution: fixed | Keywords: Port: | --------------------------------------+------------------------------------- Changes (by jmr@…): * status: new => closed * milestone: => MacPorts 2.0.2 * resolution: => fixed Comment: r83271 -- Ticket URL: <https://trac.macports.org/ticket/30739#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts