From nobody Thu Sep 7 18:29:51 2023 X-Original-To: doc@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RhSTC4WLyz4ssyt for ; Thu, 7 Sep 2023 18:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@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 4RhSTC3Lllz3J49 for ; Thu, 7 Sep 2023 18:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1694111391; a=rsa-sha256; cv=none; b=pvM9RdLFtIxzli075QS39/9geOENrBLA7CO1Fs9ygA49S9/L9PlnycPtBjfcoiaG/rTSwS f6PHuKFH5EdUb+TQ9m3Ei0OXdvDIvq6cxIo/JidycLIYOiC7Aza4Rv40ENyQ529EPlYYkD OPULTDOz1+ufPR8FRJxnMMzidACIMT7xsGTG3pvrPatiwJ5OmUt2sz/kDUbkcmaGUGR4I4 nfNRvocbMTxmSa2i7X3+IML7ykPjBkjZR4xS97uj7X05VwZn5+/IU80Z8bTS7qxvMwQffZ Q0fRt3z9tt0rd4MVqvlS0XQOUVNPcyoFq/+4z1g9MC3gEMnsHs2HUcqMI+b9cA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1694111391; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cAVCC8yMqetsOvipONhF2Vmm48Ys1CjHAuoI4db8gJ8=; b=AlywtdRmERis64J9Y2UQmq6KukETQY/za/tprtjNE6UEb1L373Ya8r7/II7XoqudB6ubeS AclKA4akNOs9ybuc/N9LtCTdYDfXWD1sxNhtCQ3dwqUz5rHII66rObo092mGFPzaYYxqIf GQFQ6gHsA784ZKOcfd514Eg5jWf8IAUALJ5v3BR6bM499Fgf4AsRK3uuMQv3pDYqFKC+d+ zGJAnAfVVH6yw6DB1vxtwVVBp7QNLevmVcq/ngsFyBDNffnLwl1x0rW1QwYLJ8nUoD8zGW zwSuRf20lP3emR7tzhOdVmUym3RyYVopTbWwn0mfxTqIMNJUWCyaesVKjav5Cg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4RhSTC2DjZz194k for ; Thu, 7 Sep 2023 18:29:51 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 387ITpx0009014 for ; Thu, 7 Sep 2023 18:29:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 387ITphG009013 for doc@FreeBSD.org; Thu, 7 Sep 2023 18:29:51 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: doc@FreeBSD.org Subject: [Bug 273574] Committer's Guide: Change the way to install commit message template hook Date: Thu, 07 Sep 2023 18:29:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Books & Articles X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: carlavilla@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D273574 --- Comment #1 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/doc/commit/?id=3D2c37efcbbbe845eab97517b90d099a22b= c32c67c commit 2c37efcbbbe845eab97517b90d099a22bc32c67c Author: Yasuhiro Kimura AuthorDate: 2023-09-07 18:27:39 +0000 Commit: Sergio Carlavilla Delgado CommitDate: 2023-09-07 18:27:39 +0000 Committer's: Change the way to install commit template hook Currently commit message template hook is installed as following. * The one for src repository is also used for doc and ports. * The file is downloaded through web interface (https://cgit.freebsd.or= g/) and installed under .git/hooks. However, * Both doc and ports repositories have their own hooks inside them. So = it is obviously better to use them than using the one for src repository. * For src repository committer need to download and install hook file e= ach time it is updated. So change the way to install commit message template hook as following. * For doc and src repository, create symbolic link under '.git/hooks' t= hat points to real hook file. * For ports repository. set the path to look for hooks to '.hooks'. Thi= s is because ports repository also provides some other hooks and creating symbol= ic link for each of them is bothersome. PR: 273574 .../en/articles/committers-guide/_index.adoc | 21 +++++++++++++++++= ++-- 1 file changed, 19 insertions(+), 2 deletions(-) --=20 You are receiving this mail because: You are on the CC list for the bug.=