On Thu, Nov 05, 2015 at 09:35:01PM +0000, Christian Weisgerber wrote:
On 2015-11-05, Tati Chevron <[email protected]> wrote:
Or to be more general - what is the best way to manage a local
copy of the distfiles archive?
dpb -F2; clean-old-distfiles
Seems like dpb has come a long way since I last read the manpage :-).
I didn't realise that you could generate a history without actually pulling the
whole tree. But you can:
dpb -D HISTORY_ONLY
So, it's possible to upgrade from one -RELEASE to the next by doing a fresh
install, restore the full distfiles tree for the previous -RELEASE from BD-R,
download just the distfiles for the ports you expect to use, purge old distfiles
that are no longer required by the ports tree in the new release, thereby keeping
the tree a reasonable, (<25 GB), size, whilst keeping any distfiles that didn't
change between the two releases.
That's solved my problem! Thanks!
--
Tati Chevron
Perl and FORTRAN specialist.
SWABSIT development and migration department.
http://www.swabsit.com