unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Ole Tange <tange@gnu.org>
To: notmuch@notmuchmail.org
Subject: Don't use GNU Parallel --version, use --minversion instead
Date: Sun, 2 May 2021 20:57:24 +0200	[thread overview]
Message-ID: <CA+4vN7x6jp4HCiEybZ=5g+2X6Pa7etBFX3Bbd=UYty37gR6wEQ@mail.gmail.com> (raw)

Commit:
https://git.notmuchmail.org/git?p=notmuch;a=commitdiff;h=f2b5ad28e2b7b512d66946af34dd4149d1506bf4

Using GNU Parallel this way is not supported, and you have already
experienced why. But what _is_ supported for your use is using:

    parallel --minversion 20201122

which prints the version number and returns true if the version is >=
20201122. It is specifically made for situations like this.

Replace 20201122 with the earliest version of GNU Parallel which has
all the features needed for running your tasks.

Also remember that you can use `parallel --embed`.

/Ole

             reply	other threads:[~2021-07-30 23:58 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-02 18:57 Ole Tange [this message]
2021-08-02 11:21 ` [PATCH] test: use --minversion to detect GNU Parallel David Bremner
2021-08-03 19:49   ` Tomi Ollila
2021-08-04  1:47   ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+4vN7x6jp4HCiEybZ=5g+2X6Pa7etBFX3Bbd=UYty37gR6wEQ@mail.gmail.com' \
    --to=tange@gnu.org \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).