git: e457b6efe3 - main - books/porters-handbook: Fix numerous mismatches in section 11.1
Ka Ho Ng
khng at FreeBSD.org
Thu Apr 22 08:23:17 UTC 2021
The branch main has been updated by khng (src committer):
URL: https://cgit.FreeBSD.org/doc/commit/?id=e457b6efe37c739fdad985344a64a3ac0c4dfe6b
commit e457b6efe37c739fdad985344a64a3ac0c4dfe6b
Author: Ka Ho Ng <khng at FreeBSD.org>
AuthorDate: 2021-04-22 07:04:59 +0000
Commit: Ka Ho Ng <khng at FreeBSD.org>
CommitDate: 2021-04-22 08:20:59 +0000
books/porters-handbook: Fix numerous mismatches in section 11.1
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 at gundo.com>
Approved by: 0mp
Differential Revision: https://reviews.freebsd.org/D29916
---
.../content/en/books/porters-handbook/upgrading/_index.adoc | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/documentation/content/en/books/porters-handbook/upgrading/_index.adoc b/documentation/content/en/books/porters-handbook/upgrading/_index.adoc
index 1b383ebfa0..69b161d486 100644
--- a/documentation/content/en/books/porters-handbook/upgrading/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/upgrading/_index.adoc
@@ -87,14 +87,13 @@ When possible, please submit a man:git[1] diff. They are easier to handle than d
[source,shell]
....
-% cd ~/my_ports_wrkdir <.>
-% git clone https://git.FreeBSD.org/ports.git <.>
+% git clone https://git.FreeBSD.org/ports.git ~/my_wrkdir <.> <.>
% cd ~/my_wrkdir/dns/pdnsd
....
<.> This can be anywhere, of course. Building ports is not limited to within [.filename]#/usr/ports/#.
-<.> https://git.FreeBSD.org/[git.FreeBSD.org] is the FreeBSD public Git server. See link:{handbook}#svn-mirrors[Subversion mirror sites] for more information.
+<.> https://git.FreeBSD.org/[git.FreeBSD.org] is the FreeBSD public Git server. See link:{handbook}mirrors/#git-url-table[FreeBSD Git Repository URL Table] for more information.
While in the port directory, make any changes that are needed. If adding, moving, or removing a file, use `git` to track these changes:
More information about the dev-commits-doc-all
mailing list