Subject: Re: creating pkg_summary after each bulk build
To: None <tech-pkg@NetBSD.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 03/17/2007 20:12:25
On Sat, Mar 17, 2007 at 07:43:44PM +0100, Hubert Feyrer wrote:
> Right now we only create a pkg_summary file when uploading to the NetBSD 
> FTP server. When someone else whants a pkg_summary file, they have to do 
> things manually.

The upload script is not limited to that.

> I'd suggest we change this to creating the pkg_summary after each bulk 
> build, regardless if it's uploaded somewhere or not.
> 
> Why? Local pkgtools may want to make use of the file.

None currently is using it and it is quite time-consuming to compute.
If it fails or gets aborted, it would also mean that the much longer
build script has to be restarted.

> The patche below is intended to change this. I cannot test it though.
> Any comments? Commit? Objections?

I don't remember checking the pkg_install version to be new enough for
one thing. I don't like the patch, but I don't use mk/bulk any longer,
so I don't care enough to object. But please address the version check
concern if you do want to commit it.

Joerg