GNU bug report logs - #54590
[PATCH 0/4] Update git-annex to 10.20220322

Previous Next

Package: guix-patches;

Reported by: Kyle Meyer <kyle <at> kyleam.com>

Date: Sun, 27 Mar 2022 03:13:02 UTC

Severity: normal

Tags: patch

Done: Leo Famulari <leo <at> famulari.name>

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 54590 in the body.
You can then email your comments to 54590 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#54590; Package guix-patches. (Sun, 27 Mar 2022 03:13:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kyle Meyer <kyle <at> kyleam.com>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sun, 27 Mar 2022 03:13:02 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: guix-patches <at> gnu.org
Subject: [PATCH 0/4] Update git-annex to 10.20220322
Date: Sat, 26 Mar 2022 23:12:10 -0400
This series updates git-annex to the latest version.  That requires a new
package because git-annex no longer bundles the http-client-restricted library
(patch 3).  And http-client-restricted requires a newer version of
http-client-tls (patch 2), which in turn requires a newer version of
http-client (patch 1).

  [1/4] gnu: ghc-http-client: Update to 0.7.11.
  [2/4] gnu: ghc-http-client-tls: Update to 0.3.6.1.
  [3/4] gnu: Add ghc-http-client-restricted.
  [4/4] gnu: git-annex: Update to 10.20220322.

 gnu/packages/haskell-apps.scm |  5 +++--
 gnu/packages/haskell-web.scm  | 39 ++++++++++++++++++++++++++++++-----
 2 files changed, 37 insertions(+), 7 deletions(-)


