Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2019 20:58:28 +0000
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-questions@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: poudriere(-devel) ports updating question
Message-ID:  <20190306205827.GA34798@rpi3.zyxst.net>
In-Reply-To: <30D9DC41-0FE6-4B2F-846B-E7E1BDEF485D@lassitu.de>
References:  <20190305140939.GA18890@rpi3.zyxst.net> <30D9DC41-0FE6-4B2F-846B-E7E1BDEF485D@lassitu.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 06, 2019 at 06:23:49PM +0100, Stefan Bethke wrote:
>> Am 05.03.2019 um 15:09 schrieb tech-lists <tech-lists@zyxst.net>:

>> Basically I'm looking for exclude mask functionality when updating a
>> ports tree with poudriere ports.
>>
>> Do I need to do this manually or have I missed something?
>
> I don’t think it’s easy to do that. How would you handle dependencies? 
> (For example, some ports require X11 libs and stuff, even though 
> they’re in a different category.)

You're right of course. My logic was wrong, and wrong premise[1] because I
was stuck on thinking a bulk -a build. But I found how to do it 
(to remove categories) in case anyone is interested. The key is in the
method used to update the tree, which is svn+https.

so, from the top of the ports tree, svn update --set-depth=exclude biology 
would exclude the biology category permanently. 
svn update --set-depth=infinity biology would re-add it.
svn update --set-depth=infinity would make it be like nothing was
excluded in the first place.

but on reflection, it breaks a little of the ports infrastructure and I
don't want to do that.

[1] used to use portupgrade -a but poudriere bulk -a is not
equivalent!!! am just getting to grips with poudriere lol
-- 
J.



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