GNU bug report logs - #29835
pdsh: Update to 2.33 (use new upstream URL)

Previous Next

Package: guix-patches;

Reported by: ng0 <ng0 <at> n0.is>

Date: Sun, 24 Dec 2017 12:08:02 UTC

Severity: normal

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29835 in the body.
You can then email your comments to 29835 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#29835; Package guix-patches. (Sun, 24 Dec 2017 12:08:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to ng0 <ng0 <at> n0.is>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 24 Dec 2017 12:08:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: ng0 <ng0 <at> n0.is>
To: guix-patches <at> gnu.org
Subject: pdsh: Update to 2.33 (use new upstream URL)
Date: Sun, 24 Dec 2017 12:07:04 +0000
[Message part 1 (text/plain, inline)]
See commit message for details.
-- 
GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
  WWW: https://n0.is
[0001-gnu-pdsh-Update-to-2.33.patch (text/plain, attachment)]
[signature.asc (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#29835; Package guix-patches. (Sun, 24 Dec 2017 16:02:03 GMT) Full text and rfc822 format available.

Message #8 received at 29835 <at> debbugs.gnu.org (full text, mbox):

From: Kei Kebreau <kkebreau <at> posteo.net>
To: ng0 <ng0 <at> n0.is>
Cc: 29835 <at> debbugs.gnu.org
Subject: Re: [bug#29835] pdsh: Update to 2.33 (use new upstream URL)
Date: Sun, 24 Dec 2017 11:01:02 -0500
[Message part 1 (text/plain, inline)]
ng0 <ng0 <at> n0.is> writes:

> See commit message for details.
> -- 
> GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588
> GnuPG: https://c.n0.is/ng0_pubkeys/tree/keys
>   WWW: https://n0.is
>
> From cfc0c5626f599a4dab8cd5a249de14ffb16d641b Mon Sep 17 00:00:00 2001
> From: ng0 <ng0 <at> n0.is>
> Date: Sun, 24 Dec 2017 11:57:18 +0000
> Subject: [PATCH] gnu: pdsh: Update to 2.33.
>
> pdsh was located on Googlecode, which shut down recently.

Google separated "Googlecode" into two separate words.

> Four other distros switched to the new URL introduced in
> this commit.
>
> * gnu/packages/ssh.scm (pdsh): Update to 2.33.
> [source]: Use new upstream URL.
> (arguments)[phases]: Add new files to substitute in 'patch-/bin/sh' phase.
> Add new 'patch-tests' phase to make test 't6036-long-output-lines' pass.
> [native-inputs]: Add it, for 'which'.

This part came off as a bit odd to me. Checking our git history,
typically when a field of dependencies is newly added we still only
name the packages within the field, like so:

[native-inputs]: Add 'which'.

> [home-page]: Use new upstream URL.
> ---
>  gnu/packages/ssh.scm | 36 +++++++++++++++++++++++++++++-------
>  1 file changed, 29 insertions(+), 7 deletions(-)
>
> diff --git a/gnu/packages/ssh.scm b/gnu/packages/ssh.scm
> index 8317f29cd..793dcf8dc 100644
> --- a/gnu/packages/ssh.scm
> +++ b/gnu/packages/ssh.scm
> @@ -9,6 +9,7 @@
>  ;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
>  ;;; Copyright © 2017 Stefan Reichör <stefan <at> xsteve.at>
>  ;;; Copyright © 2017 Ricardo Wurmus <rekado <at> elephly.net>
> +;;; Copyright © 2017 ng0 <ng0 <at> n0.is>
>  ;;;
>  ;;; This file is part of GNU Guix.
>  ;;;
> @@ -608,15 +609,16 @@ monitor it, restarting it as necessary should it die or stop passing traffic.")
>  (define-public pdsh
>    (package
>      (name "pdsh")
> -    (version "2.29")
> +    (version "2.33")
>      (source
>       (origin
>         (method url-fetch)
> -       (uri (string-append "https://storage.googleapis.com/"
> -                           "google-code-archive-downloads/v2/code.google.com/"
> -                           "pdsh/pdsh-" version ".tar.bz2"))
> +       (uri (string-append "https://github.com/chaos/pdsh/"
> +                           "releases/download/pdsh-" version
> +                           "/pdsh-" version ".tar.gz"))
> +       (file-name (string-append name "-" version ".tar.gz"))
>         (sha256
> -        (base32 "1kvzz01fyaxfqmbh53f4ljfsgvxdykh5jyr6fh4f1bw2ywxr1w2p"))))
> +        (base32 "0bwlkl9inj66iwvafg00pi3sk9n673phdi0kcc59y9nn55s0hs3k"))))
>      (build-system gnu-build-system)
>      (arguments
>       `(#:configure-flags
> @@ -625,16 +627,36 @@ monitor it, restarting it as necessary should it die or stop passing traffic.")
>         (modify-phases %standard-phases
>           (add-after 'unpack 'patch-/bin/sh
>             (lambda _
> -             (substitute* '("tests/runtests.sh"
> +             (substitute* '("tests/t0006-pdcp.sh"
> +                            "tests/t0004-module-loading.sh"
> +                            "tests/t2001-ssh.sh"
> +                            "tests/t1003-slurm.sh"
> +                            "tests/t6036-long-output-lines.sh"
> +                            "tests/aggregate-results.sh"
> +                            "tests/t2000-exec.sh"
> +                            "tests/t0002-internal.sh"
> +                            "tests/t1002-dshgroup.sh"
> +                            "tests/t5000-dshbak.sh"
> +                            "tests/t0001-basic.sh"
> +                            "tests/t0005-rcmd_type-and-user.sh"
>                              "tests/test-lib.sh"
> +                            "tests/t2002-mrsh.sh"
> +                            "tests/t0003-wcoll.sh"
>                              "tests/test-modules/pcptest.c")
>                 (("/bin/sh") (which "bash")))
> +             #t))
> +         (add-after 'unpack 'patch-tests
> +           (lambda _
> +             (substitute* "tests/t6036-long-output-lines.sh"
> +               (("which") (which "which")))
>               #t)))))
>      (inputs
>       `(("openssh" ,openssh)
>         ("mit-krb5" ,mit-krb5)
>         ("perl" ,perl)))
> -    (home-page "https://code.google.com/archive/p/pdsh")
> +    (native-inputs
> +     `(("which" ,which)))
> +    (home-page "https://github.com/chaos/pdsh")
>      (synopsis "Parallel distributed shell")
>      (description "Pdsh is a an efficient, multithreaded remote shell client
>  which executes commands on multiple remote hosts in parallel.  Pdsh implements

Otherwise, this LGTM! I've pushed it to master with my pedantic
changes. Thanks for the patch.
[signature.asc (application/pgp-signature, inline)]

bug closed, send any further explanations to 29835 <at> debbugs.gnu.org and ng0 <ng0 <at> n0.is> Request was from Efraim Flashner <efraim <at> flashner.co.il> to control <at> debbugs.gnu.org. (Mon, 01 Jan 2018 09:37:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 29 Jan 2018 12:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 145 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.