summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
2006-08-01Rewrote upload to use the newly introduced sort-packages program.rillig1-121/+117
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 "upload>", 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.
2006-08-01Always create the files for the lists, even if they would end up empty.rillig1-5/+7
2006-08-01Oops, fixed a typo and tested it again. Now it works.rillig1-3/+3
2006-08-01Added a program that sorts binary packages into categories, depending onrillig1-0/+94
whether they may be uploaded, are vulnerable, or good.
2006-08-01- add a -h|--help flagdmcmahill1-16/+135
- 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
2006-07-30- use ${BMAKE} instead of 'make' in one instancejschauma1-5/+18
- if we can't build one of the required packages, bail out
2006-07-27Whenever we invoke a recursive make, we need to ensure that the properjlam1-14/+14
environment ${PKGSRC_MAKE_ENV} is also passed along. Create a convenience variable RECURSIVE_MAKE that does exactly this and that can be used in place of MAKE when invoking make recursively. Use RECURSIVE_MAKE everywhere in pkgsrc/mk that we invoke make recursively.
2006-07-26When the bulk build code encounters a directory in *SPECIFIC_PKGSwiz2-5/+27
that does not exist, it stopped. Now it instead adds an entry to the main broken file and marks it as not package with maintainer "directory_does_not_exist" in the HTML output. (Not packaged directories are not mentioned in the text version.)
2006-07-03After converting it to HTML format, the build log file is not neededrillig1-1/+2
anymore.
2006-06-22Restore ls -t | grep idiom, the whole package list is too big for thejoerg1-2/+2
argument list on at least on OS.
2006-06-08Create /var/spool/lock in the sandbox. The directory is needed tominskim1-2/+2
build comm/minicom.
2006-06-02Adapt to create pkg_summary file via pkg_info -X. Prompted anddillo2-6/+8
reviewd by joerg.
2006-03-28Add an option (MKSUMMARY) to create pkg_chk index for binary-only updatesjoerg2-2/+10
during mk/bulk/upload. Disabled by default.
2006-02-13Only write the terminating HTML code to the ${_BROKENFILE} if therillig1-4/+4
package is really broken.
2006-02-12The security/kth-krb4 package does not install bin/ftp anymore (sincerillig1-2/+2
February 2004), so it doesn't conflict with bootstrap-pkgsrc.
2006-02-11Added "pre-build>" identifier to two echo commands.rillig1-3/+3
2006-02-11Renamed the ``restart'' variable to ``resume'', as that is what therillig1-13/+11
variable does.
2006-02-11Fixed double quoting of _BROKENWRKLOG.rillig1-2/+2
2006-02-10A small step in the direction of valid HTML for the build log files.rillig1-12/+23
2006-02-10Indented the variable definitions more consistently.rillig1-20/+20
2006-02-07When in "set -e" mode, the Solaris /bin/sh exits when "cd" fails, evenrillig1-2/+6
if it occurs as the condition of a "while" or "if", or in combination with && or ||. This, of course, introduces a race condition if someone removes the directory between the two "cd"s. The result would be that the bulk build terminates, but that's not a big issue, as in this case there must be something much more severely broken.
2006-02-04Added the KEEP_BUILDLOGS variable. If it is set to "yes", the build logsrillig1-3/+24
of successful builds are not removed, only renamed. This variable will be useful for examining the warnings that appear during the bulk builds but are thrown away because the package builds fine. This feature is experimental and thus not enabled by default.
2006-02-03If a package is still up to date, it doesn't matter if it is currentlyrillig1-7/+3
installed or not. So there is no need for two different messages. (They had been necessary in revision 1.1, though.)
2006-01-30Added the bulk build ID to the subject line of the report mail. It had beenrillig1-2/+2
${BUILDDATE} before, which has disappeared with the REPORTS_* change.
2006-01-29Don't test(1) and cd(1), cd(1) directly. As long as "set -e" is notrillig1-3/+2
activated this prevents unexpected behavior.
2006-01-24In the FTPHOST compatibility mode, there was a slash missing whenrillig1-2/+2
constructing REPORTS_DIR out of FTPHOST and FTPURL.
2006-01-22Made all sentences in the comments start with an upper-case letter and endrillig1-16/+16
with a period.
2006-01-21Fixed pkglint warnings.rillig1-10/+15
2006-01-21- Added a new top level file that saves the REPORT_BASEDIR from the firstrillig5-47/+124
call to the mk/bulk/build script. This is to allow restarting the bulk build without getting confused by the various timestamps that occur during a bulk build. It also fixes some problems where the text/plain report had ended up in a directory different from the other files. - Changed the default filename for the text/plain report from "pkgsrc-results-${BUILDDATE}.txt" to simply "report.txt", as the ${BUILDDATE} variable didn't give a hint to when the bulk build had been started, which is often more important than when the bulk build stopped. - Changed the way to specify the directory and the URL where the bulk build reports are made available. See http://mail-index.netbsd.org/tech-pkg/2005/12/05/0002.html for details. Specifying the directories using the FTPHOST and FTPURL variables will be possible for some months, after which it support for it will be dropped.
2006-01-19Made the program name in the DIAGNOSTICS section not appear emphasized.rillig1-2/+2
2006-01-17`tsort` creates temporary files in the current directory, so change to thejdc1-2/+2
BULKFILESDIR directory before running it. We can now bulk build with a read-only pkgsrc.
2006-01-15Allow "=" characters to appear in a line that comments out a package in arillig1-2/+2
category Makefile. Adjusted the other regular expressions to express more clearly what is meant.
2006-01-07- Added pbc_checkpathname, pbc_checkbasename, pbc_checkurl.rillig1-8/+34
- Modified pbc_checkexisting{dir,file} to use pbc_checkpathname.
2006-01-05Revert unintended part of last commit.joerg1-2/+1
2006-01-05Adjust comment about SUBST_FILES to match reality:joerg1-1/+2
absolute file names work as well.
2005-12-31Fix a typo (show-depends-dir -> show-depends-dirs).minskim1-2/+2
2005-12-08Prefixed all status messages with "pre-build>" to show the user where theyrillig1-27/+27
come from.
2005-12-06Added missing "quotes" around many variables.rillig1-43/+43
2005-12-06Fixed a typo.rillig1-2/+2
2005-12-05 * allow parallel builds (see parallel.txt)rillig1-0/+1
2005-12-05Shortened the code to extract pkgsrc variables by 30 lines, taking outrillig1-85/+49
much unnecessary redundancy from the code. Reordered the pkgsrc variables so that related variables appear adjacently in the output.
2005-12-03Renamed some variables to match the pkgsrc variables they are derivedrillig1-13/+13
from.
2005-12-03Removed CVS_USER, as announced on pkgsrc-bulk.rillig4-51/+13
See <http://mail-index.netbsd.org/pkgsrc-bulk/2005/11/24/0003.html>.
2005-11-30- Converted intermediate white-space to all tabs.rillig1-7/+7
- Removed trailing white-space.
2005-11-30- Ignore the return value of the "unset" command. This would terminate therillig1-3/+3
program if the program would be run in "set -e" mode.
2005-11-30Fix usage of BULKFILESDIR:joerg1-6/+16
1. Ensure that it exists before trying to use anything inside of it. 2. Prefix files correctly with BULKFILESDIR to match the rest of the tree. 3. Most importantly, create the .broken.html files for bootstrap tools in BULKFILESDIR, otherwise e.g. bmake would be removed in the middle of a bulk build on non-NetBSD. Discussed-with: rillig@
2005-11-28Instead of extracting the PKG_TOOLS_BIN make(1) variable, extractrillig1-10/+13
PKG_DELETE and PKG_INFO. This is more straigt-forward and adds the proper `-K' command line option to the calls, which in turn fixes bulk builds that don't use the default PKG_DBDIR.
2005-11-28Prefixed the messages with "build> " that I had forgotten in the lastrillig1-6/+6
commit.
2005-11-28Prefixed the status messages from this program with "build> ", torillig1-13/+13
distinguish them from the various other messages.
2005-11-28Print a message before creating the bulk build report, as this takesrillig1-1/+2
quite a long time. Currently the reader of the build log might assume that the installation of lang/perl5 takes so long, which is wrong.