Date: Mon, 29 Aug 2016 16:29:40 -0700 From: Bryan Drewery <bdrewery@FreeBSD.org> To: Don Lewis <truckman@FreeBSD.org>, 000.fbsd@quip.cz Cc: freebsd-ports@FreeBSD.org Subject: Re: FreeBSD Port: ports-mgmt/poudriere Message-ID: <fb4b61e4-bf96-b7b0-ec53-d9232ddb6a9d@FreeBSD.org> In-Reply-To: <201608292327.u7TNRRxS015120@gw.catspoiler.org> References: <201608292327.u7TNRRxS015120@gw.catspoiler.org>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rcTStFUcueIIxiGmpvDEVSL2mgKo1PiRg Content-Type: multipart/mixed; boundary="Dvheqq2xsu5nTLUm5e8JWjUH9QwS2EfSC" From: Bryan Drewery <bdrewery@FreeBSD.org> To: Don Lewis <truckman@FreeBSD.org>, 000.fbsd@quip.cz Cc: freebsd-ports@FreeBSD.org Message-ID: <fb4b61e4-bf96-b7b0-ec53-d9232ddb6a9d@FreeBSD.org> Subject: Re: FreeBSD Port: ports-mgmt/poudriere References: <201608292327.u7TNRRxS015120@gw.catspoiler.org> In-Reply-To: <201608292327.u7TNRRxS015120@gw.catspoiler.org> --Dvheqq2xsu5nTLUm5e8JWjUH9QwS2EfSC Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 8/29/2016 4:27 PM, Don Lewis wrote: > On 30 Aug, Miroslav Lachman wrote: >> Hi, >> >> I would like to report one "dangerous" problem with "poudriere ports -= d"=20 >> command. There should be a "-p treename" but if it is omitted, poudrie= re=20 >> deletes tree "default" >> >> This is my error, I know, but I think poudrier should print a warning = or=20 >> do not assume I wanted delete "default" >> >> root@sm-reserve ~/# poudriere ports -d headtest I did add a confirmation into jail -d. I will extend it to ports -d as well. >> [00:00:00] =3D=3D=3D=3D>> Deleting portstree "default" done >> >> It should be >> >> root@sm-reserve ~/# poudriere ports -d -p headtest >> [00:00:00] =3D=3D=3D=3D>> Deleting portstree "headtest" done >=20 > Yeah, that bit me too. The poudriere man page even says: >=20 > Except for -l, all of the subcommands require the -p switch (see > below). >=20 > Even worse in my case, it deleted a ports tree that was not even create= d > by poudriere. My default ports tree is actually /usr/ports and I hooke= d > it into poudrire by doing something like: > poudriere ports -c -p default -F -M /usr/ports >=20 This is a separate bug. > IMHO, if the ports tree was not created by poudriere, then -k should be= > the default when deleting it. >=20 --=20 Regards, Bryan Drewery --Dvheqq2xsu5nTLUm5e8JWjUH9QwS2EfSC-- --rcTStFUcueIIxiGmpvDEVSL2mgKo1PiRg Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJXxMVkAAoJEDXXcbtuRpfP2u0IAJ9lU1BbAHCgvpRqD7QbVdKM l5mFAxQuZGCdF+1nthfUgM0QOojUZIDOpo0GDMvTEvUah006Jgw9zIuvxZZbj/Hy h1t1K+sq4zqLjSCv5ie4DAAckSlNGKwutHoQgbx9nIcSDBMJo/3YRknvG/uhwe8X VhG+gP2GkB/8EJ+einplIxSdt5cguWG1Zbg6KRL1In1X4/DdTSlDCperodKkdS9f cYxRWE0m3SdLuDZ2L8U4uTyvKN+/JODG8/jWbu9wGTdxN8buV8ajrzYzIrMz15EV iT0fFzZwU0ulrnwJMvWxuW1Sipl1+QzrgrmkcgItk5j9Dli4dPWGRwgXibT5Nk4= =xL94 -----END PGP SIGNATURE----- --rcTStFUcueIIxiGmpvDEVSL2mgKo1PiRg--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fb4b61e4-bf96-b7b0-ec53-d9232ddb6a9d>