summaryrefslogtreecommitdiff
path: root/mk/bulk
AgeCommit message (Collapse)AuthorFilesLines
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.
2005-11-28If the package-specific log directory is empty after building a package,rillig1-1/+5
and ${BULKFILESDIR} != ${PKGSRCDIR}, try to remove the directory.
2005-11-28- Since printindex does not use the .pkglist cache anymore, this programrillig1-5/+1
does not need to create it.
2005-11-28- Don't use the .pkglist cache anymore, as the cache is quite cheap torillig2-21/+16
regenerate. This change makes printdepends and printindex more independent, because before this change, printindex could use the cache provided by printdepends, but not the other way round. - Fixed the section "Sanity checks, part 2" by allowing newline characters in the list of packages from which the index is built. This bug just hasn't been noticed because the list taken from the cache did not have newlines at all. The '-' character is not included in the $allowed variable because it is handled specially and differently by sh(1) and tr(1). - Updated the printindex man page.
2005-11-24Indentation fix to make the "case" statements look more uniform.rillig1-3/+3
2005-11-24Corrected the quoting of variables in clear cases.rillig1-12/+13
2005-11-241. Added section headers in the part of the user-settable variables.rillig1-3/+13
2. Reindented two "if" statements that looked like this: if long_long_command; then :; else else_commands fi By just scanning the beginnings of the lines, which is a common way of reading source code, one may easily miss the "hidden" "then" branch at the end of the line. I have changed it to: if long_long_command; then :; else else_commands fi
2005-11-23Changed the file extension of BROKENWRKLOG from ".html" to ".txt". This isrillig1-7/+3
mostly a cosmetic change. The motives for this change are that the HTML files only consisted of "<pre>", the properly quoted text/plain contents and "</pre>". There has been no documentation of reasons for encoding plain text in HTML unnecessarily, so this change will produce text/plain files instead. Another change is that instead of appending to the BROKENWRKSRC, the file is overwritten each time. In a single bulk build this will not change anything. Only when the package is built multiple times in a single bulk build, the behavior will differ. Ok'ed by agc.
2005-11-23Per request, back out all the SKIP_AUDIT_PACKAGES changes.erh1-2/+2
bsd.pkg.mk:1.1758-1.1752 bsd.prefs.mk:1.210 bulk/build:1.79 defaults/mk.conf:1.93-1.92
2005-11-20Put literal strings into .Ql quotes.rillig1-3/+5
2005-11-20Added "" quotes to all arguments to echo(1).rillig1-17/+17
2005-11-20Moved the "export BROKENF" command from the top of the program to therillig1-2/+2
point where it is actually used, which is when mk/bulk/pre-build.local is executed for allowing user-specific modifications before the build begins. That way it's easier to see why this command is necessary at all.
2005-11-20- If the BULKFILESDIR differs from PKGSRCDIR, create it before trying torillig1-1/+16
create log files in it. - Fail early if the ORDERFILE does not exist. (As this program is not in "set -e" mode, it had continued without error checking, which resulted in _many_ error messages.)