From owner-dev-commits-doc-all@freebsd.org Tue Apr 6 15:34:14 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 948F05D5AB2 for ; Tue, 6 Apr 2021 15:34:14 +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 4FFBQZ3qx0z3Q7K; Tue, 6 Apr 2021 15:34:14 +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 768636A0E; Tue, 6 Apr 2021 15:34:14 +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 136FYExk090691; Tue, 6 Apr 2021 15:34:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 136FYEfc090690; Tue, 6 Apr 2021 15:34:14 GMT (envelope-from git) Date: Tue, 6 Apr 2021 15:34:14 GMT Message-Id: <202104061534.136FYEfc090690@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Ed Maste Subject: git: 713410cb2c - main - Update advisory templates for Git MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: emaste X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 713410cb2ca0a7dcdfd00fab203a16a0515b596f 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: Tue, 06 Apr 2021 15:34:14 -0000 The branch main has been updated by emaste (src committer): URL: https://cgit.FreeBSD.org/doc/commit/?id=713410cb2ca0a7dcdfd00fab203a16a0515b596f commit 713410cb2ca0a7dcdfd00fab203a16a0515b596f Author: Ed Maste AuthorDate: 2021-04-06 13:58:58 +0000 Commit: Ed Maste CommitDate: 2021-04-06 15:32:13 +0000 Update advisory templates for Git Reviewed by: gjb, markj Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D29596 --- website/static/security/advisory-template.txt | 29 +++++++++++++++++++++------ website/static/security/errata-template.txt | 29 +++++++++++++++++++-------- 2 files changed, 44 insertions(+), 14 deletions(-) diff --git a/website/static/security/advisory-template.txt b/website/static/security/advisory-template.txt index 71c4b4372a..6eb6edb6ef 100644 --- a/website/static/security/advisory-template.txt +++ b/website/static/security/advisory-template.txt @@ -114,19 +114,36 @@ VI. Correction details The following list contains the correction revision numbers for each affected branch. -Branch/path Revision +Branch/path Hash Revision ------------------------------------------------------------------------- -stable/13/ rXXXXXX -releng/13.0/ rXXXXXX +stable/13/ XXXXXXXXXXXX stable/13-nXXXXXX +releng/13.0/ XXXXXXXXXXXX releng/13.0-nXXXXXX stable/12/ rXXXXXX releng/12.2/ rXXXXXX stable/11/ rXXXXXX releng/11.4/ rXXXXXX ------------------------------------------------------------------------- -To see which files were modified by a particular revision, run the -following command, replacing NNNNNN with the revision number, on a -machine with Subversion installed: +For FreeBSD 13 and later: + +Run the following command to see which files were modified by a +particular commit: + +# git show --stat + +Or visit the following URL, replacing XXXXXX with the hash: + + + +To determine the commit count in a working tree (for comparison against +nNNNNNN in the table above), run: + +# git rev-list --count --first-parent HEAD + +For FreeBSD 12 and earlier: + +Run the following command to see which files were modified by a particular +revision, replacing NNNNNN with the revision number: # svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base diff --git a/website/static/security/errata-template.txt b/website/static/security/errata-template.txt index 9d78362e6d..06433c318e 100644 --- a/website/static/security/errata-template.txt +++ b/website/static/security/errata-template.txt @@ -114,23 +114,36 @@ VI. Correction details The following list contains the correction revision numbers for each affected branch. -Branch/path Revision +Branch/path Hash Revision ------------------------------------------------------------------------- -stable/13/ rXXXXXX -releng/13.0/ rXXXXXX +stable/13/ XXXXXXXXXXXX stable/13-nXXXXXX +releng/13.0/ XXXXXXXXXXXX releng/13.0-nXXXXXX stable/12/ rXXXXXX releng/12.2/ rXXXXXX stable/11/ rXXXXXX releng/11.4/ rXXXXXX ------------------------------------------------------------------------- -To see which files were modified by a particular revision, run the -following command, replacing NNNNNN with the revision number, on a -machine with Subversion installed: +For FreeBSD 13 and later: -# svn diff -cNNNNNN --summarize svn://svn.freebsd.org/base +Run the following command to see which files were modified by a +particular commit: -Or visit the following URL, replacing NNNNNN with the revision number: +# git show --stat + +Or visit the following URL, replacing XXXXXX with the hash: + + + +To determine the commit count in a working tree (for comparison against +nNNNNNN in the table above), run: + +# git rev-list --count --first-parent HEAD + +For FreeBSD 12 and earlier: + +Run the following command to see which files were modified by a particular +revision, replacing NNNNNN with the revision number: