Subject: Re: creating pkg_summary after each bulk build
To: Joerg Sonnenberger <joerg@britannica.bec.de>
From: Dieter Baron <dillo@danbala.tuwien.ac.at>
List: tech-pkg
Date: 03/17/2007 20:26:11
In article <20070317191225.GA16544@britannica.bec.de> Joerg wrote:
: 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.

  Which ever way it's achieved, bulk builds that do not get uploaded
should be able to create a pkg_summary file.

: > 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.

  pkg_chk uses it for remote packages.  And just because the result of
a bulk build is not uploaded does not mean they are note served via
ftp/http.

: > 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.

  Yes, the version should be checked.

						yours,
						dillo