Commit graph

459 commits

Author SHA1 Message Date
Ole Tange 9d1e2df9b9 Test requirements added.
Updates to *-local-* tests so they can run on different computers.
2016-06-27 21:00:19 +02:00
Ole Tange bf0571e4a7 parallel: Fixed bug #48074: --pipe --block 90k blocks on windows.
Fixed bug with open3(x,x,x,"-") detection.
Cleaned up some tests.
2016-06-04 15:49:01 +02:00
Ole Tange 7542609ef1 parallel: Removed $Global::envvar. More --env $PATH changes. 2016-05-29 23:06:15 +02:00
Ole Tange ff27e601bf Fixed bug #47695: How to set $PATH on remote? 2016-05-29 17:18:53 +02:00
Ole Tange 51f212e548 parallel: If --block is left out, --pipepart will use a block size that will result in 10 jobs per jobslot. 2016-05-26 00:13:48 +02:00
Ole Tange 4e90972584 parallel: Use open3(x,x,x,"-") for setpgrp if available. 2016-05-22 14:08:47 +02:00
Ole Tange 58fc7e7c7c testsuite: reorg. Passes testsuite. 2016-05-17 02:11:38 +02:00
Ole Tange f8d1474943 parallel: Transfer functions through csh if PARALLEL_SHELL is set to bash. 2016-05-04 19:28:40 +02:00
Ole Tange d0b5edf41f Fixed bug #47750: -k --line-buffer should give current job up to now. 2016-04-21 23:31:40 +02:00
Ole Tange 45dd9f29d9 Passes testsuite.
parallel: base64 encoding compatible with rc.
2016-04-20 23:35:06 +02:00
Ole Tange 16e3e54dcf env_parallel.tcsh added.
env_parallel.csh now supports variables, aliases, and arrays with no special chars.
2016-04-14 08:33:58 +02:00
Ole Tange 61dca99762 parallel: Fixed bug #47558: rc: line 1: syntax error near '='.
parallel: qqx() runs sh -c 2>/dev/null.
testsuite: Test for bug #47644: Wrong slot number replacement when resuming.
2016-04-11 22:19:28 +02:00
Ole Tange dd793cee9d testsuite: Polarhome improved. 2016-04-06 00:57:07 +02:00
Ole Tange 4a1abba854 Fixed bug #47608: parallel --nonall -S lo 'echo ::: ' blocks. 2016-04-06 00:33:34 +02:00
Ole Tange 38445ee49e testsuite: :::+ (--xapply) with non-wrapping values. 2016-04-04 23:37:54 +02:00
Ole Tange e663fe2636 Added env_parallel.csh env_parallel.pdksh.
env_parallel.fish now supports arrays.
Documentation updates.
2016-03-26 10:35:13 +01:00
Ole Tange 72df609f3d Released as 20160322 ('Bruxelles') 2016-03-22 21:14:10 +01:00
Ole Tange bf91e06e00 Fixed bug #47462: --transfer with file containing /./ is not done relative.
Added env_parallel to Makefile.
--sql => --sqlmaster.
ssh -tt code removed.
Send/return column in --joblog set to 0 instead of null.
parallel_tutorial.pod: Added CSV DBURL example.
2016-03-20 23:57:25 +01:00
Ole Tange 6d8ce313f1 parallel: better support for --sql csv://...
env_parallel.* added.
2016-03-17 00:50:45 +01:00
Ole Tange f1cbb08d78 Released as 20160222 ('N977GA') 2016-02-21 23:07:44 +01:00
Ole Tange b1447b6bad Fixed bug #47086: [PATCH] Initialize total_completed from joblog. 2016-02-19 22:15:08 +01:00
Ole Tange 6628b8980c Fixed bug #47002: --tagstring with -d '\n\n'. 2016-01-28 23:45:11 +01:00
Ole Tange a4ead8224d testsuite: Passes testsuite (sql fails periodically). 2016-01-23 09:54:05 +01:00
Ole Tange 37fd9adb7b Fixed bug #46819: --wd is ignored for --nonall. 2016-01-06 16:22:30 +01:00
Ole Tange a0716ab5fb Fixed bug #46787: --wd {= =} does not work. 2016-01-04 00:33:09 +01:00
Ole Tange fb03c5f05f Released as 20151222 ('ParisAgreement') 2015-12-22 18:42:33 +01:00
Ole Tange 4ec701807e Fixed bug #46519: --onall ignores --transfer.
Passes testsuite.
2015-12-20 18:20:30 +01:00
Ole Tange c871cdd0a3 Fixed bug #46708: controlmaster uses tempdir in $HOME.
Passes testsuite.
2015-12-19 02:46:32 +01:00
Ole Tange c1d01e800e Fixed bug #46630: --tf/--transferfile like --basefile but for each job.
Passes testsuite.
2015-12-13 12:20:50 +01:00
Ole Tange 84e1c33182 Test for bug #46520: --basefile cleans up without --cleanup. 2015-12-13 03:01:11 +01:00
Ole Tange 09dcafc120 Fixed bug #45025: --pipe --retries does not reschedule on other host 2015-12-13 01:54:08 +01:00
Ole Tange b14ca07563 Fixed bug #46520: --basefile cleans up without --cleanup.
qqx() is qx{} with stderr ignored.
{= $_ = total_jobs() =} can now be used.
2015-11-30 00:47:21 +01:00
Ole Tange fc8e346bee parallel: stdin_buffer changed to block. 2015-11-22 11:12:47 +01:00
Ole Tange b244ddf7ca Re-fixed bug #45841: Replacement string for total no of jobs. --bar works, too. 2015-10-18 15:18:30 +02:00
Ole Tange 03a35016a9 Fixed bug #45841: Replacement string for total no of jobs. 2015-10-18 11:44:02 +02:00
Ole Tange 9636f9f249 Fixed bug #46231: {%} with --pipepart broken. 2015-10-17 17:10:04 +02:00
Ole Tange da9043fc65 Fixed bug #46232: {%} with --bar/--eta/--shuf or --halt xx% broken. 2015-10-17 16:54:15 +02:00
Ole Tange 210ca9614c Fixed bug #46214: Using --pipepart doesn't spawn multiple jobs in version 20150922. 2015-10-17 01:57:30 +02:00
Ole Tange 6ad2e2bac3 Re-fixed bug #46120: Suspend should suspend (at least local) children. 2015-10-12 02:15:06 +02:00
Ole Tange 6775eb3082 Fixed bug #46120: Suspend should suspend (at least local) children'. 2015-10-04 23:46:12 +02:00
Ole Tange b8339bc707 Fixed bug #46058: --shellquote broken in fish. 2015-10-04 22:25:37 +02:00
Ole Tange 6b90d81add Fixed bug #46050: --ssh lsh supported and partly --ssh autossh. 2015-09-28 23:27:45 +02:00
Ole Tange 51f5363211 Fixed bug #45993: --wd ... should also work when run locally. 2015-09-25 01:29:34 +02:00
Ole Tange d3b5e26c1a Fixed bug #46016: --joblog should not log when --dryrun. 2015-09-22 01:35:52 +02:00
Ole Tange 0c7f6c91e6 Fixed bug #45998: --pipe to function broken. 2015-09-18 22:28:47 +02:00
Ole Tange a7ac76158f Fixed bug #45939: {2} in {= =} fails. 2015-09-12 17:51:43 +02:00
Ole Tange 285e9209a4 Fixed bug #45907: --header : + --return {header}.
Fixed bug #45906: {= in header =}.
2015-09-09 22:38:42 +02:00
Ole Tange e65907fe88 Fixed bug #45842: Do not evaluate {= =} twice. 2015-08-31 01:57:14 +02:00
Ole Tange 18ab03c98d Fixed bug #45769: --round-robin --pipepart gives wrong results. 2015-08-27 22:28:32 +02:00
Ole Tange 3e5393b1c0 parallel: Fixed --shellquote in csh. Passes testsuite.
testsuite: Test --memfree blocks for 1TB.
testsuite: Test transfer of (assoc) arrays.
testsuite: Test that the remote perl-wrapper works.
2015-08-22 08:59:21 +02:00
Ole Tange 5b51b19bb1 testsuite: Most env_parallel works for different shells. 2015-08-16 02:53:47 +02:00
Ole Tange 2e6a701f96 parallel: Implemented {= $arg[1] and $job->skip() =}. 2015-08-11 00:25:37 +02:00
Ole Tange 4ac1b6200f Testsuite fixup. 2015-08-04 07:54:40 +02:00
Ole Tange 26606a5501 Fixed bug #45619: "--halt" erroneous error exit code. 2015-07-29 02:33:28 +02:00
Ole Tange 68d3abbbab Testsuite fixup for new --block reading and for running on 2-core machine. 2015-07-22 08:28:05 +02:00
Ole Tange 5a8df2075d parallel: FrithMartin's patch for orphan blocks. 2015-06-26 09:08:08 +02:00
Ole Tange 2029853dd9 parallel: Prepare for open3_setpgrp_internal. Implemented --termseq. Passes testsuite incl. mem. 2015-06-22 01:44:53 +02:00
Ole Tange 6d3892ff84 Passes testsuite. 2015-06-21 19:40:58 +02:00
Ole Tange cb20cd2c8e parallel: Implemented setpgrp. Passes testsuite except for some csh tests. 2015-06-21 10:39:48 +02:00
Ole Tange 2c1ebf9904 parallel: Cleanup 20150607alpha. 2015-06-14 23:43:58 +02:00
Ole Tange 0ab644d156 parallel: kill process groups. Fails for --tty jobs. 2015-06-01 01:11:32 +02:00
Ole Tange 499dfe9acb testsuite: test quoting in all known shells. 2015-05-26 00:08:31 +02:00
Ole Tange 2ca7b7f201 parallel: '-quoting for rc-shell. 2015-05-25 22:07:37 +02:00
Ole Tange ee7ad814aa Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	doc/release_new_version
	src/parallel
	testsuite/wanted-results/parallel-tutorial
