From owner-dev-commits-doc-all@freebsd.org Thu Apr 22 08:23:17 2021 Return-Path: Delivered-To: dev-commits-doc-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 06E035E486A for ; Thu, 22 Apr 2021 08:23:17 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FQr5w6lBLz3JY5; Thu, 22 Apr 2021 08:23:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id DAA5C16A15; Thu, 22 Apr 2021 08:23:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 13M8NGCb074384; Thu, 22 Apr 2021 08:23:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 13M8NGJj074383; Thu, 22 Apr 2021 08:23:16 GMT (envelope-from git) Date: Thu, 22 Apr 2021 08:23:16 GMT Message-Id: <202104220823.13M8NGJj074383@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Ka Ho Ng Subject: git: e457b6efe3 - main - books/porters-handbook: Fix numerous mismatches in section 11.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: khng X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e457b6efe37c739fdad985344a64a3ac0c4dfe6b Auto-Submitted: auto-generated X-BeenThere: dev-commits-doc-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the doc repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 22 Apr 2021 08:23:17 -0000 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 AuthorDate: 2021-04-22 07:04:59 +0000 Commit: Ka Ho Ng 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 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: