From owner-svn-ports-head@freebsd.org Thu Mar 4 13:29:50 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id A77B4549883; Thu, 4 Mar 2021 13:29:50 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DrsDG4HnMz3lX3; Thu, 4 Mar 2021 13:29:50 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from mail.j.mat.cc (owncloud.cube.mat.cc [IPv6:2a01:678:4:1::228]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.mat.cc", Issuer "R3" (verified OK)) (Authenticated sender: mat/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 6B0D22CEB7; Thu, 4 Mar 2021 13:29:50 +0000 (UTC) (envelope-from mat@freebsd.org) Received: from aching.in.mat.cc (unknown [IPv6:2a01:678:ab:50:716:1ded:630c:7c39]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: mat@mat.cc) by mail.j.mat.cc (Postfix) with ESMTPSA id 9F4DB942D80; Thu, 4 Mar 2021 13:29:46 +0000 (UTC) Date: Thu, 4 Mar 2021 14:29:45 +0100 From: Mathieu Arnold To: Bryan Drewery Cc: Jan Beich , Joseph Mingrone , ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r566827 - in head/ports-mgmt/poudriere-devel: . files Message-ID: <20210304132945.6bcwzkxi6psg47kd@aching.in.mat.cc> References: <202103010511.1215BhXk000236@repo.freebsd.org> <325df07f-1d51-e9ab-eebe-40b0b08e928a@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="kimcjbdqhpwnx4or" Content-Disposition: inline In-Reply-To: X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Mar 2021 13:29:50 -0000 --kimcjbdqhpwnx4or Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 03, 2021 at 12:30:44PM -0800, Bryan Drewery wrote: > On 3/3/2021 12:00 PM, Jan Beich wrote: > > Bryan Drewery writes: > >=20 > >> On 3/3/2021 6:13 AM, Jan Beich wrote: > >> > >>> Bryan Drewery writes: > >>> > >>>> Author: bdrewery > >>>> Date: Mon Mar 1 05:11:42 2021 > >>>> New Revision: 566827 > >>>> URL: https://svnweb.freebsd.org/changeset/ports/566827 > >>>> > >>>> Log: > >>>> - Update to 3.3.0-540-g9f9007eb8 > >>> [...] > >>>> * bulk -af: Delete unqueued packages like pkgclean. > >>> [...] > >>> > >>> I've locally reverted https://github.com/freebsd/poudriere/commit/b19= ef339b1a3 > >>> > >>> Being a ports/ committer I sometimes have to test not just changes to= a > >>> specific port but also its consumers (from a few to hundreds). Each s= uch > >>> list rarely fits on the command line, so I save it into a file and pa= ss > >>> to -f. The new behavior of deleting unqueued packages produces churn > >>> with intermediate dependencies if not shared by all lists e.g., > >>> > >>> $ git grep -l :devel/py-apscheduler | sed s,/Makefile,, >/tmp/apsched= uler.consumers.list > >>> $ poudriere bulk -rtkj 122amd64 -f /tmp/apscheduler.consumers.list > >>> [...] > >>> [00:00:03] Deleting gcc9-9.3.0_1.txz: no longer needed > >>> [...] > >>> [00:00:04] Deleting llvm11-11.0.1.txz: no longer needed > >>> [00:00:04] Deleting llvm80-8.0.1_4.txz: no longer needed > >>> [00:00:04] Deleting llvm90-9.0.1_3.txz: no longer needed > >>> [...] > >>> [00:00:04] Deleting qt5-webengine-5.15.2_1.txz: no longer needed > >>> [...] > >>> [00:00:04] Deleting rust-1.50.0.txz: no longer needed > >>> [...] > >>> > >> > >> Are you also passing -t or other testing flags? I think it could make > >> sense to skip this step for -t at least. > >=20 > > When testing consumers a bustage almost never depends on -t. For ports = with > > hundreds of consumers enabling -t may produce lots of distracting noise= from > > ports in poor shape, often unmaintained. For example, I remember disabl= ing > > -t when locally testing devel/boost-libs consumers. > >=20 > > Nowadays, I always pass -r and -t (via poudriere.conf) to get more usef= ul > > logs and catch unrelated issues. While investigating subtle issues like > > unused dependencies or runtime regressions I've often found myself need= ing > > the extra information like NEEDED lines months later. > >=20 > > Also, having packages from different poudriere runs built with and with= out > > "-f list" is useful for the occasional "in vitro" runtime testing inside > > jail of various release/arch tuples e.g., when users report bugs. > >=20 >=20 > Yup all makes sense. >=20 > I've reverted the change for -f in r567257. It remains for -a. Could this be added as a new flag? For my internal needs, I build a subset of the packages using -f, and I always have to run poudriere pkgclean after bulk so that leftovers get garbage collected. --=20 Mathieu Arnold --kimcjbdqhpwnx4or Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEVhwchfRfuV0unqO5KesJApEdfgIFAmBA4LlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU2 MUMxQzg1RjQ1RkI5NUQyRTlFQTNCOTI5RUIwOTAyOTExRDdFMDIACgkQKesJApEd fgKeuBAAttiZxX6mQaRyfG6CCqgwDJykhqrC7EBxfxmY3IoamXMboJsnRxwBTJzJ 8nXq6Zem4/wVTJxyKVLpa3b5H5CDx+BK8MsYkRi5x/QTtDxTW70paPh1MsH8YeKM Z2CF5cYYBng/MU0YpMkR6/E0nDUGXj+XzirFXmDssuJ6YXC12sD76462txMNVfg2 AB7ophBc+1Q6IuwAb4MubMCTtrogFoccWuuYV2JAoCt/A5wRX8tvIb2edoYRqcjs LazDJSODA8xXiwTg0+ddPSQqWADWpg32q/O62nDloWD/utg4aGlfyAOO0LFTXyOd NOL9KDdGbQpd0MYVJKXZlu9go0FrAxznl2rCRleXPYG4g20sK7UknHGpJvjA58k5 kU7FV4NtSm+YCXh71jzrS0XGXSaeKW2I5OSsfUi87XeQXgCdKuJHkboYkr6qAuIF vv+ocFhRFneRrfZNbtyhLaUsFXs/hJEm4LK7PWsDbur8/xUbbqwWZT5GZafsE2dp b8RmNXJvvbmIeSl4V9Z1k9jodT6+dhIbXiigtrJxaR0yls7Jcp7DRR4u+1R+8me7 rs48o/zwbsSPd1Qw+FhN/4HyfSLV8k1dV5IlKWLXLKWtWfBVwYRk23cJ8650y3fY 8rSf8BgW0eQuAWGU7GMIkexxm59hME4hrGgRkj6fj1Ek5HpiXC8= =828x -----END PGP SIGNATURE----- --kimcjbdqhpwnx4or--