nicolas / debian.moreutils (public) (License: GPL-2, GPL-2+, Expat, BSD-2-Clause, Public Domain) (since 2018-09-25) (hash sha1)
Debian packaging of joeyh's moreutils
List of commits:
Subject Hash Author Date (UTC)
parallel: Allow a decimal load value to be specified with -l 4665e4fdca863b8346ed2cc39304f2c763e183a9 Joey Hess 2010-02-23 20:44:08
parallel: Fix logic error in code handling -l that could make parallel return a bogus 255 exit code when all jobs succeeded. Closes: #569617 a1a2b5fe9f8e474c55308637caa3f4852f52b480 Joey Hess 2010-02-23 20:35:34
parallel: Fix to really avoid running new jobs when load is too high. f8f42e5fae33fc0e5a5500c2594982f84de592a2 Joey Hess 2010-02-23 19:36:50
parallel: Make -j 0 do something reasonable (start all jobs at once). 9e1baf374a9e26b2e29f706ef3e65273410eedb9 Joey Hess 2010-02-23 19:17:26
parallel: Fix exit code handling when commands are specified after -- 448a100d287f2cc183f305f9e28723776f10b1bf Joey Hess 2010-02-23 18:59:20
Cap sillyness. Closes: #570815 62b8a323afe9cd95f2bff26c7db455e226a40cec Joey Hess 2010-02-21 18:16:23
releasing version 0.38 9c0302474850fa0d16a1d2bca094325e9eea546b Joey Hess 2010-02-09 21:42:14
changelog 8324a9ca9cfa1588339166cf70911fbbe99c8854 Joey Hess 2010-02-09 20:47:40
parallel: Define WEXITED to allow building on FreeBSD kernel. (This is somewhat experimental.) 753f003b589caca0b7a25c0df6c6ae14e7b20a89 Joey Hess 2010-02-09 20:40:14
freebsd patch from Enrico Tassi ff93b6b5da3e3d404a659973fe898b9cfd3a8092 Joey Hess 2010-02-09 20:35:10
wording ad61b8762ecb666d386160df83031d34071e1031 Joey Hess 2009-10-31 23:02:53
parallel: Allow running independent commands, like `parallel -j3 -- ls df "echo hi"` e0b2bcda976eb43b3976b750ce4261db6d608af8 Joey Hess 2009-10-31 14:20:08
Description improvements. Closes: #549450 (Thanks, Justin B Rye) c54640a51bbf3ee6a8bc0054b48f31e46dd86ce1 Joey Hess 2009-10-05 17:33:27
releasing version 0.37 007d7b518d2d83b536adad36f3126856b1cd117a Joey Hess 2009-07-25 08:23:55
parallel.1: Typo fixes. Closes: #538147 6501eeabda20d1b1cf1f137d9bcfd167164a99df Joey Hess 2009-07-25 08:03:42
update 0ddc5db2ce6e03ff7d7ff394b9285ff62d504b02 Joey Hess 2009-07-25 08:02:56
support -n option 2470d063c10dc25daeedb31bcd77865da06d65fd Pierre Habouzit 2009-07-22 09:17:20
parallel: Clarify man page regarding CPUs. Closes: #536597 f933ad5fa6a1a400426763576895f050da32ccbf Joey Hess 2009-07-15 14:13:52
releasing version 0.36 6cf8eb501e1636b37bf61b86b0aaeade05fc768b Joey Hess 2009-07-10 15:04:21
update 87bb3ae3ea452f7abba694be1840ee177d03c085 Joey Hess 2009-07-10 15:01:25
Commit 4665e4fdca863b8346ed2cc39304f2c763e183a9 - parallel: Allow a decimal load value to be specified with -l
Author: Joey Hess
Author date (UTC): 2010-02-23 20:44
Committer name: Joey Hess
Committer date (UTC): 2010-02-23 20:44
Parent(s): a1a2b5fe9f8e474c55308637caa3f4852f52b480
Signer:
Signing key:
Signing status: N
Tree: 15fb904027f1eb42f08946c05a0b0dde0a8951fb
File Lines added Lines deleted
debian/changelog 1 0
parallel.c 2 2
File debian/changelog changed (mode: 100644) (index b0ac071..599ad9d)
... ... moreutils (0.39) UNRELEASED; urgency=low
6 6 * parallel: Fix to really avoid running new jobs when load is too high. * parallel: Fix to really avoid running new jobs when load is too high.
7 7 * parallel: Fix logic error in code handling -l that could make parallel * parallel: Fix logic error in code handling -l that could make parallel
8 8 return a bogus 255 exit code when all jobs succeeded. Closes: #569617 return a bogus 255 exit code when all jobs succeeded. Closes: #569617
9 * parallel: Allow a decimal load value to be specified with -l
9 10
10 11 -- Joey Hess <joeyh@debian.org> Sun, 21 Feb 2010 13:16:10 -0500 -- Joey Hess <joeyh@debian.org> Sun, 21 Feb 2010 13:16:10 -0500
11 12
File parallel.c changed (mode: 100644) (index 6bd4665..c3b9d67)
... ... int wait_for_child(int options) {
100 100 int main(int argc, char **argv) { int main(int argc, char **argv) {
101 101 int maxjobs = -1; int maxjobs = -1;
102 102 int curjobs = 0; int curjobs = 0;
103 int maxload = -1;
103 double maxload = -1;
104 104 int argsatonce = 1; int argsatonce = 1;
105 105 int opt; int opt;
106 106 char **command = calloc(sizeof(char*), argc); char **command = calloc(sizeof(char*), argc);
 
... ... int main(int argc, char **argv) {
132 132 break; break;
133 133 case 'l': case 'l':
134 134 errno = 0; errno = 0;
135 maxload = strtoul(optarg, &t, 0);
135 maxload = strtod(optarg, &t);
136 136 if (errno != 0 || (t-optarg) != strlen(optarg)) { if (errno != 0 || (t-optarg) != strlen(optarg)) {
137 137 fprintf(stderr, "option '%s' is not a number\n", fprintf(stderr, "option '%s' is not a number\n",
138 138 optarg); optarg);
Hints:
Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@ssh.rocketgit.com/user/nicolas/debian.moreutils

Clone this repository using git:
git clone git://git.rocketgit.com/user/nicolas/debian.moreutils

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a merge request:
... clone the repository ...
... make some changes and some commits ...
git push origin main