GNU bug report logs - #43286
[PATCH 0/3] git-annex: Enable WebDAV support and update

Previous Next

Package: guix-patches;

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

Date: Wed, 9 Sep 2020 02:14:02 UTC

Severity: normal

Tags: patch

Done: Timothy Sample <samplet <at> ngyro.com>

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 43286 in the body.
You can then email your comments to 43286 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#43286; Package guix-patches. (Wed, 09 Sep 2020 02:14: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. (Wed, 09 Sep 2020 02:14: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/3] git-annex: Enable WebDAV support and update
Date: Tue,  8 Sep 2020 22:12:57 -0400
This series updates git-annex to the latest release.  Two new inputs are
needed because git-annex no longer supports disabling WebDAV support at build
time.

  [1/3] gnu: Add ghc-xml-hamlet.
  [2/3] gnu: Add ghc-dav.
  [3/3] gnu: git-annex: Update to 8.20200908.

 gnu/packages/haskell-apps.scm |  7 ++++---
 gnu/packages/haskell-web.scm  | 36 +++++++++++++++++++++++++++++++++++
 gnu/packages/haskell-xyz.scm  | 26 ++++++++++++++++++++++++-
 3 files changed, 65 insertions(+), 4 deletions(-)


base-commit: ee7a7c9014f7dd238ab42d15ef3f5f1fe187d1c3
-- 
2.28.0.618.gf4bc123cb7





Information forwarded to guix-patches <at> gnu.org:
bug#43286; Package guix-patches. (Wed, 09 Sep 2020 02:17:02 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: 43286 <at> debbugs.gnu.org
Subject: [PATCH 1/3] gnu: Add ghc-xml-hamlet.
Date: Tue,  8 Sep 2020 22:16:26 -0400
* gnu/packages/haskell-xyz.scm (ghc-xml-hamlet): New variable.
---
 gnu/packages/haskell-xyz.scm | 26 +++++++++++++++++++++++++-
 1 file changed, 25 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index 08d6580a32..f4af00283c 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -20,7 +20,7 @@
 ;;; Copyright © 2019 Robert Vollmert <rob <at> vllmrt.net>
 ;;; Copyright © 2019 Jacob MacDonald <jaccarmac <at> gmail.com>
 ;;; Copyright © 2019,2020 John Soo <jsoo1 <at> asu.edu>
-;;; Copyright © 2019 Kyle Meyer <kyle <at> kyleam.com>
+;;; Copyright © 2019, 2020 Kyle Meyer <kyle <at> kyleam.com>
 ;;; Copyright © 2019 Alex Griffin <a <at> ajgrf.com>
 ;;; Copyright © 2020 Brett Gilio <brettg <at> gnu.org>
 ;;; Copyright © 2020 JoJo <jo <at> jo.zone>
@@ -14712,6 +14712,30 @@ (define-public ghc-xml-types
 documents.")
     (license license:expat)))
 
