Subject: CVS commit: [pkgsrc-2006Q2] pkgsrc/mk/bulk
To: None <pkgsrc-changes@NetBSD.org>
From: Lubomir Sedlacik <salo@netbsd.org>
List: pkgsrc-changes
Date: 08/02/2006 15:59:40
Module Name:	pkgsrc
Committed By:	salo
Date:		Wed Aug  2 15:59:40 UTC 2006

Modified Files:
	pkgsrc/mk/bulk [pkgsrc-2006Q2]: upload

Log Message:
Pullup ticket 1770 - requested by rillig
improved upload script for bulk builds

Revisions pulled up:
- pkgsrc/mk/bulk/upload			1.31, 1.32, 1.33

   Module Name:		pkgsrc
   Committed By:	jschauma
   Date:		Sun Jul 30 14:31:10 UTC 2006

   Modified Files:
   	pkgsrc/mk/bulk: upload

   Log Message:
   - use ${BMAKE} instead of 'make' in one instance
   - if we can't build one of the required packages, bail out
---
   Module Name:		pkgsrc
   Committed By:	dmcmahill
   Date:		Tue Aug  1 00:53:24 UTC 2006

   Modified Files:
   	pkgsrc/mk/bulk: upload

   Log Message:
   - add a -h|--help flag

   - add a -n|--no-upload flag which does everything but actually executing
     the upload to help see what would happen

   - add a -d|--debug flag to preserve the temporary files to help with
     debugging

   - add a -V|--version flag
---
   Module Name:		pkgsrc
   Committed By:	rillig
   Date:		Tue Aug  1 13:16:42 UTC 2006

   Modified Files:
   	pkgsrc/mk/bulk: upload

   Log Message:
   Rewrote upload to use the newly introduced sort-packages program.

   While here, ...
   - Added stricter checking by using "set -eu".
   - The bulk build configuration file is properly included, and the
     MAKECONF definition that it may contain is properly exported.
   - All progress messages and error messages are prefixed by üpload>",
     so that it is obvious where the messages come from.
   - Since extracting the make(1) variables takes quite a long time, print
     an informational message before doing that.
   - Removed the use of the error-prone lintpkgsrc to detect whether a
     package is restricted or vulnerable.
   - If an error occurs, the upload program returns an exitcode of 1,
     which is common among Unix utilities.
   - Removed almost all pipe operators, since they tend to hide program
     failures.
   - All error messages are redirected to stderr instead of stdout.


To generate a diff of this commit:
cvs rdiff -r1.30 -r1.30.2.1 pkgsrc/mk/bulk/upload

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.