Although this information is already present in manual pages, I think that FreeBSD users would benefit from including a note on how to switch to the latest branch.
This question is being being asked all the time on StackExchange and IRC channels. Sometimes even every few days.
Also, I'd include a short note about how often the official FreeBSD package repository is updated. People ask all the time why the new version of a port, which has just been updated, is not yet available to download via pkg.
Information on how to follow the quarterly portstree would also be useful. Perhaps even more important to be honest? Since the quarterly packages are default nowadays, and considered more stable, then it would only make sense to also follow the quarterly ports. Many users find them self in a mess when the ports and the packages are "out of sync".
I was thinking of writing an example paragraph for this for the Handbook. But I realized that I don't think there's any official way of doing it? There are some shell scripts on the net that does help with it, but it's not something that's shipped with FreeBSD, or something that can be installed from either ports or packages.
For starters the Handbook should at least mention that there are two branches of both packages and ports.
FWIW, I've posted a answer to a similar question on Stack Exchange: https://unix.stackexchange.com/a/433876/128489
Could you create a patch for the handbook with the changes that you have in mind? I'd be happy to review. Thanks.
Created attachment 212171 [details]
Patch for pkg.conf.5 that describes how to change quarterly to latest
I was looking for information about "quarterly" vs "latest" and found the documentation lacking this part.
The information belongs in the man page for pkg.conf as it contains all the relevant other information, with the only exception in the details for "quarterly" and "latest".
I have attached a patch for pkg.conf.5
A commit references this bug:
Date: Sun Mar 22 18:17:18 UTC 2020
New revision: 54009
Add a section about switching pkg from the quarterly branch
to the latest branch.
Submitted by: 0mp@
Approved by: bcr@(mentor)
Differential Revision: https://reviews.freebsd.org/D24151
(In reply to greencoppermine from comment #4)
Thanks for the patch. But the pkg tool resides in the github repo.
Can you please open a PR in this repo?
Sure NP :)