Portsnap and new git ports tree
The Doctor
doctor at doctor.nl2k.ab.ca
Wed Apr 7 16:17:45 UTC 2021
On Wed, Apr 07, 2021 at 01:54:35PM +0000, Daniel Stevenson 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",
> ],
> },
> ....
>
> --
> Daniel Stevenson
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"
Yes it is working, however try for a gitup.conf file
# $FreeBSD$
#
# Default configuration options for gitup.conf.
{
"defaults" : {
"host" : "git.freebsd.org",
"port" : 443,
"verbosity" : 1,
"work_directory" : "/var/db/gitup",
},
"ports" : {
"host" : "github.com",
"repository" : "/freebsd/freebsd-ports.git",
"branch" : "main",
"target" : "/usr/ports",
"ignores" : [
"distfiles",
"packages",
],
},
"quarterly" : {
"host" : "github.com",
"repository" : "/freebsd/freebsd-ports.git",
"branch" : "quarterly",
"target" : "/usr/ports",
"ignores" : [
"distfiles",
"packages",
]
},
"release" : {
"repository" : "/src.git",
"branch" : "releng/11.4",
"target" : "/usr/src",
"ignores" : [
"sys/amd64/conf",
"sys/arm64/conf",
"sys/i386/conf",
"sys/pc98/conf",
"sys/powerpc/conf",
"sys/riscv/conf",
"sys/sparc64/conf",
]
},
"stable" : {
"repository" : "/src.git",
"branch" : "stable/12",
"target" : "/usr/src",
"ignores" : [
"sys/amd64/conf",
"sys/arm64/conf",
"sys/i386/conf",
"sys/pc98/conf",
"sys/powerpc/conf",
"sys/riscv/conf",
"sys/sparc64/conf",
]
},
"current" : {
"repository" : "/src.git",
"branch" : "main",
"target" : "/usr/src",
"ignores" : [
"sys/amd64/conf",
"sys/arm64/conf",
"sys/i386/conf",
"sys/pc98/conf",
"sys/powerpc/conf",
"sys/riscv/conf",
"sys/sparc64/conf",
]
}
}
--
Member - Liberal International This is doctor@@nl2k.ab.ca Ici doctor@@nl2k.ab.ca
Yahweh, Queen & country!Never Satan President Republic!Beware AntiChrist rising!
Look at Psalms 14 and 53 on Atheism https://www.empire.kred/ROOTNK?t=94a1f39b
If they can dehumanize the most innocent, they can dehumanize anyone. -unknown
More information about the freebsd-questions
mailing list