git: d9a2dd465a - main - porters-handbook: Use full-length hashes in GH_TAGNAME
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Jun 2026 18:33:15 UTC
The branch main has been updated by emaste:
URL: https://cgit.FreeBSD.org/doc/commit/?id=d9a2dd465a3c89dd68211a7c0a7ec2c556c4c643
commit d9a2dd465a3c89dd68211a7c0a7ec2c556c4c643
Author: Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2026-06-27 12:18:00 +0000
Commit: Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-06-27 18:24:20 +0000
porters-handbook: Use full-length hashes in GH_TAGNAME
Full hashes avoid possible conflicts, at the cost of a small increase in
some path names.
About 1/3 of the existing GH_TAGNAMEs in the ports tree are already full
40-character hashes.
Reviewed by: bcr
Event: Halifax Hackathon 202606
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57901
---
documentation/content/en/books/porters-handbook/makefiles/_index.adoc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
index 801ffd5066..8415ede9a4 100644
--- a/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
+++ b/documentation/content/en/books/porters-handbook/makefiles/_index.adoc
@@ -1540,7 +1540,7 @@ DISTVERSION= 2.7.4.20260626
USE_GITHUB= yes
GH_ACCOUNT= freebsd
GH_PROJECT= pkg
-GH_TAGNAME= 2678d2b
+GH_TAGNAME= 2678d2b6a8ca3cf80cb4dbc8da557a2998e1b5c0
....
It will automatically have `MASTER_SITES` set to `GH` and `WRKSRC` to `${WRKDIR}/pkg-6dbb17b`.
@@ -1585,7 +1585,7 @@ PORTNAME= bar
DISTVERSION= g20260626
USE_GITHUB= yes
-GH_TAGNAME= c472d66b
+GH_TAGNAME= c472d66b70dd603bf9e67607f0869639276796ce
....
This creates a versioning scheme that increases over time, and that is still before version `0`.