Commit graph

1212 commits

Author SHA1 Message Date
Ole Tange 9689682674 parallel: code cleanup. 2016-08-23 00:08:10 +02:00
Ole Tange ec9e90e529 Released as 20160822 ('OgNomekop') 2016-08-21 22:14:31 +02:00
Ole Tange 8bec8de5df --tmuxpane initial version.
Passes testsuite.
2016-08-21 15:37:59 +02:00
Ole Tange fd6abf1f9a parallel: Removed memleak. 2016-08-14 16:54:27 +02:00
Ole Tange e94774df14 parallel: Less memory leak (now around 40 bytes/job). 2016-08-13 19:17:44 +02:00
Ole Tange a7b50a054e parallel: --xapply => --link. 2016-08-13 19:11:15 +02:00
Ole Tange 393cfd177a parallel: base64_zip_eval written shorter so it might fit in csh's 1000 byte limit. 2016-08-04 00:04:06 +02:00
Ole Tange 223cdb4754 parallel: Prepare for better error handling of parallel running of --basefile and --cleanup. 2016-08-04 00:01:41 +02:00
Ole Tange a04e3e6740 parallel: --tty re-fixed. 2016-08-04 00:00:19 +02:00
Ole Tange f8467c9a6b parallel: Bash aliases only visible if exec'ed as a single command - not a string. 2016-08-03 23:58:52 +02:00
Ole Tange b9470f8964 parallel: Use && to make sure dest dir is created before trying to rsync to it. 2016-08-03 23:55:54 +02:00
Ole Tange 201eab34ab parallel: Do not track median of failed jobs: They might fail very fast and skew the median. 2016-08-03 23:53:20 +02:00
Ole Tange 0724162ad4 parallel: --linebuffer treat \r as a full line, too. 2016-08-03 23:51:14 +02:00
Ole Tange 769d2706f2 niceload: Wrong regexp for loadaverage on MacOS X. Force LANG=C. 2016-08-03 23:42:15 +02:00
Ole Tange a1757c141a sql: sqlplus is sqlplus64 on AMD64. 2016-08-02 01:30:46 +02:00
Ole Tange cd9b2a4c24 env_parallel.bash: Ignore output from shopt.
env_parallel.zsh: Reverted change.
2016-08-02 01:25:14 +02:00
Ole Tange dc247b78cb env_parallel: --install less noisy. 2016-08-02 01:22:39 +02:00
Ole Tange 28dcb4a4db env_parallel.zsh: ignore typeset for zsh parameters like dis_patchars and patchars. 2016-08-01 21:07:42 +02:00
Ole Tange 0ef41e79aa Released as 20160722 ('Brexit') 2016-07-23 01:41:54 +02:00
Ole Tange 1082b5ca02 testsuite fixups. 2016-07-22 23:57:23 +02:00
Ole Tange 4fb086c285 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	doc/release_new_version
2016-07-22 20:41:39 +02:00
Ole Tange f38d7fe29f testsuite: env_parallel expanded. 2016-07-22 20:39:12 +02:00
Ole Tange 2ae423ad88 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel 2016-07-22 18:10:37 +02:00
Ole Tange 71ba3f1a8f Passes testsuite. 2016-07-22 18:10:28 +02:00
Ole Tange 68a48146ea env_parallel: --env _ supported in (t)csh and pdksh. 2016-07-14 20:08:26 +02:00
Ole Tange 3ba7a4646d testsuite: --env for csh. 2016-07-11 03:50:52 +02:00
Ole Tange bec3d7924b env_parallel.tcsh: Testing of --env _ for tcsh works. 2016-07-11 03:30:18 +02:00
Ole Tange 1117140adb parallel: Fixed SQL racing error.
If two workers both work on the last job, the master will drop the
table when the first returns. The second should ignore the dropped
table.
2016-07-10 23:01:53 +02:00
Ole Tange 1cb786c62e env_parallel.tcsh: --env _ works. 2016-07-10 22:57:33 +02:00
Ole Tange 402d3960d4 parallel: Fixed bug #48449: memory leak. 2016-07-10 16:02:26 +02:00
Ole Tange 8a5729cebd Fixed bug #48414: --sqlandworker --linebuffer does not save output in sql. 2016-07-06 19:04:52 +02:00
Ole Tange 11a8800751 parallel: Fixed locking bug in --sql for SQLite.
testsuite: Reworked parallel-local-sql.
2016-07-06 15:58:47 +02:00
Ole Tange eacc07bcb0 env_parallel.bash: --env _ supported.
env_parallel.ksh: --env _ supported.
env_parallel.zsh: --env _ supported.
testsuite/.../parallel-local-ssh7: Focuses on env_parallel.
2016-07-05 13:28:22 +02:00
Ole Tange a3947338da env_parallel.ksh: Fixed for ksh #47483: env_parallel export --env only. 2016-07-04 14:54:38 +02:00
Ole Tange 805d924c16 Fixed bug #48290: round-robin does not distribute data based on business. 2016-07-04 12:55:16 +02:00
Ole Tange a62b528382 Fixed bug #48385: --pipepart does not work on block-devices. 2016-07-04 04:26:57 +02:00
Ole Tange dd5ade4fbe env_parallel.zsh now supports aliases. 2016-07-02 18:00:51 +02:00
Ole Tange 8637d30bca env_parallel.bash: Fixed for bash #47483: env_parallel export --env only. 2016-06-29 03:24:14 +02:00
Ole Tange 85dfb3e96a Fixed bug #48327: env_parallel.bash fails if function has (). 2016-06-28 18:13:35 +02:00
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 d0dc1f9bd7 Fixed bug #48295: --results should be dynamic like --wd.
No test.
2016-06-22 21:43:05 +02:00
Ole Tange da82bea501 parallel: Warning if --pipe with --block >64k on CygWin. 2016-06-20 12:33:05 +02:00
Ole Tange 9d3c6997cd The cookie from 2016-01-04 was won by Morgan Rodgers after 5 months. 2016-06-07 21:53:32 +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 d570ec2d20 parallel: Allow for command with empty name in process table. 2016-05-22 22:53:53 +02:00
Ole Tange 618220910a parallel: limit buffering to 1..2 (stdout..stderr).
testsuite: Compatibility fix with perl-5.14.
2016-05-22 22:43:53 +02:00
Ole Tange 8b96f84864 Released as 20160522 ('TTIPleaks') 2016-05-22 14:21:46 +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 17a50e3354 parallel: fixed --interactive.
parallel: fixed --basefile with --workdir.
2016-05-09 00:03:11 +02:00
Ole Tange 9d9016b88f niceload: Fixed --battery.
niceload: Implemented --net/--nethops.
2016-05-08 14:18:10 +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 e4738dfb97 Released as 20160422 ('PanamaPapers') 2016-04-22 00:36:46 +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 3738136bc4 parallel: Use File::Path::mkpath instead of home made version. 2016-04-14 23:30:03 +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 2aea2879c9 parallel: Fixed bug #47644: Wrong slot number replacement when resuming. 2016-04-10 00:35:32 +02:00
Ole Tange 39fb9d179e parallel: Deal with 'parallel --citation < /dev/null'. 2016-04-09 23:57:50 +02:00
Ole Tange 3d919c6cd4 Fixed: bug #46679: Problems exporting bash functions to /bin/sh. 2016-04-06 00:38:24 +02:00
Ole Tange b17f41d17f parallel: Better CPU detection on OpenIndiana. 2016-04-06 00:35:45 +02:00
Ole Tange 4a1abba854 Fixed bug #47608: parallel --nonall -S lo 'echo ::: ' blocks. 2016-04-06 00:33:34 +02:00
Ole Tange 9892e7deac env_parallel.bash tested: Works better as variable than as tempfile. 2016-04-04 23:33:30 +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 1cad1cf939 parallel: Implemented buggy :::+ and ::::+ 2016-03-23 00:20:42 +01:00
Ole Tange 72df609f3d Released as 20160322 ('Bruxelles') 2016-03-22 21:14:10 +01:00
Ole Tange f406518899 env_parallel: Documentation added. 2016-03-22 20:09:18 +01:00
Ole Tange feb914f4ef parallel: Give warning if \0 is contained in arguments. 2016-03-22 20:08:38 +01:00
Ole Tange 2467d0b5be niceload: --prg searches for substrings if no the string matches nothing. 2016-03-22 20:06:08 +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 794315c676 parallel: --load: Use 'ps axH -o state,command' to include threads. 2016-02-14 20:13:31 +01:00
Ole Tange 6628b8980c Fixed bug #47002: --tagstring with -d '\n\n'. 2016-01-28 23:45:11 +01:00
Ole Tange 7fd33c205a Released as 20160122 ('Bowie') 2016-01-23 10:46:58 +01:00
Ole Tange 37fd9adb7b Fixed bug #46819: --wd is ignored for --nonall. 2016-01-06 16:22:30 +01:00
Ole Tange 582164930a Changed SQL datatypes as per bug #46803: Improvements to --sql. 2016-01-05 12:00:43 +01:00
Ole Tange a0716ab5fb Fixed bug #46787: --wd {= =} does not work. 2016-01-04 00:33:09 +01:00
Ole Tange f4c20c13b0 Released as 20160101 ('20160101alpha') 2016-01-01 15:12:43 +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 2fcb6f8df6 Code cleanup. 2015-12-14 01:23:34 +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 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 1625b42946 Released as 20151122 ('Bataclan') 2015-11-22 19:57:42 +01:00
Ole Tange 68ee1c3f70 parallel: memfree script sometimes fail: Run it twice. 2015-11-22 11:15:45 +01:00
Ole Tange 72ff28f801 parallel: check_invalid_option_combinations(). 2015-11-22 11:14:54 +01:00
Ole Tange fc8e346bee parallel: stdin_buffer changed to block. 2015-11-22 11:12:47 +01:00
Ole Tange 5be0293a96 Released as 20151022 ('LiquidWater') 2015-10-21 23:55:31 +02: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 554b723687 Disabled bug #45997: parallel --bar --pipe wc. 2015-10-17 17:14:41 +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 5b7d5ee32a Released as 20150922 ('AylanKurdi') 2015-09-21 20:03: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 f47bdf0a0d Post-release. 2015-08-22 12:05:56 +02:00
Ole Tange 074ed8bfc6 Released as 20150822 ('HansVibeke') 2015-08-22 11:47:09 +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 eebaad1731 parallel: --memfree now uses /proc/meminfo for GNU/Linux. 2015-08-13 21:41:35 +02:00
Ole Tange 2e6a701f96 parallel: Implemented {= $arg[1] and $job->skip() =}. 2015-08-11 00:25:37 +02:00
Ole Tange 26606a5501 Fixed bug #45619: "--halt" erroneous error exit code. 2015-07-29 02:33:28 +02:00
Ole Tange 95d75a290f Post-release updates. 2015-07-29 02:19:51 +02:00
Ole Tange 147c24aeda Released as 20150722 ('Pluto') 2015-07-22 09:26:18 +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 2ca714a58e Fixed bug #45575: -m and multiple hosts repeats first args. 2015-07-19 03:07:48 +02:00
Ole Tange cfc8501693 parallel: Adjust length to read to make --block more predictable. 2015-07-19 00:17:42 +02:00
Ole Tange e4e88de3cb Cookie 2013-08-18 was won by Mark Maimone. 2015-07-19 00:03:09 +02:00
Ole Tange 714f5793d0 parallel: --tollef now throws an error unless --gnu is set. 2015-07-02 05:12:50 +02:00
Ole Tange ff048f5337 parallel.pod: Fixed bug #45450: man pages encourage gender binary. 2015-07-01 04:46:32 +02:00
Ole Tange dcc18d38f5 parallel: Fixed bug #45414: Use setpriority for --nice. 2015-06-27 00:29:28 +02:00
Ole Tange 5a8df2075d parallel: FrithMartin's patch for orphan blocks. 2015-06-26 09:08:08 +02:00
Ole Tange 2ea31ecb17 Released as 20150622 ('Løkke') 2015-06-22 21:23:26 +02:00
Ole Tange 210e9db387 parallel: Implemented --termseq. 2015-06-22 02:30:30 +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 a0adb0a1b1 parallel: Show at which arg something unexplained failed. 2015-06-18 00:47:33 +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 e57ec6deec parallel: Fixed: csh length before base64 quoting too high. 2015-05-31 16:24:09 +02:00
Ole Tange 2ca7b7f201 parallel: '-quoting for rc-shell. 2015-05-25 22:07:37 +02:00
Ole Tange 1a6ddb891e Unstable changes merged. 2015-05-25 21:31:28 +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 e64461941b Fixed bug #45144: Does not work on Solaris "zone" containers. 2015-05-21 23:32:15 +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 03a69b38ce Fixed bug #45144: Does not work on Solaris "zone" containers. 2015-05-20 22:37:10 +02:00
Ole Tange 87951b34d1 parallel: --retry-failed implemented. 2015-05-20 21:09:33 +02:00
Ole Tange 456f63d2bc parallel: Fail if -a file is not seekable for --pipepart. 2015-05-15 22:05:48 +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 09fccc68fc Merge security fix into stable. 2015-05-14 17:20:13 +02:00
Ole Tange cad4b15dab parallel: Fixed security issue with -S + --fifo/--cat. 2015-05-14 17:17:02 +02:00
Ole Tange 09de088df9 parallel: Cleaned up error() and warning(). 2015-05-14 16:14:42 +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 31564e97fc sem.pod: toilet analogy added to explain semaphore. 2015-05-10 21:38:57 +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 96126e3c46 Post-release changes. 2015-04-27 20:56:34 +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 bbedf716c1 parallel: Give multiple --sshlogin by separating them with \n. 2015-04-22 18:26:41 +02:00
Ole Tange 1b54fefc10 parallel: added --shuf. 2015-04-22 00:08:50 +02:00
Ole Tange 63d2736740 src/parallel: exec sleep fails on qnx. 2015-04-21 03:15:31 +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 1d1d35cfdd Merge tag 'det'
Conflicts:
	src/parallel
