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)
Fri, Jan 17, 1:24 PM
Unknown Object (File)
Tue, Jan 14, 12:28 AM
Unknown Object (File)
Wed, Dec 25, 1:53 PM
Unknown Object (File)
Nov 30 2024, 10:35 PM
Unknown Object (File)
Nov 30 2024, 10:34 PM
Unknown Object (File)
Nov 30 2024, 10:34 PM
Unknown Object (File)
Nov 30 2024, 10:34 PM
Unknown Object (File)
Nov 30 2024, 10:34 PM
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
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 38795
Build 35684: arc lint + arc unit

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