tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Good way to recycle previous quarter's binary packages?



* On 2020-03-26 at 00:49 GMT, Greg Troxel wrote:

> John Klos <john%ziaspace.com@localhost> writes:
> 
> > When switching build machines from one quarter to the next, how do
> > people recycle the previous quarter's binaries, excluding the ones
> > which would need to be rebuilt?
> >
> > I wrote a quick script that simply compares the list of dependencies
> > and versions of binary packages with the list of dependencies and
> > versions from the next quarter's pkgsrc and copies if the lists are
> > the same. Is there a better way?
> 
> With pkg_rr, I just do lintpkgsrc -p to remove binary packages that are
> out of date relative to pkgsrc.
> 
> I had the impression pbulk just dealt with this, and that "previous
> quarter" was not so structurally different than "update along stable
> branch".  I am interested to hear from experienced pbulkers.

pbulk always rebuilds any packages that have been touched, regardless
of whether the version has changed, as well as all of their
dependents.

It's highly unlikely therefore that any packages can be reused from a
previous branch in a bulk build, except perhaps cwrappers and a few
bootstrap packages.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index