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
signature.asc
Description: OpenPGP digital signature
