Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Mar 2021 14:29:45 +0100
From:      Mathieu Arnold <mat@freebsd.org>
To:        Bryan Drewery <bdrewery@freebsd.org>
Cc:        Jan Beich <jbeich@freebsd.org>, Joseph Mingrone <jrm@freebsd.org>, 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>
In-Reply-To: <ce393cb9-0ff8-b517-0dfa-97e7c98a476a@FreeBSD.org>
References:  <202103010511.1215BhXk000236@repo.freebsd.org> <tups-qq9m-wny@FreeBSD.org> <325df07f-1d51-e9ab-eebe-40b0b08e928a@FreeBSD.org> <im68-gg8s-wny@FreeBSD.org> <ce393cb9-0ff8-b517-0dfa-97e7c98a476a@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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 <bdrewery@FreeBSD.org> writes:
> >=20
> >> On 3/3/2021 6:13 AM, Jan Beich wrote:
> >>
> >>> Bryan Drewery <bdrewery@FreeBSD.org> 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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210304132945.6bcwzkxi6psg47kd>