poudriere and gitup

2021-04-03 Thread Carmel
I am using "poudriere-devel", version 3.3.99.20210303_1 on a FreeBSD
11.4-RELEASE-p8 amd64 machine. I was told that poudriere uses
'portsnap' by default. What, do I have to do if I want it to defer to
"gitup" {devel/py-git-up} instead?

-- 
Carmel


pgpagGmZ3Dx1s.pgp
Description: OpenPGP digital signature


Re: poudriere and gitup

2021-04-03 Thread Muhammad Moinur Rahman
gitup is not yet an option for creating the ports tree in poudriere:

$ zfs snapshot zroot/poudriere/ports/default@svn
$ zfs send zroot/poudriere/ports/default@svn | zfs recv 
zroot/poudriere/ports/svn
$ poudriere ports -d
$ poudriere ports -c -U https://git.freebsd.org/ports.git -m git -B main

This has to be done once the repository available.

Kind Regards,
Moin

> On 3 Apr, 2021, at 17:43, Carmel  wrote:
> 
> I am using "poudriere-devel", version 3.3.99.20210303_1 on a FreeBSD
> 11.4-RELEASE-p8 amd64 machine. I was told that poudriere uses
> 'portsnap' by default. What, do I have to do if I want it to defer to
> "gitup" {devel/py-git-up} instead?
> 
> --
> Carmel



signature.asc
Description: Message signed with OpenPGP


Re: poudriere and gitup

2021-04-03 Thread Rene Ladan
On Sat, Apr 03, 2021 at 07:43:49AM -0400, Carmel wrote:
> I am using "poudriere-devel", version 3.3.99.20210303_1 on a FreeBSD
> 11.4-RELEASE-p8 amd64 machine. I was told that poudriere uses
> 'portsnap' by default. What, do I have to do if I want it to defer to
> "gitup" {devel/py-git-up} instead?
> 
Best is to create a new ports tree for poudriere, you cannot convert a
portsnap tree to git in-place as a portsnap checkout does not have that
meta-data available.

Also, the port is net/gitup, not devel/py-git-up.

René
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: poudriere and gitup

2021-04-04 Thread Carmel
On Sat, 3 Apr 2021 12:18:27 +, Rene Ladan stated:
>On Sat, Apr 03, 2021 at 07:43:49AM -0400, Carmel wrote:
>> I am using "poudriere-devel", version 3.3.99.20210303_1 on a FreeBSD
>> 11.4-RELEASE-p8 amd64 machine. I was told that poudriere uses
>> 'portsnap' by default. What, do I have to do if I want it to defer to
>> "gitup" {devel/py-git-up} instead?
>>   
>Best is to create a new ports tree for poudriere, you cannot convert a
>portsnap tree to git in-place as a portsnap checkout does not have that
>meta-data available.
>
>Also, the port is net/gitup, not devel/py-git-up.
>
>René

Is or will poudriere default to using net/gitup in FreeBSD 13? Is there
a way to configure it in the "poudriere.conf" file?

-- 
Jerry
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: poudriere and gitup

2021-04-05 Thread Rene Ladan
On Sun, Apr 04, 2021 at 10:35:25AM -0400, Carmel wrote:
> On Sat, 3 Apr 2021 12:18:27 +, Rene Ladan stated:
> >On Sat, Apr 03, 2021 at 07:43:49AM -0400, Carmel wrote:
> >> I am using "poudriere-devel", version 3.3.99.20210303_1 on a FreeBSD
> >> 11.4-RELEASE-p8 amd64 machine. I was told that poudriere uses
> >> 'portsnap' by default. What, do I have to do if I want it to defer to
> >> "gitup" {devel/py-git-up} instead?
> >>   
> >Best is to create a new ports tree for poudriere, you cannot convert a
> >portsnap tree to git in-place as a portsnap checkout does not have that
> >meta-data available.
> >
> >Also, the port is net/gitup, not devel/py-git-up.
> >
> >René
> 
> Is or will poudriere default to using net/gitup in FreeBSD 13? Is there
> a way to configure it in the "poudriere.conf" file?
> 
Not yet I think, but you can use the git+https method when creating a
jail which will use the devel/git port.

René
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: poudriere and gitup

2021-04-05 Thread Jose Quinteiro
On 4/4/21 7:35 AM, Carmel wrote:
> On Sat, 3 Apr 2021 12:18:27 +, Rene Ladan stated:
> ...
> Is or will poudriere default to using net/gitup in FreeBSD 13? Is there
> a way to configure it in the "poudriere.conf" file?
> 

There's a "git" option for the "-m method" command-line switch of
poudriere-ports(8). This option is used to specify which method to use
to create a ports tree.

I don't have any experience with it because I use "-m null" to have
Poudriere use a Ports tree I maintain manually with git.

Thanks,
Jose

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: poudriere and gitup

2021-04-05 Thread Guido Falsi via freebsd-ports

On 05/04/21 23:26, Jose Quinteiro wrote:

On 4/4/21 7:35 AM, Carmel wrote:

On Sat, 3 Apr 2021 12:18:27 +, Rene Ladan stated:
...
Is or will poudriere default to using net/gitup in FreeBSD 13? Is there
a way to configure it in the "poudriere.conf" file?



There's a "git" option for the "-m method" command-line switch of
poudriere-ports(8). This option is used to specify which method to use
to create a ports tree.

I don't have any experience with it because I use "-m null" to have
Poudriere use a Ports tree I maintain manually with git.


It performs a shallow clone, not getting all history (similar to what 
gitup does) should work with a command line like this:


poudriere ports -c -B main -m git -U 'https://git.FreeBSD.org/ports.git' 
-p freebsd


then use following command to update:

poudriere ports -u -p freebsd

--
Guido Falsi 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: poudriere and gitup

2021-04-05 Thread Tatsuki Makino
Guido Falsi via freebsd-ports wrote on 2021/04/06 06:37:
> poudriere ports -c -B main -m git -U 'https://git.FreeBSD.org/ports.git' -p 
> freebsd
> 

-U default value can be changed in ${LOCALBASE}/etc/poudriere.conf, cannot it?
The default value is defined in common.sh.

GIT_PORTSURL="git.FreeBSD.org/ports.git"
And
poudriere ports -c -m git+https -B main

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: poudriere and gitup

2021-04-05 Thread Charlie Li via freebsd-ports
Tatsuki Makino wrote:
> -U default value can be changed in ${LOCALBASE}/etc/poudriere.conf, cannot it?
> The default value is defined in common.sh.
> 
> GIT_PORTSURL="git.FreeBSD.org/ports.git"
> And
> poudriere ports -c -m git+https -B main
> 
Yes, you can put GIT_PORTSURL into poudriere.conf and it will work.
Eventually that and the default branch should be changed in poudriere
proper.

-- 
Charlie Li
…nope, still don't have an exit line.

(This email address is for mailing list use; replace local-part with
vishwin for off-list communication if possible)



OpenPGP_signature
Description: OpenPGP digital signature