Date: Mon, 29 Aug 2016 16:27:27 -0700 (PDT) From: Don Lewis <truckman@FreeBSD.org> To: 000.fbsd@quip.cz Cc: bdrewery@FreeBSD.org, freebsd-ports@FreeBSD.org Subject: Re: FreeBSD Port: ports-mgmt/poudriere Message-ID: <201608292327.u7TNRRxS015120@gw.catspoiler.org> In-Reply-To: <57C4B7F3.4040003@quip.cz>
next in thread | previous in thread | raw e-mail | index | archive | help
On 30 Aug, Miroslav Lachman wrote: > Hi, > > I would like to report one "dangerous" problem with "poudriere ports -d" > command. There should be a "-p treename" but if it is omitted, poudriere > deletes tree "default" > > This is my error, I know, but I think poudrier should print a warning or > do not assume I wanted delete "default" > > root@sm-reserve ~/# poudriere ports -d headtest > [00:00:00] ====>> Deleting portstree "default" done > > It should be > > root@sm-reserve ~/# poudriere ports -d -p headtest > [00:00:00] ====>> Deleting portstree "headtest" done Yeah, that bit me too. The poudriere man page even says: Except for -l, all of the subcommands require the -p switch (see below). Even worse in my case, it deleted a ports tree that was not even created by poudriere. My default ports tree is actually /usr/ports and I hooked it into poudrire by doing something like: poudriere ports -c -p default -F -M /usr/ports IMHO, if the ports tree was not created by poudriere, then -k should be the default when deleting it.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608292327.u7TNRRxS015120>