Bug 273514 - Warn about USE_GITHUB as it's not stable longterm
Summary: Warn about USE_GITHUB as it's not stable longterm
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Sergio Carlavilla Delgado
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-02 08:27 UTC by Daniel Engberg
Modified: 2023-09-02 11:08 UTC (History)
3 users (show)

See Also:


Attachments
Update USE_GITHUB section (1.01 KB, patch)
2023-09-02 08:27 UTC, Daniel Engberg
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Engberg freebsd_committer freebsd_triage 2023-09-02 08:27:21 UTC
Created attachment 244579 [details]
Update USE_GITHUB section

We need to look into how to handle USE_GITHUB and ports using *github.com/*/archive/* for longterm stability. This will obviously not only affect FreeBSD so I'm going to assume it's going to be a push from all distros to create release assets.

I apologize if I botched the syntax, I don't know how to generate new docs however I think I got the syntax correct otherwise feel free to submit a fixed version and/or rephrase it.

Reference:
https://github.blog/2023-02-21-update-on-the-future-stability-of-source-code-archives-and-hashes/
Comment 1 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-09-02 08:34:57 UTC
It's fine, will make a little change and make the commit :)
Comment 2 commit-hook freebsd_committer freebsd_triage 2023-09-02 09:26:47 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/doc/commit/?id=8f811215993b7b9ec439ecf1af2acae61fecbc29

commit 8f811215993b7b9ec439ecf1af2acae61fecbc29
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2023-09-02 09:25:19 +0000
Commit:     Sergio Carlavilla Delgado <carlavilla@FreeBSD.org>
CommitDate: 2023-09-02 09:25:19 +0000

    Porter's handbook: Warn about USE_GITHUB as it's not stable longterm

    Some litle tweaks to the patch by carlavilla@

    PR:             273514

 .../content/en/books/porters-handbook/makefiles/_index.adoc        | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 3 Sergio Carlavilla Delgado freebsd_committer freebsd_triage 2023-09-02 09:27:02 UTC
Done!
Comment 4 Daniel Engberg freebsd_committer freebsd_triage 2023-09-02 09:30:32 UTC
Thanks!
Comment 5 Graham Perrin 2023-09-02 11:08:26 UTC
diizzy@ thanks, also FYI bug 258314 comment 3 with regard to GitLab, Gitea and sourcehut.