Commit graph

1122 commits

Author SHA1 Message Date
Ole Tange 77599baa96 env_parallel: bugfix of ash/dash/sh + increased testing. 2017-12-03 01:40:01 +01:00
Ole Tange 8f63e3f5e7 env_parallel: Aliases with newlines either supported (ash/dash/zsh) or warning (bash).
testsuite: functionized freebsd tests.
2017-12-01 20:53:56 +01:00
Ole Tange 9e5433e3e5 parset/env_parset: Support for ash, dash, ksh, sh, zsh. 2017-11-26 16:18:55 +01:00
Ole Tange c73a27254a Released as 20171122 ('Mugabe') 2017-11-22 23:29:03 +01:00
Ole Tange 04cca9fe43 env_parallel.bash: Allow for $array[1]-variables to be used for parset.
env_parallel: Install in .shrc.
2017-11-22 21:48:00 +01:00
Ole Tange 823645285f Released as 20171022 ('Catalonia') 2017-10-23 09:08:28 +02:00
Ole Tange 746b4304a6 Passes testsuite (except polarhome). 2017-10-16 15:41:54 +02:00
Ole Tange c63881c4cc parallel: $XDG_* 2017-10-10 00:33:43 +02:00
Ole Tange f09e0384ff parallel: {choose_k} added to --plus. 2017-09-22 00:50:39 +02:00
Ole Tange 68114b93e7 parallel: Fixed bug #51920: BUG: Set $/ in lots of places before calling chomp.
parallel: chomp used more aggressively.
2017-09-07 22:33:25 +02:00
Ole Tange 1e62be2464 parallel: --limit scripts. 2017-08-28 23:18:43 +02:00
Ole Tange 897d9f5db9 parallel: PARALLEL_RSYNC_OPTS and --rsync-opts introduced.
parallel: --bar -m bugfix.
2017-08-24 00:43:37 +02:00
Ole Tange 5c9712ec2c Released as 20170822 ('Barcelona') 2017-08-22 00:12:32 +02:00
Ole Tange 3eef90da33 parallel: --line-buffer speedup.
parallel: Max command line length relaxed due to bzip2'ing before transfer.
2017-08-21 23:58:53 +02:00
Ole Tange 67c4377715 parcat: --rm, reading args from stdin. 2017-08-12 18:37:52 +02:00
Ole Tange bbd336643c parallel: Small bug in {#prefix} replacement string. 2017-07-29 23:49:00 +02:00
Ole Tange e90f98f142 Post-release. 2017-07-22 00:28:28 +02:00
Ole Tange 3a0cc34b8b Released as 20170722 ('Grenfell') 2017-07-21 23:29:19 +02:00
Ole Tange 9179a80bd3 parallel: SIGPIPE must be handled differently if printing to --pipe.
parallel: --keep-dirlinks is not supported on Centos3/Redhat9.
2017-07-21 21:43:34 +02:00
Ole Tange 1176f9a058 parallel: Note if \257 is used in any string that can contain replacement strings.
man pages: Lots of updates.
2017-07-20 21:38:45 +02:00
Ole Tange 10b4539b1f Fixed env_parallel not working on old versions of Bash.
https://lists.gnu.org/archive/html/bug-parallel/2017-07/msg00000.html
2017-07-06 17:22:50 +02:00
Ole Tange 8e22009706 Fixed newlines and positional replacement strings
https://lists.gnu.org/archive/html/parallel/2017-07/msg00001.html
2017-07-06 14:36:06 +02:00
Ole Tange e0baea9a4a Fixed bug #51337: --lb does not kill jobs at sigpipe. 2017-06-29 12:13:57 +02:00
Ole Tange 21d3b7d9be env_parallel.bash: parset: Error handling if destination variable set wrongly. 2017-06-29 04:21:44 +02:00
Ole Tange 144164d516 Fixed bug #51299: --retry-failed with command with newline. 2017-06-23 23:00:05 +02:00
Ole Tange 215aa6039f parallel: Fixed bug #51290: Macron with -q. 2017-06-23 07:44:14 +02:00
Ole Tange f3d117e7bb parallel: Fixed bug #51293: parallel does not preserve symlinked directory structure on remote. 2017-06-22 23:14:32 +02:00
Ole Tange dce32425eb testsuite: Made the tests more portable. 2017-06-22 13:35:58 +02:00
Ole Tange 0b8e949cbb parallel: Allow for empty loadavg file. This can happen on NFS.
Passes testsuite.
2017-06-18 21:15:36 +02:00
Ole Tange fc6ad919d3 parallel: Allow \257 (Macron) in the command line. 2017-06-05 13:41:15 +02:00
Ole Tange 587c75fa39 NEWS: Removed duplicate entries. 2017-06-05 11:26:39 +02:00
Ole Tange 896f789214 Released as 20170522 ('Macron') 2017-05-21 21:04:37 +02:00
Ole Tange e06ab693b3 parallel: exec sleep does not work on CygWin. 2017-05-21 21:02:12 +02:00
Ole Tange dd25255ca8 parallel: Fixed bug #51039: --dry-run --timeout 3600 -u breaks. 2017-05-16 21:32:13 +02:00
Ole Tange 54200832e4 parallel: --timeout can now use s=second,m=minute,h=hour,d=day.
parallel: --dr is now alias for --dry-run.
2017-05-16 01:27:11 +02:00
Ole Tange 61525c90e1 Fixed bug #51006: Slow total_jobs() eats job 2017-05-11 22:57:46 +02:00
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 426ea9b372 env_parallel.{ash,bash,dash,ksh,sh}: Fixed bug #50815: env_parallel should warn if the environment is too big.
parallel --tmux --fg: Connect to tmux socket more aggressively.
parallel --joblog: Fixed bug #50781: joblog format with multiline commands.
Irix's Perl does not have decode_base64 and is no longer supported.
2017-04-17 16:25:58 +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 70e29c7b5b Fixed bug #50685: single ::::+ does not work. 2017-04-01 04:04:47 +02:00
Ole Tange 1de0d2be9b parallel: Fixed bug #50590: Support systems where setpgrp fails. 2017-04-01 02:59:07 +02:00
Ole Tange e135fb6fd3 Fixed bug #50655: Positional dynamic replacement strings do not work. 2017-03-28 21:30:06 +02:00
Ole Tange 86615dac7e Released as 20170322 ('TRAPPIST-1') 2017-03-27 22:56:22 +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 06e2dd958d Fixed bug #50435: Remote fifo broke in 20150522.
Fixed bug #50441: env_parallel --pipe in csh does not work.
Fixed test bug #50386: --fifo does not export function, --cat does.
2017-03-04 16:03:14 +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 5ea9f57ba7 Merge branch 'master' of ssh://git.sv.gnu.org/srv/git/parallel 2017-02-13 23:21:29 +01:00
Ole Tange 87815c2a91 env_parallel.{ash/dash/sh}: Added.
env_parallel.{bash/zsh/ksh}: Make them more similar to sh.
2017-02-13 23:13:25 +01:00
Ole Tange bcdea23569 env_parallel.{ash,dash}: added. Only aliases and variables are supported. 2017-02-08 00:54:45 +01:00
Ole Tange a2358aebe4 Faster version bug #45479: --pipe/--pipepart --tee. 2017-02-05 23:53:28 +01:00
Ole Tange 70006774e8 Fixed bug #50228: --pipe --tagstring broken. 2017-02-05 03:24:23 +01:00
Ole Tange c028fa0ad7 Fixed bug #45479: --pipe/--pipepart --tee. 2017-02-05 02:46:29 +01:00
Ole Tange 1229288418 Fixed bug #50081: --keep-order --round-robin should give predictable results. 2017-02-05 00:27:10 +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 7032e5dec2 sql: Use credentials file for MySQL to avoid warning. 2017-01-17 00:16:03 +01:00
Ole Tange f3bf41f807 Fixed bug #50018: --dburl without table dies. 2017-01-14 23:36:59 +01:00
Ole Tange 61be3ff4a2 sql: Read input from STDIN, even if there is a ?query in the url. 2017-01-14 22:57:23 +01:00
Ole Tange 01088177aa parallel: --sqlmaster +DBURL works with different commands. 2017-01-13 16:05:34 +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 9f7eaa5f93 parallel: Fixed bug #49970: Python child process dies if --env is used 2017-01-01 17:53:18 +01:00
Ole Tange 1407c1c947 New Year copyright update. 2017-01-01 17:51:14 +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 a92ca3bf92 Released as 20161222 ('Castro') 2016-12-22 14:27:00 +01:00
Ole Tange 9b4fd8b33b parallel: Implemented --results foo.csv/-.tsv. Incl. testsuite. 2016-12-18 11:14:06 +01:00
Ole Tange 987cc8c30b Fixed bug #49664: --round-robin does not complete. 2016-12-14 15:04:57 +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 e305356898 parallel: Saving to SQL is now done using sql->output(). 2016-12-14 03:53:33 +01:00
Ole Tange 0c41e2d2df Testsuite adjusted for other development platform. 2016-12-08 12:04:22 +01:00
Ole Tange 5ed19b901c env_parallel.fish: Compatible with fish 2.0.0. 2016-12-08 12:03:04 +01:00
Ole Tange 2ba37a6d64 Fixed bug #49802: --compress-program freezes often under load. 2016-12-08 12:00:54 +01:00
Ole Tange 0388fb5b1e Fixed bug #49800: --pipepart --block -1 should be --round-robin like. 2016-12-08 02:28:01 +01:00
Ole Tange b1d17c6dd2 Fixed bug #49787: --sql* +DBURL should not erase the table.
Fixed bug #49786: --sqlmaster with --wait.
2016-12-07 14:33:50 +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 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 f905690898 env_parallel.{bash,fish,ksh,zsh} fixes + testsuite. 2016-11-06 23:01:42 +01:00
Ole Tange 3e440983e7 env_parallel.{bash,ksh,pdksh,zsh}: Minimal --record-env. 2016-11-06 12:29:48 +01:00
Ole Tange e458f35453 Fixed bug #49538: --header : and {= =}. 2016-11-05 18:58:46 +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 e3d00f03f6 Fixed bug #49413: env_parallel does not respect exit code from functions. 2016-10-22 13:46:01 +02:00
Ole Tange a36729cdf3 Fixed bug #49229: parallel hangs on last ffmpeg command.
First command no longer gets stdin as it causes unpredictable issues.
2016-10-22 13:39:31 +02:00
Ole Tange d5761dcaae Fixed bug #49404: “Max jobs to run” does not equal the number of jobs specified when using GNU Parallel on remote server?
Fixed bug #49335: parallel: Warning: You may raise this by changing /etc/ssh/sshd_config:MaxStartups and MaxSessions.
2016-10-22 13:35:26 +02:00
Ole Tange 1863566363 parallel: Redirect STDERR temporarily, so errors on MacOS X are ignored. 2016-10-22 13:32:59 +02:00
Ole Tange a315bd26e6 parallel: shellwords is defined in newer versions of Perl causing
redefine error.
2016-10-22 13:31:11 +02:00
Ole Tange 67da57ccc7 GNU Coding Standards says: The standard --help option should output
brief documentation for how to invoke the program, on standard output,
then exit successfully.
https://www.gnu.org/prep/standards/standards.html#g_t_002d_002dhelp
2016-10-22 13:29:17 +02:00
Ole Tange ec3767fd5e Maybe fixed bug #49412: Signal SIGCHLD received, but no signal handler.
Testing missing.
2016-10-22 13:26:16 +02:00
Ole Tange 089fc5b287 Fixed env_parallel does not respect exit code from functions.
http://lists.gnu.org/archive/html/bug-parallel/2016-10/msg00001.html
2016-10-18 00:02:48 +02:00
Ole Tange 0f8d12839f Released as 20160922 ('Christiania') 2016-09-23 01:15:11 +02:00
Ole Tange 74e35933f4 parcat: Small fixup.
testsuite: Fixups for --line-buffer/--files.
2016-09-23 00:57:30 +02:00
Ole Tange a4ddcbf8bc parallel: --files/--results --line-buffer fix. 2016-09-22 23:54:38 +02:00
Ole Tange 5829f512c1 parallel: tmpfile now returns only a filehandle if in scalar context. 2016-09-22 23:53:32 +02:00
Ole Tange bd38a6ac54 parallel: Search for pzstd for faster compression. 2016-09-22 23:52:24 +02:00
Ole Tange 196afa553b parcat: Initial version. 2016-09-04 10:42:04 +02:00
Ole Tange 063b64e0c9 Fixed --memfree script on Darwin/Macosx. 2016-08-27 23:50:01 +02:00
Ole Tange e0ac24f213 Fixed bug #48658: --linebuffer --files. 2016-08-27 23:24: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 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