base-commit: 943d4b775b9b1cc645e86206b0cf07da8d0030b3
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54590; Package guix-patches. (Sun, 27 Mar 2022 03:27:02 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: 54590 <at> debbugs.gnu.org
Subject: [PATCH 1/4] gnu: ghc-http-client: Update to 0.7.11.
Date: Sat, 26 Mar 2022 23:26:01 -0400
* gnu/packages/haskell-web.scm (ghc-http-client): Update to 0.7.11.
[inputs]: Add ghc-iproute.
---
 gnu/packages/haskell-web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 70a4eccce6..470a0a02be 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -221,7 +221,7 @@ (define-public ghc-http
 (define-public ghc-http-client
   (package
     (name "ghc-http-client")
-    (version "0.6.4.1")
+    (version "0.7.11")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://hackage.haskell.org/package/"
@@ -229,7 +229,7 @@ (define-public ghc-http-client
                                   version ".tar.gz"))
               (sha256
                (base32
-                "1y12xfh6xvsfvyapbssmgrpjz025rmyccprbnmzhs0y1cmlz6hjp"))))
+                "12j7vkpkm2djws6ny7vm2324c7916d0iaf1mbvf4mfjxzy2w7imv"))))
     (build-system haskell-build-system)
     ;; Tests require access to the web.
     (arguments `(#:tests? #f))
@@ -242,6 +242,7 @@ (define-public ghc-http-client
            ghc-data-default-class
            ghc-exceptions
            ghc-http-types
+           ghc-iproute
            ghc-memory
            ghc-mime-types
            ghc-monad-control
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54590; Package guix-patches. (Sun, 27 Mar 2022 03:27:02 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: 54590 <at> debbugs.gnu.org
Subject: [PATCH 2/4] gnu: ghc-http-client-tls: Update to 0.3.6.1.
Date: Sat, 26 Mar 2022 23:26:02 -0400
* gnu/packages/haskell-web.scm (ghc-http-client-tls): Update to 0.3.6.1.
---
 gnu/packages/haskell-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index 470a0a02be..cafdf5099e 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -263,7 +263,7 @@ (define-public ghc-http-client
 (define-public ghc-http-client-tls
   (package
     (name "ghc-http-client-tls")
-    (version "0.3.5.3")
+    (version "0.3.6.1")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://hackage.haskell.org/package/"
@@ -271,7 +271,7 @@ (define-public ghc-http-client-tls
                                   version ".tar.gz"))
               (sha256
                (base32
-                "0qj3pcpgbsfsc4m52dz35khhl4hf1i0nmcpa445z82d9567vy6j7"))))
+                "03f8p9gxdzl6slyw1r6vpv2dqhsyjvbaawbjv75kaq0vlj3gz7xi"))))
     (build-system haskell-build-system)
     ;; Tests require Internet access
     (arguments `(#:tests? #f))
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54590; Package guix-patches. (Sun, 27 Mar 2022 03:27:02 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: 54590 <at> debbugs.gnu.org
Subject: [PATCH 3/4] gnu: Add ghc-http-client-restricted.
Date: Sat, 26 Mar 2022 23:26:03 -0400
* gnu/packages/haskell-web.scm (ghc-http-client-restricted): New variable.
---
 gnu/packages/haskell-web.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index cafdf5099e..1c2538b45e 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -9,7 +9,7 @@
 ;;; Copyright © 2019 John Soo <jsoo1 <at> asu.edu>
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> gmail.com>
 ;;; Copyright © 2020 Marius Bakke <marius <at> gnu.org>
-;;; Copyright © 2020 Kyle Meyer <kyle <at> kyleam.com>
+;;; Copyright © 2020, 2022 Kyle Meyer <kyle <at> kyleam.com>
 ;;; Copyright © 2020 Alexandru-Sergiu Marton <brown121407 <at> member.fsf.org>
 ;;; Copyright © 2020 Giacomo Leidi <goodoldpaul <at> autistici.org>
 ;;;
@@ -292,6 +292,34 @@ (define-public ghc-http-client-tls
 libraries, such as http-conduit.")
     (license license:expat)))
 
+(define-public ghc-http-client-restricted
+  (package
+    (name "ghc-http-client-restricted")
+    (version "0.0.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "http-client-restricted" version))
+       (sha256
+        (base32 "1vfm9qc3zr0rmq2ddgyg13i67020cdk8xqhyzfc2zcn1km2p6r85"))))
+    (build-system haskell-build-system)
+    (inputs
+     (list ghc-http-client
+           ghc-http-client-tls
+           ghc-connection
+           ghc-data-default
+           ghc-network
+           ghc-network-bsd
+           ghc-utf8-string))
+    (home-page "http://hackage.haskell.org/package/http-client-restricted")
+    (synopsis "Restrict the servers used by http-client")
+    (description
+     "This library makes it possible to restrict the HTTP servers that can be
+used by the @code{http-client} and @code{http-client-tls} libraries.  This is
+useful when a security policy needs to, e.g., prevent connections to HTTP
+servers on localhost or only allow connections to a specific server.")
+    (license license:expat)))
+
 (define-public ghc-http-date
   (package
     (name "ghc-http-date")
-- 
2.34.0





Information forwarded to guix-patches <at> gnu.org:
bug#54590; Package guix-patches. (Sun, 27 Mar 2022 03:27:03 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: 54590 <at> debbugs.gnu.org
Subject: [PATCH 4/4] gnu: git-annex: Update to 10.20220322.
Date: Sat, 26 Mar 2022 23:26:04 -0400
* gnu/packages/haskell-apps.scm (git-annex): Update to 10.20220322.
[inputs]: Add ghc-http-client-restricted.
---
 gnu/packages/haskell-apps.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index ecd1a93317..5c351fa981 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -304,14 +304,14 @@ (define-public ghcid
 (define-public git-annex
   (package
     (name "git-annex")
-    (version "10.20220222")
+    (version "10.20220322")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://hackage.haskell.org/package/"
                            "git-annex/git-annex-" version ".tar.gz"))
        (sha256
-        (base32 "119c7l2vqv19ja3pg3adaivsmrmbyg03a88j2msnzcgyhddggf8z"))))
+        (base32 "107v1c2lw53k25p6snbmxyia3ghd63kj3izvd81d8km9qncv96bv"))))
     (build-system haskell-build-system)
     (arguments
      `(#:configure-flags
@@ -425,6 +425,7 @@ (define-public git-annex
            ghc-hinotify
            ghc-hslogger
            ghc-http-client
+           ghc-http-client-restricted
            ghc-http-conduit
            ghc-http-types
            ghc-ifelse
-- 
2.34.0





Reply sent to Leo Famulari <leo <at> famulari.name>:
You have taken responsibility. (Tue, 29 Mar 2022 17:11:02 GMT) Full text and rfc822 format available.

Notification sent to Kyle Meyer <kyle <at> kyleam.com>:
bug acknowledged by developer. (Tue, 29 Mar 2022 17:11:02 GMT) Full text and rfc822 format available.

Message #22 received at 54590-done <at> debbugs.gnu.org (full text, mbox):

From: Leo Famulari <leo <at> famulari.name>
To: Kyle Meyer <kyle <at> kyleam.com>
Cc: 54590-done <at> debbugs.gnu.org
Subject: Re: [bug#54590] [PATCH 0/4] Update git-annex to 10.20220322
Date: Tue, 29 Mar 2022 13:10:50 -0400
On Sat, Mar 26, 2022 at 11:12:10PM -0400, Kyle Meyer wrote:
> This series updates git-annex to the latest version.  That requires a new
> package because git-annex no longer bundles the http-client-restricted library
> (patch 3).  And http-client-restricted requires a newer version of
> http-client-tls (patch 2), which in turn requires a newer version of
> http-client (patch 1).
> 
>   [1/4] gnu: ghc-http-client: Update to 0.7.11.
>   [2/4] gnu: ghc-http-client-tls: Update to 0.3.6.1.
>   [3/4] gnu: Add ghc-http-client-restricted.
>   [4/4] gnu: git-annex: Update to 10.20220322.

Thanks for taking care of it!

Pushed as 6c317e02ee3b41dd7aa3a220be50191b6ed6fe9e




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 27 Apr 2022 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 54 days ago.

Previous Next


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