2015-04-15 22:36:52 +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 c7bea14805 parallel: pid_table for msys. 2015-04-14 22:09:52 +02:00
Ole Tange 18d62fe452 parallel: Fixed bug #44810: --compress leaves tmp file hanging. 2015-04-11 20:54:56 +02:00
Ole Tange d8ec46d2d8 parallel: Kill children if receving TERM or INT. 2015-04-10 01:20:51 +02:00
Ole Tange 98c4da806f parallel: Update --bar/--progress/--eta more aggresively for: seq 1000 | parallel --eta -j0 sleep 0.{} 2015-04-05 04:36:17 +02:00
Ole Tange 2e68cd95dc parallel: Use stty -a </dev/tty if resize does not work to find $COLUMNS of terminal. 2015-04-05 03:57:16 +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 0094c81f9b Fixed bug #44667: Reaping children should be done closer to child death. 2015-03-30 17:50:38 +02:00
Ole Tange 0bf3464301 parallel: pid_table command for MSWin32. 2015-03-29 20:19:33 +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 af9dd80129 parallel: cygwin support for --load. 2015-03-26 00:09:32 +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 585a29c062 Cleanup for next release. 2015-03-22 14:14:50 +01:00
Ole Tange 69188b0fa6 Builds on OBS. 2015-03-22 02:27:01 +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
Ole Tange 0b99f96151 Fixed bug #44143: csh and nice. 2015-03-08 01:10:24 +01:00
Ole Tange 26a94004c9 Fixed bug #44371: --trc with csh complains 2015-03-07 23:41:45 +01:00
Ole Tange db3bc0c4eb parallel: Fixed https://savannah.gnu.org/bugs/index.php?44476 2015-03-07 19:45:00 +01:00
Ole Tange 4ef66ec7f6 testsuite for 2GB issues on some Perl versions.
Memory heavy jobs (>2 GB) moved to parallel-local-mem.sh.
Passes testsuite.
2015-03-07 17:49:16 +01:00
Ole Tange 9c73947d9f parallel: --joblog records input and output data as Send/Receive. 2015-03-07 03:45:13 +01:00
Ole Tange d4ab51beb6 parallel: Some Perl versions do not support substr($buf,0,$i) with $i > 2GB, so do this in 2GB chunks. 2015-03-05 23:15:11 +01:00
Ole Tange 3c05c6815b parallel: --tagstring '\007' re-fixed. 2015-03-04 00:54:23 +01:00
Ole Tange d65fa2a35d Fixed --number-of-cores for hpux-ia64. 2015-03-04 00:12:00 +01:00
Ole Tange 96cfacb830 Fixed bug #44250: pxz complains File format not recognized but decompresses anyway. 2015-03-03 01:05:36 +01:00
Ole Tange d19de35acb Fixed bug #44350: --tagstring should support \t. 2015-02-24 23:36:32 +01:00
Ole Tange 2dee8e452b Fixed bug #44358: 2 GB records cause problems for -N. 2015-02-24 23:23:18 +01:00
Ole Tange c445232b23 Fixed bug #44357: Some large file support is broken. 2015-02-24 02:28:49 +01:00
Ole Tange e22467f4dd parallel: --number-of-cores now respects 'taskset'. 2015-02-23 22:32:34 +01:00
Ole Tange 72819bdcba Released as 20150222 (' (((:~{> Krudttønden'). 2015-02-22 15:21:00 +01:00
Ole Tange a9dc4f3ea4 parallel: Rewrite of --tmux. Fixed some csh issues. 2015-02-22 15:09:26 +01:00
Ole Tange 3549c38b0f Fixed bug #44148: csh long vars fail exporting. 2015-02-01 21:46:06 +01:00
Ole Tange 927cf13b0c testsuite: Cleanup after each test. 2015-02-01 14:38:26 +01:00
Ole Tange 6edfaf29ea Fixed bug #44144: --tagstring {=s/a/b/=} broken and bug #44044: --return with {= perl expr =} does not work. 2015-02-01 14:29:16 +01:00
Ole Tange 259820f48c Released as 20150122 (' (((:~{> Je Suis Charlie'). 2015-01-21 22:24:23 +01:00
Ole Tange e4c97e4bd1 testsuite: Fixup. Passes testsuite. 2015-01-20 22:08:52 +01:00
Ole Tange 92e65305df testsuite: Special char file and dir transfer return and cleanup. 2015-01-19 00:08:07 +01:00
Ole Tange 649e2ec7c3 parallel_design.pod: GNU Parallel design considerations. 2015-01-19 00:07:12 +01:00
Ole Tange 8c4f4c2b20 parallel: Test for bug #43967: Error if there exists a bin/zsh or bin/bash dir (with zsh or bash). 2015-01-18 22:09:30 +01:00
Ole Tange 38b214971e parallel: Fixed bug #43967: Error if there exists a bin/zsh or bin/bash dir (with zsh or bash). 2015-01-18 21:54:43 +01:00
Ole Tange 29ce26de3f parallel: changed hex encoding to base64 encoding. 2015-01-18 06:08:46 +01:00
Ole Tange b784f4eca6 parallel: --pipe --cat tested with csh. 2015-01-18 00:20:38 +01:00
Ole Tange ca03efde42 parallel: --no-keep-order will reverse --keep-order. --no-notice => --will-cite. 2015-01-11 23:08:23 +01:00
Ole Tange 2c3fd52197 Released as 20150109alpha. 2015-01-09 00:00:21 +01:00
Ole Tange 3d01e955bf Bug fix: Trailing space in sshlogin http://lists.gnu.org/archive/html/bug-parallel/2015-01/msg00000.html 2015-01-06 23:34:45 +01:00
Ole Tange 40668af537 sem: --semaphoretimeout <negative value> means: Exit if no semaphore gotten. 2015-01-03 14:48:01 +01:00
Ole Tange 8966df3c0d parallel: --wd and --halt fix. 2015-01-02 22:36:40 +01:00
Ole Tange 3d2ecc7651 parallel: Commands longer than 1000 chars are bzip2'ed + hex encoded due to csh limit. 2015-01-02 22:35:30 +01:00
Ole Tange 3071e28c15 parallel: Implemented --halt -1 and --halt -2. 2015-01-02 22:33:33 +01:00
Ole Tange 287fc41c1c sem: --shebang-wrap example in manual. 2015-01-02 22:33:32 +01:00
Ole Tange ad163a999e sem: --fg --line-buffer failed. 2015-01-02 22:33:32 +01:00
Ole Tange 11a05ca1a3 parallel: Fixed bug #42493: --sshlogin does not send stderr to stderr. 2015-01-02 22:33:32 +01:00
Ole Tange 0992d1a7c9 parallel: move job failure and print_earlier into Job object. 2015-01-02 22:33:32 +01:00
Ole Tange fe08937ea9 parallel: Avoid using Tie::RefHash. Passes test-suite. 2015-01-02 22:33:28 +01:00
Ole Tange 4e9170978a parallel: quoting of replacement string. 2015-01-02 22:32:17 +01:00
Ole Tange ed45661bf7 parallel: quoting of ^ has changed. 2015-01-02 22:32:17 +01:00
Ole Tange 1be2fea92f parallel: Bug for --retries on two hosts. 2015-01-02 22:32:17 +01:00
Ole Tange 7fba9278f8 parallel: --memfree prototype. 2015-01-02 22:32:17 +01:00
Ole Tange 0c8761689c Fixed bug #43817: Some JP char cause problems in positional replacement string 2015-01-02 22:32:17 +01:00
Ole Tange f1b7ededc7 parallel: Use status() for status message instead of directly using STDERR. 2015-01-02 22:32:17 +01:00
Ole Tange 445e154250 parallel: Deal with {} as part of the command (not arg for the command). 2015-01-02 22:32:16 +01:00
Ole Tange 0b9fd07e23 parallel: refactored big subs. 2015-01-02 22:32:16 +01:00
Ole Tange 2b33c5b034 parallel: Fixed {= {= =} =}, {= =}=}, {={= =}
Conflicts:
	doc/release_new_version
2015-01-02 22:32:00 +01:00
Ole Tange 98ff943df2 parallel: Modified citation clause. 2015-01-02 22:25:02 +01:00
Ole Tange 87f65b76fe Update of instant load calc on more platforms. Needs more tought, though. 2014-11-24 21:45:11 +01:00
Ole Tange d94aa91ad1 Fixed bug #43654: --bar with command not using {}. 2014-11-23 01:31:33 +01:00
Ole Tange 2c9971729b Released as 20141122 ('Rosetta'). 2014-11-22 21:31:34 +01:00
Ole Tange 763dd12caa Fixed env_parallel so it works post-shell-shock. 2014-11-15 15:25:19 +01:00
Ole Tange dce64026cc Fixed bug --pipe --linebuffer --round does not distribute if the consumer is fast. 2014-11-14 01:00:56 +01:00
Ole Tange 1dd2d6a601 Fixed bug #43600: --pipe --linebuffer --round does not work. 2014-11-13 17:03:36 +01:00
Ole Tange 2fb56b5755 src/parallel: -S @hostgroup implemented. 2014-11-13 16:57:41 +01:00
Ole Tange e9b3387a7b Test suite for --hostgroup. 2014-11-13 04:19:33 +01:00
Ole Tange fb3c148050 Fixed bug #43570: Perl 5.8.0 creates 61 files.
Man page for --hostgroups.
Restyled examples in man pages.
2014-11-11 15:51:19 +01:00
Ole Tange 2aeb79bfe0 parallel: Give warning if hostgroup is unknown, and run it anyway. 2014-11-11 05:09:09 +01:00
Ole Tange 95958b623a parallel: Implemented --hostgroup. 2014-11-11 04:56:55 +01:00
Ole Tange 8563f3f95a Fixed bug #43567: --env + --filter_hosts + function fails 2014-11-10 00:29:42 +01:00
Ole Tange ee6d07d49b Fixes bug #43518: GNU Parallel doesn't obey servers' jobs capacity when an ssh login file is reloaded 2014-11-07 11:05:24 +01:00
Ole Tange e38668f1f9 niceload: Fixed deepusleep bug introduced last month. 2014-10-25 12:44:10 +02:00
Ole Tange 2ff435caea parallel: sub wrapper implemented. Passed most of the testsuite. 2014-10-24 11:30:39 +02:00
Ole Tange 2f9dc0b034 Released as 20141022 ('Shellshock'). 2014-10-22 22:17:01 +02:00
Ole Tange c4100ef3d7 parallel: passes testsuite. 2014-10-22 21:59:06 +02:00
Ole Tange 1aa965256c Test of bug #43376: {%} and {#} with --pipe. 2014-10-14 22:56:03 +02:00
Ole Tange f7b2b1513c Released as 20141009alpha. 2014-10-09 22:21:28 +02:00
Ole Tange b864dbd0db parallel: Shellshock seems fixed. Untested. 2014-10-09 17:05:21 +02:00
Ole Tange c0b26cdea7 niceload: --battery: Run when not on battery.
parallel: Code cleanup.
2014-10-08 00:27:13 +02:00
Ole Tange dee7e98321 Fixed bug #43284: {%} and {#} with --xapply. 2014-09-23 20:14:57 +02:00
Ole Tange 9270b1284b man page updated: alpha -> beta 2014-09-23 16:23:55 +02:00
Ole Tange b3ba17ca23 Released as 20140922 ('Scotland'). 2014-09-22 18:26:25 +02:00
Ole Tange 028e24274f Passes testsuite. 2014-09-20 21:36:02 +02:00
Ole Tange eaedef9937 src/parallel: Small disk full optimization.
src/parallel.pod: --tollef elaboration (Thanks to Robin Neatherway).
2014-09-18 22:09:20 +02:00
Ole Tange 30ed40ee3f Fixes: bug #43165: NFS as tmp broken in 20131222. 2014-09-07 17:10:44 +02:00
Ole Tange b01688b07f Fixed bug #43107: --line-buffer --onall does not work. 2014-08-29 23:33:57 +02:00
Ole Tange 75d055970f parallel: Code re-org to remove $Private::variables. 2014-08-27 23:29:15 +02:00
Ole Tange 53883d3e31 parallel-local22.sh: Testsuite for #42999. 2014-08-25 07:06:13 +02:00
Ole Tange fd85a50d14 Fixed bug #42999: --pipepart with remote does not work 2014-08-25 00:44:19 +02:00
Ole Tange 6e612565a9 Fixed bug #42983: include/exclude servers on-the-fly.
Fixed ln -s to relative path.
2014-08-24 17:19:17 +02:00
Ole Tange 82550070ee Released as 20140822 ('Williams'). 2014-08-23 00:39:59 +02:00
Ole Tange 6df2491b81 Passes testsuite. 2014-08-22 23:30:39 +02:00
Ole Tange 50f2efb31b Released as 20140815alpha. 2014-08-15 00:24:50 +02:00
Ole Tange b895afce6a Released as 20140815alpha. 2014-08-15 00:19:44 +02:00
Ole Tange fe1f91776a parallel: Preparations for transfering full environment using $parallel_bash_environment.
Better error message if 'file not found' for -a --pipepart.
Allow for forcing 0 CPUs using 0/sshlogin.
Round fractional wanted CPUs up.
2014-08-15 00:12:23 +02:00
Ole Tange fcf1e64438 parallel: When hitting EOF: Close file without reading to EOF. 2014-08-07 20:20:37 +02:00
Ole Tange d02f31b05c Fixed bug #42913: Dont use $SHELL but the shell currently running 2014-08-05 11:37:58 +02:00
Ole Tange df5e2231d0 Fixed: parallel -a not_existing --pipepart wc 2014-08-04 13:10:38 +02:00
Ole Tange 0a7b38c257 src/parallel.pod: ladon comparison. 2014-08-02 17:00:35 +02:00
Ole Tange 8e406a11bb Fixed bug #42902: profiles containing arguments with space 2014-08-02 14:55:36 +02:00
Ole Tange 64998ab628 bug #42893: --block should not cause decimals in cat_partial.
tempfile must respect $TMPDIR.
disk full check bug fixed and tested on multiple filesystems.
2014-07-31 22:50:33 +02:00
Ole Tange cb3197582a Fixed: bug #42842: --bar with weird chars 2014-07-28 10:20:29 +02:00
Ole Tange af23562d99 parallel: Fixed bug #42842: --bar with weird chars. Fixed bug #42845: rsync 3.1.x fails against 2.5.7.
Give warning if reading arguments (for --eta/--bar) takes > 30 sec.
A few more characters annoy tmux.
parallel.pod: Bash array copy function.
2014-07-28 00:30:54 +02:00
Ole Tange 9a25177a19 eval $perlexpr as function. Added --plus. Forced --noctrlc if --controlmaster.
Added CITATION. --title for pod2html. Testsuite updates due to LinuxMint15/17 diffs.
2014-07-26 13:17:13 +02:00
Ole Tange 9bb46c6ed6 Released as 20140722 ('MH17'). 2014-07-22 06:47:30 +02:00
Ole Tange 546f5aea03 parallel: --return /./ fixed. 2014-07-21 17:07:48 +02:00
Ole Tange 627d2808d0 parallel: family_pids tested on PolarHome platforms. 2014-07-20 19:55:53 +02:00
Ole Tange c7cf5b17fd parallel: --halt 10% allows up to 10% of jobs to fail (though min. 3). 2014-07-19 08:53:46 +02:00
Ole Tange 5372383da2 parallel: --tmux uses args as window name. 2014-07-19 00:50:48 +02:00
Ole Tange 81ff568ce7 parallel: --tmux works for remote running jobs. 2014-07-18 16:18:44 +02:00
Ole Tange 1a1c0ebe0f parallel: Initial version of --tmux. 2014-07-16 11:07:41 +02:00
Ole Tange 1cf521971f Fixed bug #42055: --pipe -a bigfile should not require sequential reading of bigfile. 2014-07-15 18:02:58 +02:00
Ole Tange 9c58321482 Fixed bug #42725: csh with \n in variables 2014-07-15 15:58:31 +02:00
Ole Tange 597bae74af parallel: Fixed --bar. 2014-07-15 11:35:33 +02:00
Ole Tange 99a8c5bbe7 testsuite: use -v for easier locating failig command. Oracle now uses oracle13.tange.dk. 2014-07-15 02:40:38 +02:00
Ole Tange 4995630a62 {= perlexpr =} passes testsuite. 2014-07-14 18:25:45 +02:00
Ole Tange 0725d2e2f5 parallel: --rpl implemented. 2014-07-01 21:12:13 +02:00
Ole Tange f2dfb82a40 parallel: Fails (but does not block) testsuite. 2014-06-28 15:17:59 +02:00
Ole Tange c21034b33b parallel: {{perlexpr}} improved. 2014-06-26 02:10:43 +02:00
Ole Tange 9fed0bfa17 parallel: {{perl exp}} implemented (poorly). 2014-06-26 01:16:54 +02:00
Ole Tange b9b3d9d5f2 Released as 20140622 ('Brazil'). 2014-06-23 03:35:59 +02:00
Ole Tange c04da8f690 Manual update. 2014-06-23 02:10:53 +02:00
Ole Tange 21753cbbd7 parallel: --shebang-wrap for FreeBSD. cattail refactored. 2014-06-23 02:08:24 +02:00
Ole Tange a18bbc7883 configure: added --disable-documentation. Thanks to Michele Orru. 2014-06-16 23:34:25 +02:00
Ole Tange 613d34cf89 src/Makefile.am: DISTCLEANFILES updated. 2014-06-13 14:47:44 +02:00
Ole Tange 3cb4a53ea7 Makefile.am: should install distributed documentation if doc building tools does not exist. 2014-06-13 14:30:14 +02:00
Ole Tange 2c3d409548 Fixed bug #42363: --pipepart and --fifo/--cat does not work. 2014-06-05 04:00:50 +02:00
Ole Tange 511623aa70 bug #42041: Implement $PARALLEL_JOBSLOT {%}. tutorial + test. 2014-06-04 21:48:24 +02:00
Ole Tange 5f30c90c35 parallel: bug #42041: Implement $PARALLEL_JOBSLOT 2014-06-04 02:22:39 +02:00
Ole Tange 47919ddb97 parallel: Swap activity now has different tricks for each platform. 2014-06-02 11:45:50 +02:00
Ole Tange c95bc2872c parallel: Jobslot {%} now works. 2014-05-31 08:42:56 +02:00
Ole Tange 20d8d4554a parallel: --header --pipepart works. 2014-05-29 03:20:07 +02:00
Ole Tange 35939753d6 parallel: --pipepart now works with --regexp 2014-05-28 23:45:13 +02:00
Ole Tange 1f43b57e64 parallel: No need to 'cat /proc/cpuinfo' when you can just open. 2014-05-23 19:57:04 +02:00
Ole Tange 92366d743e Released as 20140X22 ('Boko Haram'). 2014-05-22 14:53:33 +02:00
Ole Tange 30b54613e8 parallel: Prepare for --round-robin with --pipepart.
--slotreplace for jobslot replacement string {%}.
Bugfix for --line-buffer.
Fixed bug #42272: Undefined subroutine &Job::dirname at line 4873.
Bugfix for sem when opening locking fail fails for a while.
--semaphoretimeout implemented.
2014-05-22 14:26:48 +02:00
Ole Tange b7b5725f6d sql: Added --verbose. 2014-05-22 14:25:57 +02:00
Ole Tange 7a018602da parallel: Fixed: bug #42329: --line-buffer gives wrong output 2014-05-12 09:27:28 +02:00
Ole Tange 862e41c8a4 parallel: --recend --recstart '\0' fixed. 2014-05-04 00:42:52 +02:00
Ole Tange d36cb5a2dd Released as 20140422 ('세월호'). 2014-04-22 12:03:41 +02:00
Ole Tange cf358529b9 Fixed bug #42089: --results with arg > 256 chars. 2014-04-19 10:11:32 +02:00
Ole Tange 34e131b894 parallel: Implemented --pipepart 2014-04-09 05:11:51 +02:00
Ole Tange f2c1f65a5a Fixed bug #41964: --controlmaster not sems to reuse OpenSSH connections to the same host 2014-04-05 16:02:13 +02:00
Ole Tange 67a874362f parallel: Ignore "client_process_control: tcgetattr: Invalid argument" 2014-04-01 10:45:17 +02:00
Ole Tange d11e6478c0 parallel: bug #41964: Remote sleep is now a perl script. 2014-04-01 09:50:38 +02:00
Ole Tange 8078bda2bb parallel: Fix --filter-hosts -S :.
--controlmaster: Kill remote sleep 100000000.
2014-03-31 21:29:47 +02:00
Ole Tange 19bdd17c63 parallel: MaxSessions should also be raised if MaxStartups is raised. 2014-03-27 09:55:12 +01:00
Ole Tange 06d55fcec3 Fixed: bug #41964: --controlmaster not seems to reuse OpenSSH connections to the same host. 2014-03-27 03:02:18 +01:00
Ole Tange d6235b0cc3 parallel: Fixed bug #41805: Idea: propagate --env for parallel --number-of-cores 2014-03-24 15:49:49 +01:00
Ole Tange 84ab59fb97 Fixed bug #41749: make install fails 2014-03-23 17:41:15 +01:00
Ole Tange f30bad56e2 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel 2014-03-23 01:08:07 +01:00
Ole Tange 1be2d7568c Implemented --cat and --fifo. 2014-03-23 01:07:18 +01:00
Markus Roth 13114737cf Rename SSHD's MaxStartup -> MaxStartups. 2014-03-22 21:41:14 +01:00
Ole Tange a74c5c316f Released as 20140322 ('昆明 MH370'). 2014-03-22 12:59:46 +01:00
Ole Tange 94ce0d8f9f parallel: Fix --line-buffer problem with missing \n for last record. Passes testsuite. 2014-03-22 12:38:45 +01:00
Ole Tange a3f11158b5 niceload: --verbose output to STDERR. 2014-03-21 22:39:54 +01:00
Ole Tange 040586e172 src/optional/R: First submission to CRAN. 2014-03-16 00:52:00 +01:00
Ole Tange 583e6fb4b7 Fixed bug #38908: niceload: Ctrl-C should resume jobs if using -p 2014-03-03 19:26:19 +01:00
Ole Tange faff0ebb1e parallel: Fixed bug #41613: --compress --line-buffer. With testsuite. 2014-03-02 14:36:43 +01:00
Ole Tange 7f955d2427 Released as 20140222 ('Euromaidan'). 2014-02-22 11:32:42 +01:00
Ole Tange 36b22df1f3 Passes testsuite. 2014-02-22 11:05:59 +01:00
Ole Tange 04781ab6e9 parallel: Code cleanup. 2014-02-21 10:20:16 +01:00