Portsnap and new git ports tree

doug at safeport.com doug at safeport.com
Wed Apr 7 15:12:21 UTC 2021


On Wed, 7 Apr 2021, Daniel Stevenson wrote:

> On Wednesday, April 7th, 2021 at 08:54, Daniel Stevenson <daniel at dstev.net> wrote:
>> On Wednesday, April 7th, 2021 at 08:23, Arthur Barlow arthurbarlow at gmail.com wrote:
>>> Anyone know when portsnap will be able to work with the new ports tree on
>>> github?
>>
>> No, portsnap does not support Git. I would recommend using net/gitup from ports
>> instead and altering the "ports" section in /usr/local/etc/gitup.conf to look
>> like this:
>>
>> ....
>> "ports" : {
>>         "repository" : "ports.git",
>>         "branch" : "main",
>>         "target" : "/usr/ports",
>>         "ignores" : [
>>                 "distfiles",
>>                 "packages",
>>         ],
>> },
>> ....
>
> My bad, the "repository" line should read:
> ....
> "repository" : "/ports.git",
> ....
>
> Sorry for the confusion!
>

I assume EOL for portsnap is in the near future. Including this information 
in the "Support Lifecycle" "How to update your system" section would be 
nice. This does assume that the ports tree is considered part of the base 
system.


More information about the freebsd-questions mailing list