Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Apr 2021 09:57:50 -0600
From:      The Doctor <doctor@doctor.nl2k.ab.ca>
To:        Daniel Stevenson <daniel@dstev.net>
Cc:        Arthur Barlow <arthurbarlow@gmail.com>, freebsd-questions@freebsd.org
Subject:   Re: Portsnap and new git ports tree
Message-ID:  <YG3WfiV08V6wNUmu@doctor.nl2k.ab.ca>
In-Reply-To: <o7eVTOZAQ7CJJcX5lZZMEyvtUQqcGtdXV02KKaZLLtl-F0pvb8acVD-hQNlFYkzo4nNbQYTdZxAnNnuEjz9XrPwSSy9YsRm5UEJLG-gAocw=@dstev.net>
References:  <CANR6Wa714iTeTmtW1S3BnoN1-PYgTf%2BkEG4Wf_OJdqH=wzmTzQ@mail.gmail.com> <o7eVTOZAQ7CJJcX5lZZMEyvtUQqcGtdXV02KKaZLLtl-F0pvb8acVD-hQNlFYkzo4nNbQYTdZxAnNnuEjz9XrPwSSy9YsRm5UEJLG-gAocw=@dstev.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Apr 07, 2021 at 01:54:35PM +0000, Daniel Stevenson wrote:
> On Wednesday, April 7th, 2021 at 08:23, Arthur Barlow <arthurbarlow@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YG3WfiV08V6wNUmu>