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
F137071167: D29916.id87943.diff
Fri, Nov 21, 2:17 AM
Unknown Object (File)
Mon, Nov 17, 1:15 PM
Unknown Object (File)
Sun, Nov 16, 11:31 PM
Unknown Object (File)
Fri, Nov 14, 3:00 AM
Unknown Object (File)
Sat, Oct 25, 1:31 AM
Unknown Object (File)
Oct 18 2025, 12:11 PM
Unknown Object (File)
Oct 18 2025, 7:27 AM
Unknown Object (File)
Oct 17 2025, 6:45 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