+(define-public ghc-xml-hamlet
+  (package
+    (name "ghc-xml-hamlet")
+    (version "0.5.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/xml-hamlet/"
+                           "xml-hamlet-" version ".tar.gz"))
+       (sha256
+        (base32 "0jrhcjy7ww59dafg857f2g2df1fw2jmbwcs1q379ph0pc5rxj3lj"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-shakespeare" ,ghc-shakespeare)
+       ("ghc-xml-conduit" ,ghc-xml-conduit)))
+    (native-inputs
+     `(("ghc-hspec" ,ghc-hspec)
+       ("ghc-hunit" ,ghc-hunit)))
+    (home-page "https://www.yesodweb.com/")
+    (synopsis "Hamlet-style quasiquoter for XML content")
+    (description "This package provides a type-safe tool for generating XML
+code via quasi-quoting built on top of @code{ghc-shakespeare}.")
+    (license license:bsd-3)))
+
 (define-public ghc-yaml
   (package
     (name "ghc-yaml")
-- 
2.28.0.618.gf4bc123cb7





Information forwarded to guix-patches <at> gnu.org:
bug#43286; Package guix-patches. (Wed, 09 Sep 2020 02:17:02 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: 43286 <at> debbugs.gnu.org
Subject: [PATCH 2/3] gnu: Add ghc-dav.
Date: Tue,  8 Sep 2020 22:16:27 -0400
* gnu/packages/haskell-web.scm (ghc-dav): New variable.
---

`guix lint' flags the homepage with a connection timeout.  I haven't had any
luck connecting to it, but I also haven't been able to find anything else that
seems like it'd be appropriate as the homepage.

 gnu/packages/haskell-web.scm | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

diff --git a/gnu/packages/haskell-web.scm b/gnu/packages/haskell-web.scm
index b9474c973a..98d163566c 100644
--- a/gnu/packages/haskell-web.scm
+++ b/gnu/packages/haskell-web.scm
@@ -9,6 +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>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1945,3 +1946,38 @@ (define-public ghc-bower-json
      "This package provides a data type and ToJSON/FromJSON instances for
 Bower's package manifest file, bower.json.")
     (license license:expat)))
+
+(define-public ghc-dav
+  (package
+    (name "ghc-dav")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append "https://hackage.haskell.org/package/DAV/DAV-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "1isvi4fahq70lzxfz23as7qzkc01g7kba568l6flrgd0j1984fsy"))))
+    (build-system haskell-build-system)
+    (inputs
+     `(("ghc-case-insensitive" ,ghc-case-insensitive)
+       ("ghc-data-default" ,ghc-data-default)
+       ("ghc-exceptions" ,ghc-exceptions)
+       ("ghc-http-client" ,ghc-http-client)
+       ("ghc-http-client-tls" ,ghc-http-client-tls)
+       ("ghc-http-types" ,ghc-http-types)
+       ("ghc-lens" ,ghc-lens)
+       ("ghc-transformers-base" ,ghc-transformers-base)
+       ("ghc-transformers-compat" ,ghc-transformers-compat)
+       ("ghc-utf8-string" ,ghc-utf8-string)
+       ("ghc-xml-conduit" ,ghc-xml-conduit)
+       ("ghc-xml-hamlet" ,ghc-xml-hamlet)
+       ("ghc-network" ,ghc-network)
+       ("ghc-network-uri" ,ghc-network-uri)
+       ("ghc-optparse-applicative" ,ghc-optparse-applicative)))
+    (home-page "http://floss.scru.org/hDAV")
+    (synopsis "RFC 4918 WebDAV support")
+    (description "This package provides a library for the Web Distributed
+Authoring and Versioning (WebDAV) extensions to HTTP as well an executable,
+@command{hdav}, for command-line operation.")
+    (license license:gpl3)))
-- 
2.28.0.618.gf4bc123cb7





Information forwarded to guix-patches <at> gnu.org:
bug#43286; Package guix-patches. (Wed, 09 Sep 2020 02:17:03 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: 43286 <at> debbugs.gnu.org
Subject: [PATCH 3/3] gnu: git-annex: Update to 8.20200908.
Date: Tue,  8 Sep 2020 22:16:28 -0400
* gnu/packages/haskell-apps.scm (git-annex): Update to 8.20200908.
[arguments]: Drop flag to disable WebDAV because the latest release
unconditionally builds with WebDAV support.
[inputs]: Add ghc-dav.
---
 gnu/packages/haskell-apps.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/haskell-apps.scm b/gnu/packages/haskell-apps.scm
index ddcd5c65ce..32e1c50852 100644
--- a/gnu/packages/haskell-apps.scm
+++ b/gnu/packages/haskell-apps.scm
@@ -339,18 +339,18 @@ (define-public ghcid
 (define-public git-annex
   (package
     (name "git-annex")
-    (version "8.20200810")
+    (version "8.20200908")
     (source
      (origin
        (method url-fetch)
        (uri (string-append "https://hackage.haskell.org/package/"
                            "git-annex/git-annex-" version ".tar.gz"))
        (sha256
-        (base32 "1wy6ckcf5f6m94gakg1504h1zryail3mmj85sglq03s45vawjcg6"))))
+        (base32 "1113inl10f4m0699ba2zglaqlfqvwhqjkqg6r6m1d5rqv5brswb1"))))
     (build-system haskell-build-system)
     (arguments
      `(#:configure-flags
-       '("--flags=-Android -Assistant -Pairing -Webapp -WebDAV")
+       '("--flags=-Android -Assistant -Pairing -Webapp")
        #:phases
        (modify-phases %standard-phases
          (add-before 'configure 'patch-shell-for-tests
@@ -448,6 +448,7 @@ (define-public git-annex
        ("ghc-crypto-api" ,ghc-crypto-api)
        ("ghc-cryptonite" ,ghc-cryptonite)
        ("ghc-data-default" ,ghc-data-default)
+       ("ghc-dav" ,ghc-dav)
        ("ghc-disk-free-space" ,ghc-disk-free-space)
        ("ghc-dlist" ,ghc-dlist)
        ("ghc-edit-distance" ,ghc-edit-distance)
-- 
2.28.0.618.gf4bc123cb7





Reply sent to Timothy Sample <samplet <at> ngyro.com>:
You have taken responsibility. (Wed, 09 Sep 2020 05:14:02 GMT) Full text and rfc822 format available.

Notification sent to Kyle Meyer <kyle <at> kyleam.com>:
bug acknowledged by developer. (Wed, 09 Sep 2020 05:14:02 GMT) Full text and rfc822 format available.

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

From: Timothy Sample <samplet <at> ngyro.com>
To: Kyle Meyer <kyle <at> kyleam.com>
Cc: 43286-done <at> debbugs.gnu.org
Subject: Re: [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and
 update
Date: Wed, 09 Sep 2020 01:12:13 -0400
Hi Kyle,

Kyle Meyer <kyle <at> kyleam.com> writes:

> This series updates git-annex to the latest release.  Two new inputs are
> needed because git-annex no longer supports disabling WebDAV support at build
> time.
>
>   [1/3] gnu: Add ghc-xml-hamlet.
>   [2/3] gnu: Add ghc-dav.
>   [3/3] gnu: git-annex: Update to 8.20200908.

Pushed – thanks very much!

Oh, and about the homepage: I also had trouble connecting, and using the
Internet Archive showed that even when it worked (5 years ago) it was
only a link to Hackage and to the Git repo.  It might make more sense to
point it to <https://salsa.debian.org/clint/DAV>, but the other address
is still the project’s Web URL according to the project itself.  In the
end, I left it as-is.  I sent an email to the maintainer and will adjust
it if and when I hear anything.


-- Tim




Information forwarded to guix-patches <at> gnu.org:
bug#43286; Package guix-patches. (Thu, 10 Sep 2020 00:22:02 GMT) Full text and rfc822 format available.

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

From: Kyle Meyer <kyle <at> kyleam.com>
To: Timothy Sample <samplet <at> ngyro.com>
Cc: 43286 <at> debbugs.gnu.org
Subject: Re: [bug#43286] [PATCH 0/3] git-annex: Enable WebDAV support and
 update
Date: Wed, 09 Sep 2020 20:21:25 -0400
Timothy Sample writes:

> Oh, and about the homepage: I also had trouble connecting, and using the
> Internet Archive showed that even when it worked (5 years ago) it was
> only a link to Hackage and to the Git repo.  It might make more sense to
> point it to <https://salsa.debian.org/clint/DAV>, but the other address
> is still the project’s Web URL according to the project itself.  In the
> end, I left it as-is.  I sent an email to the maintainer and will adjust
> it if and when I hear anything.

All right, thank you!




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 08 Oct 2020 11:24:11 GMT) Full text and rfc822 format available.

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

Previous Next


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