svn commit: r566827 - in head/ports-mgmt/poudriere-devel: . files

Joseph Mingrone jrm at FreeBSD.org
Wed Mar 3 20:10:15 UTC 2021


On Wed, 2021-03-03 at 15:13, Jan Beich <jbeich at FreeBSD.org> wrote:

> Bryan Drewery <bdrewery at 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/b19ef339b1a3

> 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 such
> list rarely fits on the command line, so I save it into a file and pass
> 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/apscheduler.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
> [...]

Is there a workaround for this workflow?

- Run a script on lots of hosts that checks for locally installed ports
  that have updates.  Append such ports to a file on the build host.

- On the build host run `poudriere bulk .. -f <list>` which
  will update all ports for all hosts.

Since the list can be dozens of ports long, something other than using
-f <list> is probably out.  If it's necessary to rebuild, e.g., rust or
llvm, each time `poudriere bulk -f` is run, I will probably also locally
revert.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 987 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/svn-ports-head/attachments/20210303/1cc94c32/attachment.sig>


More information about the svn-ports-head mailing list