[MacPorts] #30365: Additional option to selfupdate required if major changes take place
#30365: Additional option to selfupdate required if major changes take place --------------------------------+------------------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- My confusion in #30302 came from the fact that a) I wasn't aware that this wasn't a "port selfupdate" like every other (update the port-list and minor updates) b) the relevant point ("- Port images are now stored as archives. Archive mode is now effectively ....") was number 23 in the release notes (if I didn't miscount) If I understand the release notes correctly this isn't going to happen in the near future again. Nevertheless I'd suggest to modify the behaviour of self-update in such a way that if it crosses certain version-numbers a plain port selfupdate will fail with an error message like "This selfupdate will upgrade your MacPorts from 1.8.3 to 2.1. This will do major changes to the way MacPorts is organized. Please check the release notes for 2.0 and make sure you understand them. Then proceed by appending the option --upgrade-2.0 to 'port selfupdate'" That would make sure that dimwits like me don't have the excuse "I didn't read the ReleaseNotes because the upgrade hit me without warning". -- Ticket URL: <https://trac.macports.org/ticket/30365> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30365: Additional option to selfupdate required if major changes take place --------------------------------+------------------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- Changes (by ryandesign@…): * type: request => enhancement Comment: I don't think anything of the sort is necessary. MacPorts 2.0.0 isn't that different from MacPorts 1.9.x. One of our developers just decided we were going to call this release 2.0.0 instead of 1.10.0, and none of the other developers objected too much. There's no way we could have known back when we released MacPorts 1.9 that MacPorts 2.0.0 was going to store installed software differently on disk and that a conversion was going to be necessary. So there's no way we would have known to build an --upgrade-2.0 option into MacPorts at that time. Some selfupdates take longer than others. I don't think this is a problem. If the updates don't work for some reason, then that is a bug we need to fix. -- Ticket URL: <https://trac.macports.org/ticket/30365#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30365: Additional option to selfupdate required if major changes take place --------------------------------+------------------------------------------- Reporter: bgschaid@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.0 Keywords: | Port: --------------------------------+------------------------------------------- Comment(by raimue@…): If you don't want to upgrade your base installation you could have used `port sync`. But the dports tree will usually adapt new base features quite fast. -- Ticket URL: <https://trac.macports.org/ticket/30365#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts