Released as 20110722.

Fixed man/html generation niceload -> niceload.pod.
Passes testsuite.
This commit is contained in:
Ole Tange 2011-07-22 11:08:58 +02:00
parent 8d13ddebbe
commit f2a1b50250
10 changed files with 81 additions and 31 deletions

43
NEWS
View file

@ -1,3 +1,46 @@
20110722
* niceload: --hard will suspend a program if a limit is reached - as
opposed to just slowing the program down.
* niceload: --soft will slow the program down - as opposed to
suspending the program completely.
* niceload: --run-io will slow down a program if disk io goes above a
certain limit.
* niceload: --run-load will slow down a program if loadaverage goes
above a certain limit.
* niceload: --run-mem will slow down a program if free memory goes
below a certain limit.
* niceload: --run-noswap will slow down a program if the computer is
swapping.
* niceload: --start-io, --start-load, --start-mem, --start-noswap will
defer starting a program until the system is below the limit.
* --io, --load, --mem, and --noswap sets both --run-* and --start-*.
* niceload got a major rewrite and is now object oriented.
* GNU Parallel was presented at Nordic Perl Workshop 2011.
http://conferences.yapceurope.org/npw2011/talk/3416
* Blog post about zcat and GNU Parallel. Thanks to Dr. John.
http://drjohnstechtalk.com/blog/2011/06/gnu-parallel-really-helps-with-zcat/
* 2 blog posts in Japanese. Thanks to Negima.
http://d.hatena.ne.jp/negima1976/20110607/1307412660
http://d.hatena.ne.jp/negima1976/20110628/1309252494
* Blog post for bioinformatics. Thanks to Chris Miller.
http://chrisamiller.com/science/2010/05/26/use-parallel-for-easy-multi-processor-execution/
* Bug fixes and man page updates.
20110622
* --onall will run all the jobs on all the computers. This is useful

20
configure vendored
View file

