Updating /usr/ports

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Fri May 28 12:12:49 UTC 2021


Jerry <jerry at seibercom.net> writes:

> On Thu, 27 May 2021 17:01:52 -0700, Kevin Oberman stated:
>>If you are trying to replace portsnap, I think the answer is net/gitup.
>>This only requires a single command,  "gitup ports", and you get your
>>index updated along with updating all ports. I believe that the plan
>>is to put gitup into the base system fairly soon. I have not looked at
>>whether 14-current has gitup, yet.
>>
>>And, yes, it looks like the handbook needs some work as gitup is not
>>yet even mentioned. Like portsnap, gitup is for people who want to
>>maintain an up to date ports tree, but not good for developers. They
>>do need to use git and either generate the index or fetch it.
>
> If "gitup" can fetch the "index" file, why can "git" not also
> accomplish that feat? Is it a technical reason?

The index file isn't in the repository.

Not sure if you'd call that a "technical" reason, but "gitup" has a
number of bits of FreeBSD-specific knowledge.


More information about the freebsd-questions mailing list