Skip to content

Commit

Permalink
doc: Document migrate/restore/snapshot in port(1)
Browse files Browse the repository at this point in the history
  • Loading branch information
neverpanic committed Oct 14, 2024
1 parent 92289a9 commit 079ce04
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
29 changes: 29 additions & 0 deletions doc/port.1
Original file line number Diff line number Diff line change
Expand Up @@ -1122,6 +1122,29 @@ gohome
Loads the home page for the given portname in the default web browser\&.
.RE
.PP
migrate
.RS 4
Reinstall MacPorts and all requested ports to ensure a smooth transition after major system changes such as operating system upgrades or CPU architecture changes\&. This automates the migration procedure previously documented at
\m[blue]\fBMigration\fR\m[]\&\s-2\u[1]\d\s+2, which MacPorts recommends you follow after each major OS version upgrade\&. See
\fBport-migrate\fR(1)
for more details\&.
.RE
.PP
snapshot
.RS 4
Create a snapshot of the currently installed ports to restore at a later point in time, e\&.g\&., after an OS upgrade\&. See
\fBport-snapshot\fR(1)
for more information\&.
.RE
.PP
restore
.RS 4
Restore a previously created snapshot of installed ports created using
\fBport-snapshot\fR(1)\&. See
\fBport-restore\fR(1)
for more information\&.
.RE
.PP
usage
.RS 4
Displays a condensed usage summary\&.
Expand Down Expand Up @@ -1362,3 +1385,9 @@ Rainer Mueller <raimue@macports\&.org>
.if n \{\
.RE
.\}
.SH "EXTERNAL REFERENCES"
.IP " 1." 4
Migration
.RS 4
\%https://trac.macports.org/wiki/Migration
.RE
16 changes: 16 additions & 0 deletions doc/port.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,22 @@ reload::
gohome::
Loads the home page for the given portname in the default web browser.

migrate::
Reinstall MacPorts and all requested ports to ensure a smooth transition
after major system changes such as operating system upgrades or CPU
architecture changes. This automates the migration procedure previously
documented at wiki:Migration[], which MacPorts recommends you follow after
each major OS version upgrade. See man:port-migrate[1] for more details.

snapshot::
Create a snapshot of the currently installed ports to restore at a later
point in time, e.g., after an OS upgrade. See man:port-snapshot[1] for more
information.

restore::
Restore a previously created snapshot of installed ports created using
man:port-snapshot[1]. See man:port-restore[1] for more information.

usage::
Displays a condensed usage summary.

Expand Down

0 comments on commit 079ce04

Please sign in to comment.