Bug 231458 - pkg(8) defaults to quarterly, portsnap(8) doesn't
Summary: pkg(8) defaults to quarterly, portsnap(8) doesn't
Status: Open
Alias: None
Product: Services
Classification: Unclassified
Component: Portsnap (show other bugs)
Version: unspecified
Hardware: Any Any
: --- Affects Only Me
Assignee: Colin Percival
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-18 16:55 UTC by Edward Tomasz Napierala
Modified: 2019-02-15 18:33 UTC (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Tomasz Napierala freebsd_committer 2018-09-18 16:55:18 UTC
On releases (as opposed to CURRENT), pkg(8) defaults to the quarterly branch.  The portsnap(8), however, doesn't.  This means the user who wants to build a port from source (for whatever reasons) might hit a conflict.  The portsnap(8) should either default to quarterly as well, or it should warn the user about the situation.
Comment 1 Brad Davis freebsd_committer 2018-09-19 09:53:35 UTC
Portsnap does not handle branches at all, so cannot help with this.  The user should use svn to checkout a tree.

Is this documented somewhere?
Comment 2 Jack-Benny Persson 2018-11-03 03:34:25 UTC
I think the best solution would be to implement a way to choose which branch to follow with portsnap (just as with pkg). And then, as Edward pointed out, a warning if portsnap isn't following the same branch as pkg.
Comment 3 Jack-Benny Persson 2018-11-03 03:38:54 UTC
(In reply to Jack-Benny Persson from comment #2)

Sorry, I missed Brad's comment that Portsnap dosen't handle branches at all...
Comment 4 Jack-Benny Persson 2018-11-03 06:08:17 UTC
(In reply to Brad Davis from comment #1)

Unfortunately no, see bug #228333
Comment 5 Jochen Neumeister freebsd_committer 2019-02-15 18:33:38 UTC
what is the current status?
Does ports-secteam have to be active here?