@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.68 for parallel 20110719.
# Generated by GNU Autoconf 2.68 for parallel 20110722.
#
# Report bugs to <bug-parallel@gnu.org>.
#
@ -559,8 +559,8 @@ MAKEFLAGS=
# Identity of this package.
PACKAGE_NAME='parallel'
PACKAGE_TARNAME='parallel'
PACKAGE_VERSION='20110719'
PACKAGE_STRING='parallel 20110719'
PACKAGE_VERSION='20110722'
PACKAGE_STRING='parallel 20110722'
PACKAGE_BUGREPORT='bug-parallel@gnu.org'
PACKAGE_URL=''
@ -1176,7 +1176,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures parallel 20110719 to adapt to many kinds of systems.
\`configure' configures parallel 20110722 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
@ -1242,7 +1242,7 @@ fi
if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of parallel 20110719:";;
short | recursive ) echo "Configuration of parallel 20110722:";;
esac
cat <<\_ACEOF
@ -1309,7 +1309,7 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
parallel configure 20110719
parallel configure 20110722
generated by GNU Autoconf 2.68
Copyright (C) 2010 Free Software Foundation, Inc.
@ -1326,7 +1326,7 @@ cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by parallel $as_me 20110719, which was
It was created by parallel $as_me 20110722, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ $0 $@
@ -2141,7 +2141,7 @@ fi
# Define the identity of the package.
PACKAGE='parallel'
VERSION='20110719'
VERSION='20110722'
cat >>confdefs.h <<_ACEOF
@ -2704,7 +2704,7 @@ cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by parallel $as_me 20110719, which was
This file was extended by parallel $as_me 20110722, which was
generated by GNU Autoconf 2.68. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
@ -2766,7 +2766,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
parallel config.status 20110719
parallel config.status 20110722
configured by $0, generated by GNU Autoconf 2.68,
with options \\"\$ac_cs_config\\"

View file

@ -1,4 +1,4 @@
AC_INIT([parallel], [20110719], [bug-parallel@gnu.org])
AC_INIT([parallel], [20110722], [bug-parallel@gnu.org])
AM_INIT_AUTOMAKE([-Wall -Werror foreign])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_FILES([

View file

@ -71,6 +71,20 @@ YYYYMMDD=`yyyymmdd`
echo put parallel-$YYYYMMDD.tar.bz2{,.sig,*asc} | ncftp ftp://ftp-upload.gnu.org/incoming/ftp/
#echo put parallel-$YYYYMMDD.tar.bz2{,.sig,*asc} | ncftp ftp://ftp-upload.gnu.org/incoming/alpha/
== Update OpenSUSE build system ==
cd ~/privat/parallel/packager/obs
# Update version number
em home:tange/parallel/parallel.spec
find home:tange/parallel/* -type f | grep -v parallel.spec | parallel -Xj1 osc rm {}
# This should not create new files
osc up home:tange/parallel/
make
# Update versionsnummeret from 20110422-2 to YYYYMMDD-1
# Reload build-status:
https://build.opensuse.org/package/show?package=parallel&project=home%3Atange
# Check that one .deb (Debian 5.0) and one .rpm (CentOS) build
== Download and test ==
YYYYMMDD=`yyyymmdd`
@ -84,15 +98,6 @@ cd parallel-$YYYYMMDD
make -j && sudo make -j install
pushd
== Update OpenSUSE build system ==
https://build.opensuse.org/package/show?package=parallel&project=home%3Atange
cd ~/privat/parallel/packager/obs
em home:tange/parallel/parallel.spec
find home:tange/parallel/* -type f | grep -v parallel.spec | parallel osc rm {}';' rm {}
make
Ret versionsnummeret fra 20100906-2 til YYYYMMDD-1
== Update Savannah ==
Content from release mail:
@ -115,11 +120,12 @@ http://www.gnu.org/software/parallel/niceload.html
pod2html src/parallel.pod > ../parallel-web/parallel/man.html
pod2html src/sql > ../parallel-web/parallel/sql.html
pod2html src/niceload > ../parallel-web/parallel/niceload.html
pod2html src/niceload.pod > ../parallel-web/parallel/niceload.html
pod2html src/sem.pod > ../parallel-web/parallel/sem.html
cd ../parallel-web/parallel
pushd ../parallel-web/parallel
cvs up
cvs ci
pushd
== Commit released version ==

View file

@ -30,8 +30,8 @@ sql.html: sql Makefile sem
./sem --fg --id pod2html pod2html $(srcdir)/sql > $(srcdir)/sql.html
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
niceload.html: niceload Makefile sem
./sem --fg --id pod2html pod2html $(srcdir)/niceload > $(srcdir)/niceload.html
niceload.html: niceload.pod Makefile sem
./sem --fg --id pod2html pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
sem: parallel

View file

@ -475,8 +475,8 @@ sql.html: sql Makefile sem
./sem --fg --id pod2html pod2html $(srcdir)/sql > $(srcdir)/sql.html
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
niceload.html: niceload Makefile sem
./sem --fg --id pod2html pod2html $(srcdir)/niceload > $(srcdir)/niceload.html
niceload.html: niceload.pod Makefile sem
./sem --fg --id pod2html pod2html $(srcdir)/niceload.pod > $(srcdir)/niceload.html
./sem --fg --id pod2html rm -f $(srcdir)/pod2htm*
sem: parallel

View file

@ -3,7 +3,7 @@
use strict;
use Getopt::Long;
$Global::progname="niceload";
$Global::version = 20110719;
$Global::version = 20110722;
Getopt::Long::Configure("bundling","require_order");
get_options_from_array(\@ARGV) || die_usage();
if($::opt_version) {

View file

@ -1,3 +1,5 @@
#!/usr/bin/perl -w
=head1 NAME
niceload - slow down a program when the load average is above a certain limit
@ -346,7 +348,6 @@ Getopt::Long.
=head1 SEE ALSO
B<parallel>(1), B<nice>(1)
B<parallel>(1), B<nice>(1), B<uptime>(1)
=cut

View file

@ -456,7 +456,7 @@ sub get_options_from_array {
sub parse_options {
# Returns: N/A
# Defaults:
$Global::version = 20110719;
$Global::version = 20110722;
$Global::progname = 'parallel';
$Global::infinity = 2**31;
$Global::debug = 0;

View file

@ -536,7 +536,7 @@ $Global::Initfile && unlink $Global::Initfile;
exit ($err);
sub parse_options {
$Global::version = 20110719;
$Global::version = 20110722;
$Global::progname = 'sql';
# This must be done first as this may exec myself