From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A094F138350 for ; Thu, 12 Mar 2020 05:23:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 77016E096C; Thu, 12 Mar 2020 05:23:53 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 40040E096C for ; Thu, 12 Mar 2020 05:23:53 +0000 (UTC) Received: from [IPv6:2600:8802:603:b800:36e8:94ff:fed6:b918] (unknown [IPv6:2600:8802:603:b800:36e8:94ff:fed6:b918]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: zmedico) by smtp.gentoo.org (Postfix) with ESMTPSA id BD57A34F001; Thu, 12 Mar 2020 05:23:51 +0000 (UTC) Subject: Re: [gentoo-portage-dev] [PATCH v2 gentoolkit 2/2] eclean: Add option to delete binpkgs with changed deps To: Matt Turner Cc: gentoo-portage-dev@lists.gentoo.org References: <20200307061110.1034493-1-mattst88@gentoo.org> <20200307061110.1034493-2-mattst88@gentoo.org> <36738c6b-bc01-e67f-567e-35776a66bfda@gentoo.org> From: Zac Medico Autocrypt: addr=zmedico@gentoo.org; prefer-encrypt=mutual; keydata= mQINBFs7tmwBEADTzG+IcYtRfTfKryU7sUH7LlV1M+TdaCMfIkY4x6RyHXkaaqYuQ+U9HKn0 +m5FcZsZ1Ojik+We3Tz0F6kDbam6EWzBxmsLb/IHeUEsvsuLzuBQjiD9zzqGocZiPWr+uWJs AdbueS72R7FPXJPDUEPrJ9GdhGFyY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nTAVInsQEoTh2W71UKcn37tfodUyirtoyPtlaonVLUmn+bq4nD MEN7FxOiSPytM8HNsij7cR9oZYyTjtWhCBxx57kHWO/GYvGEhsR34tRz16SMNDQURM3t04G4 giDn5noh0DJywswd815JM/SMwcdkEpum1DCJpD+GJ4xtKto3p+OjO1riPDyZQGg4lOAJENYQ zzch54rNIqAP/2SA8lGZYHz5XzWrFkszK0T/xScQPbaPa23WQ6Xdw3JyVCcRfWqlZtEtP0K3 w2AA33jFJ1JRio7le+WSS+YMAlW6q6vlcKrQoe1eeQoN8NsILCyp5fXfKeASHzbWt1ClWZm4 Q+rU5L3cL+BTmg+C83ywnhrw/839zejduDDwLQiEm4x3xQ0tpy65TgYOl1AhVJBlmgDRavjE oVGiaQIpxrHANrAJMMS9RpXhHQk4g9JetZFjupvzKzvbNxfm1NmFNCH92IQCd1Az415Hg8yw iVVLlCb92u4AeO2WQMMmQLwk0UQfpM6f3NMCbhW/y5P7Ie2zxm96LktNRVY6IO7PbWRE8ih9 uTyzd4T7V+3sDEB4OfJ1btMcfFbeEx4aJ6xGM7AykEns3I8oj5jufBuupz6Z5cvR4OV+Qz1B DsOVrLRS4saTCEXdoi2D1LL8dwBHvLP5tuHP9bDYXvIM/8v7c4wOq8WZvBGbOz3oEYFwuUS/ Hs6hli8QgovhO8KS3zyBo7q0dNzwQZ/G8/vKrmZS02/Yvv8yaqhH75pOfuZe6QQSIzn6M7gy Dcw47b5d/SDAgXU/ztlXUys+4lLoz6gBCTheaQF3OEBF2LlyTWHVPeY7nKe/B1k6ZPnL2SgU 1si1MD81KA9EcfcjOZQHgkHkzNRKN28CgTxp1cc1hWvZaGCC Message-ID: <59cd17a3-4802-4bdc-e750-bdbff1f9780f@gentoo.org> Date: Wed, 11 Mar 2020 22:23:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-portage-dev@lists.gentoo.org Reply-to: gentoo-portage-dev@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="cvG1vRdMOGogtzacyZX1dq5AbA8AMRlKx" X-Archives-Salt: f47e6994-c20d-4bd3-bcc0-7ebf2d4f37a9 X-Archives-Hash: 10013ff48b18683667c8fe5efcf6c2a5 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cvG1vRdMOGogtzacyZX1dq5AbA8AMRlKx Content-Type: multipart/mixed; boundary="CCKkOZkv2JHY0rIJjdN5DHwcmk2FyEKRr" --CCKkOZkv2JHY0rIJjdN5DHwcmk2FyEKRr Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 3/11/20 9:43 PM, Matt Turner wrote: > On Wed, Mar 11, 2020 at 9:36 PM Matt Turner wrote= : >> >> On Wed, Mar 11, 2020 at 9:31 PM Zac Medico wrote:= >>> We can't can't continue above, since that will skip all of the filter= s >>> that occur later in the loop. So, we have to nest the below changed-d= eps >>> code under if options['changed-deps']: >> >> I'm happy to make that change, but I don't think it's necessary, >> strictly speaking, since this is inside an 'if not destructive' >> conditional and the only filter afterwards is 'if destructive'. >=20 > Wait... the logic was if not destructive and > package-exists-in-porttree -> continue and do not add it to the dead > package list. >=20 > I've just changed it so it does that if changed-deps is not set... so > keep the current behavior without --changed-deps. >=20 > And if --changed-deps, check the porttree vs binpkg dependencies, and > if they still match, skip. Yeah, you're right. > What is wrong with that logic? The coupling with --destructive logic complicates matters. It raises the question, why isn't --time-limit logic also coupled with --destructive logic? I think "in order to preserve the status quo" is a reasonable answer to this question. --=20 Thanks, Zac --CCKkOZkv2JHY0rIJjdN5DHwcmk2FyEKRr-- --cvG1vRdMOGogtzacyZX1dq5AbA8AMRlKx 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 iQKTBAEBCgB9FiEE8OgXaltWzqgSupCu0HX7jBBKPSAFAl5px2VfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEYw RTgxNzZBNUI1NkNFQTgxMkJBOTBBRUQwNzVGQjhDMTA0QTNEMjAACgkQ0HX7jBBK PSAxvRAAgqY+fyTqXuK9KCneSVswlk15ATxtwmuGJaPnMxH44XusvaPJRPakCSGC ckVHitZzXh2Qk8Q2rRI7GatM7Op9e5xg+DK252MsAkKoYSMRlcfvtveF6t46ijEF iQdw7cVUVy8wgR8olr+Qp6hfpcZlz3yrF7OwiB62TEemNHm9zWoQ2VPtMHV7j6ZX oVrVXHYIjgQuLEmHwwGLbkoJBsYjketw93u/LzEOBBcc9YSHeAaUwMj2OaWYgQbR ft/08kyrQpoBEIW+IFvK/INEtUoVx02jDkS79xFEnto6vNJit1KyIy7vw6ZsZ0Ep znzBtaoI4yLUxcb39qQ9t3fbrtsvcKHI63boF8iUAfAFzZW3YQrNXUHW5Cmih1wX GEe4Mm5egRyB6DVetis5JcVjrT8gXYsj+Y0Im25I6vYyAJAGjVhCmk/9nAmqfgz/ E3CrmFw1U/7D54IpTR2ogITCEt3UTANyYq7EAhiFGj4BSChTXOuo8bt40tjCL/6O LWkQKejetKjQrxXHaHzIZHmm5CWA0bEh5nF2ID3zLAhw3HhXcpT6C4LkvevN2yzU iFccjXOkrR+Rv+0ftVtR+gjJRn7JK7dFQeJ8ipsS6AqnkperKMNKqbCB48jSkqaT hOL6CsqQfryvbUx1kj0r+VuS7D8nxGOok+2l/E1rziXPszChxQg= =19B4 -----END PGP SIGNATURE----- --cvG1vRdMOGogtzacyZX1dq5AbA8AMRlKx--