From owner-freebsd-ports@freebsd.org Mon Aug 29 23:29:46 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4A3D1BC72A1 for ; Mon, 29 Aug 2016 23:29:46 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 305A48C9; Mon, 29 Aug 2016 23:29:46 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [IPv6:::1]) by freefall.freebsd.org (Postfix) with ESMTP id 296B91207; Mon, 29 Aug 2016 23:29:46 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id D705E222BC; Mon, 29 Aug 2016 23:29:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 1-m6jQ-lc4bf; Mon, 29 Aug 2016 23:29:42 +0000 (UTC) Subject: Re: FreeBSD Port: ports-mgmt/poudriere DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 43179222B7 To: Don Lewis , 000.fbsd@quip.cz References: <201608292327.u7TNRRxS015120@gw.catspoiler.org> Cc: freebsd-ports@FreeBSD.org From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Mon, 29 Aug 2016 16:29:40 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 In-Reply-To: <201608292327.u7TNRRxS015120@gw.catspoiler.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="rcTStFUcueIIxiGmpvDEVSL2mgKo1PiRg" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Aug 2016 23:29:46 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rcTStFUcueIIxiGmpvDEVSL2mgKo1PiRg Content-Type: multipart/mixed; boundary="Dvheqq2xsu5nTLUm5e8JWjUH9QwS2EfSC" From: Bryan Drewery To: Don Lewis , 000.fbsd@quip.cz Cc: freebsd-ports@FreeBSD.org Message-ID: 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--