2015-05-25 20:26:53 +02:00
Ole Tange 6a6a5e4d01 parallel: Specialized shell_quote_scalar for each shell.
Newline quoting for csh. Empty argument quoted as ''. Passes testsuite.
2015-05-25 02:27:30 +02:00
Ole Tange e892e2fcb6 parallel: killall will kill the family, too. 2015-05-23 18:00:00 +02:00
Ole Tange 1b0c5d4ca7 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel into stable
Conflicts:
	doc/release_new_version
	src/parallel
	testsuite/wanted-results/parallel-tutorial
2015-05-22 00:41:02 +02:00
Ole Tange 39ff23c10d Released as 20150522 ('Nepal') 2015-05-22 00:33:39 +02:00
Ole Tange 6df65fa6ce testsuite: Tests for env_parallel for multiple shells. Passes testsuite. 2015-05-21 23:02:55 +02:00
Ole Tange fd5622b2c6 parallel: --fifo works on csh. 2015-05-15 17:25:19 +02:00
Ole Tange 847fbe125a parallel: Formatting of error messages. Passes testsuite. 2015-05-15 08:47:44 +02:00
Ole Tange ec8f851b6a Merge ../parallel.stable 2015-05-15 02:30:35 +02:00
Ole Tange f290cf9b05 testsuite: Additional --halt testing. 2015-05-15 01:59:57 +02:00
Ole Tange cad4b15dab parallel: Fixed security issue with -S + --fifo/--cat. 2015-05-14 17:17:02 +02:00
Ole Tange d4c347c22b parallel: Implemented --ssh. 2015-05-10 22:52:47 +02:00
Ole Tange 2549b9ba1a parallel: added $PARALLEL_SSH. 2015-05-10 22:23:13 +02:00
Ole Tange 35cbf61ecf parallel: --halt returns 0..100.
Passes testsuite.
2015-05-10 15:02:07 +02:00
Ole Tange 5306f0f396 testsuite: more testing of --halt. 2015-05-07 00:40:36 +02:00
Ole Tange fc0c6cee08 parallel: Fixed bug #44995: parallel echo {#} ::: 1 2 ::: 1 2.
Passes testsuite.
2015-05-03 01:22:34 +02:00
Ole Tange 8110572719 parallel: --halt when,why,num. 2015-04-27 22:56:26 +02:00
Ole Tange 53ebf4dcd0 Passes testsuite. 2015-04-23 01:12:00 +02:00
Ole Tange 4e3e0867b9 parallel: Make tmpname() not create a file. That can cause permission problems if you ssh to a shared filesystem as a different user. 2015-04-23 00:15:23 +02:00
Ole Tange d134e2df4d testsuite: Added pidora to polarhome. 2015-04-22 00:05:41 +02:00
Ole Tange fb41b2384c parallel: killall() reaps children without doing anything else.
--tmux max length adjusted.
Run each testscript in its own $TMPDIR.
2015-04-21 00:08:08 +02:00
Ole Tange d8a1dc1880 parallel: Minimize tmpfile race condition in --cat/--fifo. 2015-04-19 02:55:17 +02:00
Ole Tange b9be3f78ba parallel: Use a perl script wrapper to avoid security issue with race condition:
Attacker symlinks a file that will be created later.
2015-04-17 23:51:45 +02:00
Ole Tange 0148770025 parallel: Minimize time when --compress leaves a file. Passes testsuite. 2015-04-15 22:32:46 +02:00
Ole Tange 0996bbff6b parallel: killall() kills jobs with: TERM, wait, TERM, wait, KILL, KILL rest of family. 2015-04-15 00:55:09 +02:00
Ole Tange d8ec46d2d8 parallel: Kill children if receving TERM or INT. 2015-04-10 01:20:51 +02:00
Ole Tange 338ea44e27 testsuite: Automatic test of command in parallel_tutorial.pod.x 2015-04-04 16:37:32 +02:00
Ole Tange b5c67823d6 parallel: FreeBSD specific bugs. 2015-03-29 05:28:57 +02:00
Ole Tange fa72e99c16 parallel: Allow for running command called ' ' on MacOSX. 2015-03-28 14:24:15 +01:00
Ole Tange 41e2f0a7f9 Fixed bug #44460: --files --tag does not work. 2015-03-28 12:14:30 +01:00
Ole Tange 57c8ca0823 Fixed bug #44614: --pipepart --header off by one. 2015-03-25 00:14:50 +01:00
Ole Tange be70739bb7 parallel: functions needs to be exported when using --nice remotely. 2015-03-22 17:13:25 +01:00
Ole Tange ebf4242ea8 Fixed bug #44546: If --compress-program fails: fail.
Passes testsuite.
2015-03-22 01:53:19 +01:00
Ole Tange 8eae0edbbb parallel: Deal with disk full when starting. 2015-03-17 21:36:12 +01:00
Ole Tange 815d00ac38 parallel: More general --tmux length detection. 2015-03-17 20:44:09 +01:00
Ole Tange 8990c7bb42 Fixed bug #44553: --rpl should replace the longest expression first. 2015-03-16 19:51:08 +01:00
Ole Tange 32b6dc4ba5 testsuite: Better test of --tty. 2015-03-08 10:37:49 +01:00