Commit graph

243 commits

Author SHA1 Message Date
Ole Tange 594f630a7f parallel: Code cleanup. Passes testsuite. 2011-05-05 20:50:53 +02:00
Ole Tange ba6af9c3d2 parallel: :::: - (stdin) also works. Test added for ::: and :::: 2011-05-05 18:52:23 +02:00
Ole Tange 0f7fdcdffb parallel: ::: and :::: can now be mixed. Test suite passes. 2011-05-05 18:26:29 +02:00
Ole Tange 1f3af83d66 parallel: fixup to pass testsuite. Passes testsuite. 2011-05-05 17:37:27 +02:00
Ole Tange e2cf6fdd0a parallel: let xapply_get and nest_get used a common read function 2011-05-05 11:33:48 +02:00
Ole Tange 9b773d03f4 parallel: sorting of multiple -a changed 2011-05-05 10:58:18 +02:00
Ole Tange a560a74b8a parallel: :::: now does nesting/product/cartesian/multiply (--xapply missing) 2011-05-04 23:58:00 +02:00
Ole Tange 7f731a54b7 parallel: - as argfile will read from stdin 2011-05-04 20:55:01 +02:00
Ole Tange 48199a88fe parallel: small optimization for --pipe 2011-05-04 00:30:56 +02:00
Ole Tange cb9474a8f6 parallel: Passes testsuite 2011-04-28 12:38:38 +02:00
Ole Tange a63e258bb1 parallel: Implemented {//}. Converted use into conditional use (hopefully with speedup). 2011-04-27 17:12:35 +02:00
Ole Tange c5af096f76 Released as 20110422 'Libya' 2011-04-23 14:01:22 +02:00
Ole Tange 3ab1fc535c parallel: CPU detection code for AIX thanks to Christian Netrwal. 2011-04-18 11:37:34 +02:00
Ole Tange bc0f875e86 Bugfix: if sem is locked by a dead process, release the lock 2011-04-17 02:59:16 +02:00
Ole Tange 1f3c0aa2c2 CPU detecting code for AIX. Warning if you run --version with --tollef 2011-04-17 02:51:02 +02:00
Ole Tange 97d1e025dc parallel: Small fix for ETA. 2011-04-10 18:01:58 +02:00
Ole Tange 1478df33f7 parallel: eta time smoothing depending on pct complete 2011-04-09 00:09:00 +02:00
Ole Tange 7b4f747877 parallel: Implemented {#}. Passes testsuite. 2011-04-08 21:57:19 +02:00
Ole Tange a14fabad36 parallel: --joblog contains exitstatus 2011-04-07 21:58:13 +02:00
Ole Tange e1b8521487 man page update. 2011-03-29 16:22:56 +02:00
Ole Tange 105c92676f parallel: Fixed timing issue for --pipe on 8 core cpu. 2011-03-22 21:02:22 +01:00
Ole Tange 43bc68ae3a Released as 20110322. 2011-03-22 01:44:50 +01:00
Ole Tange c5d11674b0 Fixed: bug #32834: If input is generated slowly - do not complain.
-i with no args defaults to -i {}.
Use ::die_bug instead of die.
2011-03-20 22:40:12 +01:00
Ole Tange b4a51e40ee parallel: Allow -E 0 and -i 0
Documentation changes
2011-03-14 17:37:30 +01:00
Ole Tange 7b8f379adc semiportable testsuite: cd testsuite; make portable 2011-03-09 18:47:00 +01:00
Ole Tange a5a4d67686 sql: sql:sql::alias now works (with testsuite) 2011-03-09 16:23:53 +01:00
Ole Tange 66c0168f4d sql: man-page uses consistent examples 2011-03-08 00:47:39 +01:00
Ole Tange 11b21d638c -l 0 no longer works (and never will) because of --tollef.
exponential backoff in --semaphore mode.
--regexp test.
testsuite passes.
2011-03-01 23:04:15 +01:00
Ole Tange 69201240dc parallel: manpage update for -l 0 -L 0 -n 0, and -N 0. 2011-02-23 16:22:08 +01:00
Ole Tange ff48e14301 parallel: -l 0 -L 0 -n 0, and -N 0 implemented. Passes some tests. Man page missing. 2011-02-23 16:01:18 +01:00
Ole Tange bad6dd4787 Fixes bug #32563: includes testsuite. 2011-02-21 22:29:55 +01:00
Ole Tange c535c25450 parallel: implemented /etc/parallel/config. Passes testsuite. 2011-02-21 02:31:30 +01:00
Ole Tange b7d707b346 parallel: Implemented --gnu and --tollef. Passes at least some tests. 2011-02-18 15:23:00 +01:00
Ole Tange 9cc892faf2 Released as 2011-02-05 FOSDEM 2011-02-17 17:23:38 +01:00
Ole Tange ad61df30f0 parallel: implemented --regexp. Prepended 'parallel:' to warnings 2011-02-02 16:36:29 +01:00
Ole Tange cb468fb6d3 Passes testsuite. 2011-01-27 22:56:59 +01:00
Ole Tange f63347b070 --recend and --recstart are now fixed strings instead of regexp for performance reasons 2011-01-27 22:05:34 +01:00
Ole Tange b0afcf9fa4 parallel --pipe: Do not pipe 0-length input to children 2011-01-27 18:53:57 +01:00
Ole Tange c9d95b0627 Small optimization for large --blocksize for --pipe.
Fixed bug in FreeBSD cpu/core detection.
2011-01-27 00:29:28 +01:00
Ole Tange 6f78fafc20 Chris Howey <howeyc@gmail.com> says: Finding the number of cores does
not seem to be correct on FreeBSD (at least for me).
2011-01-26 00:49:04 +01:00
Ole Tange 9a4522675c parallel: added --rrs with test. Passes testsuite. 2011-01-26 00:45:00 +01:00
Ole Tange 5a098fa66b parallel: Bugfix for Mac OS X: $SIG{TERM} is undef 2011-01-25 15:32:41 +01:00
Ole Tange 76d9e4f41b -N for --pipe. Fixed race condition in --pipe.
Tests for --pipe. Passes testsuite.
2011-01-24 20:06:30 +01:00
Ole Tange d5c7399d5b Released as 20110122 2011-01-22 23:40:15 +01:00
Ole Tange 686c549e05 Update copyright notice 2011-01-21 19:07:03 +01:00
Ole Tange 495d832a73 Conflict resolved 2011-01-21 19:03:12 +01:00
Ole Tange 0be50427fb Fix https://savannah.gnu.org/bugs/index.php?32191 2011-01-21 18:50:23 +01:00
Ole Tange 0247e4beee --spreadstdin now forks a new child for each block. 2011-01-19 16:25:25 +01:00
Ole Tange 1d45092522 parallel: simple test for --spreadstdin.
--recstart and --recend implemented.
Time::Hires no longer needed.
2011-01-18 23:56:28 +01:00
Ole Tange 48454a36ea parallel: --joblog implemented. Testsuite missing.
--spreadstdin prototype. Testsuite missing.
2011-01-18 18:15:42 +01:00
Ole Tange 42a5f4e0cc testsuite passes.
max_jobs_running could be resat if -j is a changed file.
dummy children was not killed if cmd line was too long.
default number of jobs for --semaphore set to 1.
test25 had race condition.
test22 -j10 added.
test13 -j9 added.
test47 remote cleanup added before test.
test17 remote cleanup added before test.
2011-01-17 13:38:58 +01:00
Ole Tange 3ee7f79325 0install wants compiled man pages to be distributed. *.1 are now distributed.
More tests from test suite passes - though not all.
2011-01-11 13:42:14 +01:00
Ole Tange 1cc9c990a4 parallel: fixed: seq 9 | parallel -N 10 echo 2011-01-05 18:10:58 +01:00
Ole Tange e51bc579c8 parallel: implemented basic --joblog Bug#31858 2011-01-05 14:46:45 +01:00
Ole Tange 57cf4df2bc parallel: alpharelease. Distribute args between jobslots for -X. -j+0 now default. 2011-01-02 01:01:21 +01:00
Ole Tange 39526ff1fe sem: Problem if ~/.parallel does not exist. Fixed. 2010-12-22 10:21:58 +01:00
Ole Tange ef812dd02a Released as 20101222 2010-12-21 21:10:44 +01:00
Ole Tange a16d120711 Implemented --tty as the old default of assigning a tty to the first
job causes problems.
Cleanup if --workdir <> . did not work. Fixed.
2010-12-21 18:08:16 +01:00
Ole Tange ec51739620 parallel: Removed some global variables. Code cleanup. 2010-12-19 12:58:36 +01:00
Ole Tange 27822174c2 parallel: Fixed --retries bug. Passes testsuite. 2010-12-19 01:38:36 +01:00
Ole Tange 604ac1c422 parallel.pod: Elaboration on QUOTING 2010-12-16 00:25:41 +01:00
Ole Tange 5a87ded0d1 parallel: Man page for --dry-run. Small bug fixes. 2010-12-16 00:12:02 +01:00
Ole Tange bff9531219 parallel: --dryrun implemented. --return of multiple files with
-X. --return of files containing space. Passes testsuite.
2010-12-14 09:40:42 +01:00
Ole Tange 3b3c344097 parallel: pod-file now separated (it became too big).
niceload: rewritten to GetOpt and first testsuite.
2010-12-07 00:30:08 +01:00
Ole Tange ed6181773e parallel: warnings are now sent directly to stderr and not cached.
Test of --tmpdir works.
Testsuite passes.
2010-12-05 23:58:22 +01:00
Ole Tange f3b7af993a parallel: passes unittest 2010-12-04 15:47:01 +01:00
Ole Tange 01f3a08b55 parallel: --load implemented and documented. How do to testsuite? 2010-12-04 14:14:28 +01:00
Ole Tange e907f723e7 parallel: Code cleanup 2010-12-04 04:06:27 +01:00
Ole Tange 0b31661e8e parallel: --load implemented but not tested. Testsuite passes. 2010-12-03 16:48:49 +01:00
Ole Tange baba462a0d parallel: implemented --nice 2010-12-03 15:22:01 +01:00
Ole Tange f64af319bd niceload: Initial GNU version. 2010-12-03 14:42:22 +01:00
Ole Tange bb2a3ae5bc parallel: added --tmpdir. 2010-12-03 14:08:40 +01:00
Ole Tange 310ddc31ee Fixed #31664: Implement {/} as basename 2010-12-03 00:10:05 +01:00
Ole Tange 77f83e6270 basenamereplace and basenameextensionreplace activated.
Testsuite of {/} {/.} {#/.} {#/}.
2010-12-03 00:04:12 +01:00
Ole Tange 69e7da5bff Released as 20101202.
Debian packaging rolled back.
2010-12-02 21:58:10 +01:00
Ole Tange 4d22781652 --command, -c, --file, and -f now obsoleted. --eta works again.
Bugfix in testsuite for --retries.
Lots of dead code removed.
2010-11-29 23:59:16 +01:00
Ole Tange 46cc1980fa parallel: --progress to STDERR. Test of -M. 2010-11-28 04:11:45 +01:00
Ole Tange 16bf961945 parallel: Now passes test32. test34 has an insignificant warning. 2010-11-28 02:09:53 +01:00
Ole Tange ae08cc3b1c parallel: SSHLogin rewritten to OO. Minor failures in test32 and test34. 2010-11-26 01:45:04 +01:00
Ole Tange 364c394df2 parallel: Speedup of arg processing.
Removing dead code.
2010-11-23 01:40:50 +01:00
Ole Tange 8865cbb10f parallel: Argument handling re-written to OO.
The code is quite messy, the implementation is fairly slow, but the
structure seems sound and it passes the testsuite.
basename {/} and {/.} implemented.
Flushing of STDERR and STDOUT after each job completes.
2010-11-22 10:35:53 +01:00
Ole Tange f7355734a5 Released as 20101113. Test to be compatible with old perllibs 2010-11-15 22:46:36 +01:00
Ole Tange 4ed346760b parallel: GetOptionsFromArray is not supported everywhere 2010-11-15 20:14:27 +01:00
Ole Tange d7c87979f9 Merge branch 'master' of ssh://newton.binf.ku.dk:24222/home/tange/privat/parallel 2010-11-13 17:33:02 +01:00
Ole Tange f5cb948f95 Fixed version 2010-11-13 17:28:35 +01:00
Ole Tange 90c333085d Release candidate 20101113 2010-11-13 14:57:39 +01:00
Ole Tange 0f9e570d7a parallel: Added man page for (unimplemented) basename 2010-11-09 18:09:33 +01:00
Ole Tange 7c1fb94ddb Merge branch 'master' of ssh://newton.binf.ku.dk:24222/home/tange/privat/parallel 2010-11-02 23:39:25 +01:00
Ole Tange 12596830ce parallel: Better example in man page: Use multiple inputs in one command 2010-11-02 23:36:12 +01:00
Ole Tange ea0dfc913e parallel: Implemented --profile. Untested. 2010-11-02 17:11:32 +01:00
Ole Tange 0f094ba5b2 Bugfix: sprintf used %d with no matching argument 2010-10-31 03:11:18 +01:00
Ole Tange f085a37a40 parallel: Implemented $PARALLEL_SEQ and $PARALLEL_PID.
-v now only show the command to be run. Use -vv to see the surrounding ssh wrapping.
--workdir implemented. Spelling mistakes.
2010-10-27 01:50:58 +02:00
Ole Tange 87747a44b4 parallel: Too slow spawning only gives a warning, not an error.
.parallelrc is now read along with .parallel/config.
Passes testsuite.
2010-10-14 23:13:48 +02:00
Ole Tange 428faf33b7 parallel: Bugfix: empty line and --colsep 2010-10-09 21:55:01 +02:00
Ole Tange cce81b5735 parallel: implemented -j file. Passes testsuite. 2010-10-06 22:18:32 +02:00
Ole Tange 44bdda5387 parallel: Give warning if stdin is tty 2010-10-06 20:29:16 +02:00
Ole Tange 692bb88453 parallel: EXAMPLE: Start editor with filenames from stdin (standard input).
parallel: EXAMPLE: GNU Parallel as queue system/batch manager.
2010-10-05 22:22:52 +02:00
Ole Tange 6f03760b56 sql: \n and \x0a in arguments is replaced with newline. Passes unittest. Added more examples. 2010-09-22 23:54:42 +02:00
Ole Tange e06f6d52ce parallel: Added difference between paexec 2010-09-22 01:17:05 +02:00
Ole Tange 59cb631264 Bugfix: --keeporder with -j100% mixed up order of first job
parallel: Unittest for --retries. Passes unittest.
2010-09-21 22:00:30 +02:00