Page MenuHomeFreeBSD

books/porters-handbook: Fix numerous mismatches in section 11.1
ClosedPublic

Authored by khng on Apr 22 2021, 7:15 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Mar 17, 3:47 AM
Unknown Object (File)
Tue, Mar 17, 1:22 AM
Unknown Object (File)
Mon, Mar 9, 7:12 PM
Unknown Object (File)
Feb 10 2026, 3:01 AM
Unknown Object (File)
Feb 9 2026, 3:39 AM
Unknown Object (File)
Feb 6 2026, 10:50 PM
Unknown Object (File)
Jan 12 2026, 6:56 PM
Unknown Object (File)
Jan 12 2026, 7:51 AM
Subscribers

Details

Summary

In step 1 users were told to do "cd ~/my_ports_wrkdir" but after clone
the repository users were instead told to do "cd ~/my_wrkdir". Also, the
git command in step 2 is not followed by either of them. The mirror
sites table is outdated as well.

This fix changes the whole shell code block to use the directory name
my_wrkdir. Also, the repository URL table xref replaces the old SVN
mirror sites xref.

Reported by: Pau Amma <pauamma@gundo.com>

Diff Detail

Repository
R9 FreeBSD doc repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

khng requested review of this revision.Apr 22 2021, 7:15 AM
khng created this revision.
0mp requested changes to this revision.Apr 22 2021, 7:29 AM
0mp added a subscriber: 0mp.
0mp added inline comments.
documentation/content/en/books/porters-handbook/upgrading/_index.adoc
90

Id' remove this line completely.

91
This revision now requires changes to proceed.Apr 22 2021, 7:29 AM

Remove the first cd completely, and prepend the git target directory path with tilde

khng marked 2 inline comments as done.Apr 22 2021, 7:34 AM
0mp requested changes to this revision.Apr 22 2021, 7:47 AM
0mp added inline comments.
documentation/content/en/books/porters-handbook/upgrading/_index.adoc
96

As we are fixing this example anyway, perhaps we could point to the correct section in the handbook as well. For example, to the git-url-table in the mirrors chapter?

This revision now requires changes to proceed.Apr 22 2021, 7:47 AM
documentation/content/en/books/porters-handbook/upgrading/_index.adoc
96

As of 16ca20a527bce7d537375f6fab179549c07fe723 it is called "FreeBSD Git Repository URL Table".

khng retitled this revision from books/porters-handbook: Fix "cd" mismatch in section 11.1 to books/porters-handbook: Fix numerous mismatches in section 11.1.Apr 22 2021, 8:01 AM
khng edited the summary of this revision. (Show Details)

Fix the repo xref as well.

Awesome, thanks a lot!

This revision is now accepted and ready to land.Apr 22 2021, 8:04 AM