poudriere(-devel) ports updating question

tech-lists tech-lists at zyxst.net
Wed Mar 6 20:58:35 UTC 2019


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 at 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.


More information about the freebsd-questions mailing list