Poudreiere auto-track quarterly ports?

Mathieu Arnold mat at FreeBSD.org
Tue Sep 5 12:16:19 UTC 2017

Le 05/09/2017 à 03:50, Dan Mahoney a écrit :
> Hey there All,
> Is there an easy way to have poudriere auto-track the latest quarterly 
> ports build tree, without having to manually reset it to a specific 
> branch?
> Poudriere knows how to portsnap the latest ports/head, but not the latest 
> quarterly.

poudriere cannot do this by itself, it does not know how to move from
one repository to another.

This can, however, easily be done with a simple subversion command that
you can run in the script you use to build your ports.

# svn info /poudriere/ports/quarterly/|grep ^URL
URL: https://svn.freebsd.org/ports/branches/2017Q2
# svn switch ^/branches/$(svn ls
https://svn.freebsd.org/ports/branches/|sed -ne '/^2.*Q./s|/$||p'|tail
-1) /poudriere/ports/quarterly/
D    ports/quarterly/graphics/dri
# svn info /poudriere/ports/quarterly/|grep ^URL
URL: https://svn.freebsd.org/ports/branches/2017Q3

The svn switch command can be run each time, it will not break. (The svn
ls trick is taken from the bit I wrote for ports/Tools/scripts/mfh.)

Mathieu Arnold

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20170905/b84cc8fd/attachment.sig>

More information about the freebsd-ports mailing list