Commit graph

497 commits

Author SHA1 Message Date
Ole Tange a7a9e522dd Fixed bug #50901: --sqlworker should use hostname in the joblog instead of :. 2017-04-30 19:00:37 +02:00
Ole Tange e49dd0d5d0 Released as 20170422 ('Санкт-Петербу́рг') 2017-04-22 23:23:24 +02:00
Ole Tange 77da672741 parallel: --tmux needs LC_CTYPE set.
parallel: '--halt done'.
2017-04-22 22:42:11 +02:00
Ole Tange 253c94786f env_parallel.bash: Initial release of parset.
parallel: Bugfix in some --plus dynamic replacement strings.
parallel: Deal better with commands containing newlines in --joblog.
parallel: Bugfix for --load in csh.
parallel_alternatives.pod: More comparison to rush-parallel.
2017-04-15 00:00:21 +02:00
Ole Tange 685018f532 Fixed bug #50719: Adjust estimate time upwards less frequently.
parallel: Introduced $PARALLEL_HOME instead of ~/.parallel.
Makefile: Added monitorman.
2017-04-04 23:17:29 +02:00
Ole Tange 1de0d2be9b parallel: Fixed bug #50590: Support systems where setpgrp fails. 2017-04-01 02:59:07 +02:00
Ole Tange 3d9baf9275 Released as 20170322 ('MyTag') 2017-03-21 23:31:46 +01:00
Ole Tange 05afa7ec65 Fixed bug #50229: --tee -S fails.
Minor adjustments to dynamic --rpl's in --plus.
Documentation prettification for man.pdf.
2017-03-21 22:20:38 +01:00
Ole Tange d08c8ac417 parallel: --plus enables most bashisms for replacement strings. 2017-03-11 21:19:10 +01:00
Ole Tange 2724941a91 parallel: Dynamic replacement strings --rpl '%(.*) s/$$1//' initial version. 2017-03-10 23:55:02 +01:00
Ole Tange 180ed0dd32 Fixed bug #50386: --fifo does not export function, --cat does.
Test broken.
2017-03-02 22:40:46 +01:00
Ole Tange 68610ea9dd Released as 20170222 ('13769') 2017-02-22 00:30:36 +01:00
Ole Tange 09cc44e209 Fixed (for --retries) bug #50139: Replacement strings in other options. 2017-02-04 16:01:42 +01:00
Ole Tange dae4f4b7ca parallel: If --results {replstr} ends in /: save in dir. Otherwise save as file. 2017-01-27 23:15:25 +01:00
Ole Tange 968e2ab2bb Testsuite for bug #50107: --tmux --fg should also write how to access it. 2017-01-21 19:55:14 +01:00
Ole Tange c0035e21b6 Released as 20170122 ('GeorgeMichael') 2017-01-21 18:36:17 +01:00
Ole Tange 924a0f1aab sql: Store credentials in tmpfile instead of giving it on the command line.
parallel: Allow --block > 2GB with --pipepart.
parallel: Fixed bug #50107: --tmux --fg should also write how to access it.
2017-01-21 18:09:01 +01:00
Ole Tange 84f4a855a5 parallel: --sqlworker now reads everything from the database. Command+args are ignored. 2017-01-12 23:36:15 +01:00
Ole Tange da705d03b6 parallel: If --results includes a replacement string, no tree structure with args will be generated. 2017-01-06 19:10:20 +01:00
Ole Tange 1cd9efc69c parallel: --tmux(pane) --fg implemented.
parallel_alternatives.pod: Split from parallel.pod.
2017-01-01 12:42:52 +01:00
Ole Tange 9b4fd8b33b parallel: Implemented --results foo.csv/-.tsv. Incl. testsuite. 2016-12-18 11:14:06 +01:00
Ole Tange 2dcc9db3ca Fixed bug #49805: sql pg:////?'select 3' does not work. 2016-12-14 09:20:33 +01:00
Ole Tange 6837861a29 Fixed bug #49785: total_jobs() with --sql*.
Test fails due to bug #49792: --sql* {#} is wrong.
2016-12-07 13:12:23 +01:00
Ole Tange f12701528a Pre-journey checkin. 2016-11-29 00:17:08 +01:00
Ole Tange d395c25cd6 Post-release. 2016-11-21 22:46:22 +01:00
Ole Tange ca9b3ac100 Released as 20161122 ('Trump') 2016-11-21 22:35:25 +01:00
Ole Tange 55eaf48197 parallel: tmux uses $TMUX, so rename it to: $PARALLEL_TMUX. 2016-10-30 17:07:59 +01:00
Ole Tange f9f52c083e Released as 20161022 ('Matthew') 2016-10-22 14:37:48 +02:00
Ole Tange b44e91df26 testsuite: Changes due to changed environment and code. 2016-10-22 13:51:42 +02:00
Ole Tange 74e35933f4 parcat: Small fixup.
testsuite: Fixups for --line-buffer/--files.
2016-09-23 00:57:30 +02:00
Ole Tange 49690b97e5 env_parallel.*: Converted to #!/usr/bin/env to avoid depening on all shells. 2016-08-25 22:03:06 +02:00
Ole Tange 9689682674 parallel: code cleanup. 2016-08-23 00:08:10 +02:00
Ole Tange 8bec8de5df --tmuxpane initial version.
Passes testsuite.
2016-08-21 15:37:59 +02:00
Ole Tange a7b50a054e parallel: --xapply => --link. 2016-08-13 19:11:15 +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 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 71ba3f1a8f Passes testsuite. 2016-07-22 18:10:28 +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 ff27e601bf Fixed bug #47695: How to set $PATH on remote? 2016-05-29 17:18: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 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 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 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 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 f406518899 env_parallel: Documentation added. 2016-03-22 20:09:18 +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 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 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 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 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 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 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 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 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 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 2029853dd9 parallel: Prepare for open3_setpgrp_internal. Implemented --termseq. Passes testsuite incl. mem. 2015-06-22 01:44:53 +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 e57ec6deec parallel: Fixed: csh length before base64 quoting too high. 2015-05-31 16:24:09 +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 e892e2fcb6 parallel: killall will kill the family, too. 2015-05-23 18:00:00 +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 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 f290cf9b05 testsuite: Additional --halt testing. 2015-05-15 01:59: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 96126e3c46 Post-release changes. 2015-04-27 20:56:34 +02:00
Ole Tange 1390d267b9 Released as 20150422 ('GermanWings') 2015-04-23 01:16:59 +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 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 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 0094c81f9b Fixed bug #44667: Reaping children should be done closer to child death. 2015-03-30 17:50:38 +02: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 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 8990c7bb42 Fixed bug #44553: --rpl should replace the longest expression first. 2015-03-16 19:51:08 +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 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 927cf13b0c testsuite: Cleanup after each test. 2015-02-01 14:38:26 +01:00
Ole Tange cb23a23da1 packager/obs: Fixed added parallel_design.*. 2015-01-21 22:39:22 +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 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 a83c02c95d Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	doc/release_new_version
	src/parallel
	testsuite/wanted-results/parallel-local-3s
	testsuite/wanted-results/parallel-local-ssh2
	testsuite/wanted-results/test15
	testsuite/wanted-results/test19
	testsuite/wanted-results/test37
	testsuite/wanted-results/test61
2015-01-03 01:29:16 +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 0992d1a7c9 parallel: move job failure and print_earlier into Job object. 2015-01-02 22:33:32 +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 2b33c5b034 parallel: Fixed {= {= =} =}, {= =}=}, {={= =}
Conflicts:
	doc/release_new_version
2015-01-02 22:32:00 +01:00
Ole Tange 5b78d119b5 parallel: move job failure and print_earlier into Job object. 2014-12-29 01:16:32 +01:00
Ole Tange 8d6638de60 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel
Conflicts:
	doc/release_new_version
2014-12-25 18:43:34 +01:00
Ole Tange b867e321e9 parallel: Use status() for status message instead of directly using STDERR. 2014-12-14 05:25:43 +01:00
Ole Tange 163712f709 parallel: Deal with {} as part of the command (not arg for the command). 2014-12-12 13:30:54 +01:00
Ole Tange dbbd5829fe parallel: Fixed {= {= =} =}, {= =}=}, {={= =} 2014-12-09 06:23:37 +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