Portsnap and new git ports tree

Daniel Stevenson daniel at dstev.net
Wed Apr 7 14:32:04 UTC 2021


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!

--
Daniel Stevenson


More information about the freebsd-questions mailing list