[MacPorts] SummerOfCode modified
MacPorts
noreply at macports.org
Wed Mar 8 23:04:20 UTC 2017
Page "SummerOfCode" was changed by neverpanic
Diff URL: <https://trac.macports.org/wiki/SummerOfCode?action=diff&version=273>
Revision 273
Comment: Add some more detail to the migration task
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: SummerOfCode
=========================================================================
--- SummerOfCode (version: 272)
+++ SummerOfCode (version: 273)
@@ -105,7 +105,12 @@
Currently when MacPorts users upgrade to a new OS or hardware they are advised to follow a set of manual [https://trac.macports.org/wiki/Migration migration instructions]. These instructions can be challenging for casual users to follow and in some cases more difficult if executed after the OS upgrade or hardware change.
-The goal of the new port migrate action is to automate the processes described in the migration documentation.
+The goal of the new port migrate action is to automate the processes described in the migration documentation. The steps to migrate would be roughly:
+
+1. Rebuild MacPorts itself (e.g. by invoking selfupdate) if it has not been rebuilt for the new OS already. MacPorts has a version field compiled in that allows tracking this.
+2. Store a copy of all installed ports with their variants so the same exact set can be re-installed.
+3. Deactivate all installed ports.
+4. Re-install all ports from the stored list of ports. Properly deal with interruptions and resuming so that failures during this procedure can be separately debugged and the migration re-attempted.
* Difficulty: Medium
* Languages: Tcl, SQL
-------8<------8<------8<------8<------8<------8<------8<------8<--------
--
Page URL: <https://trac.macports.org/wiki/SummerOfCode>
MacPorts <https://www.macports.org/>
Ports system for macOS
This is an automated message. Someone added your email address to be
notified of changes on 'SummerOfCode' page.
If it was not you, please report to admin at macports.org.
More information about the macports-changes
mailing list