unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43044] Updates to git-lfs
@ 2020-08-25 17:26 Prafulla Giri
  2020-08-25 17:41 ` bug#43044: " Efraim Flashner
       [not found] ` <handler.43044.D43044.159837731410746.notifdone@debbugs.gnu.org>
  0 siblings, 2 replies; 4+ messages in thread
From: Prafulla Giri @ 2020-08-25 17:26 UTC (permalink / raw)
  To: 43044


[-- Attachment #1.1: Type: text/plain, Size: 407 bytes --]

Esteemed maintainers,

Attached are two patches to update the package git-lfs in
gnu/packages/version-control.scm.

Patch0001 - adds two new phases to build and install man pages into the
user's GUIX_PROFILE. This makes the git-lfs man pages available. `man
git-lfs` have hitherto thrown "No manual entry for git-lfs". This patch
fixes it.

Patch0002 - Upgrades package git-lfs to version 2.11.0

Thank you

[-- Attachment #1.2: Type: text/html, Size: 554 bytes --]

[-- Attachment #2: 0001-git-lfs-build-and-install-man-pages-to-user-s-GUIX_P.patch --]
[-- Type: text/x-patch, Size: 2065 bytes --]

From b03bcd0d01a1355a09012237022aff550d26d7e1 Mon Sep 17 00:00:00 2001
From: Prafulla Giri <pratheblackdiamond@gmail.com>
Date: Tue, 25 Aug 2020 22:54:56 +0545
Subject: [PATCH 1/2] git-lfs: build, and install man pages to user's
 GUIX_PROFILE

* gnu/packages/version-control.scm (git-lfs): Add build phases
to build and install man pages to the user's GUIX_PROFILE.
[native-inputs]: Add `ronn-ng`.
---
 gnu/packages/version-control.scm | 20 ++++++++++++++++++--
 1 file changed, 18 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index fb36da9c41..94ecb235e9 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2584,10 +2584,26 @@ interrupted, published, and collaborated on while in progress.")
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1nf40rbdz901vsahg5cm09pznpina6wimmxl0lmh8pn0mi51yzvc"))))
     (build-system go-build-system)
     (arguments
-     '(#:import-path "github.com/git-lfs/git-lfs"))
+     `(#:import-path "github.com/git-lfs/git-lfs"
+       #:phases
+       (modify-phases %standard-phases
+         (add-after 'build 'build-man-pages
+           (lambda _
+             (with-directory-excursion "src/github.com/git-lfs/git-lfs"
+               (invoke "make" "man"))
+             #t))
+         (add-after 'install 'install-man-pages
+           (lambda _
+             (with-directory-excursion "src/github.com/git-lfs/git-lfs/man"
+               (let ((out (assoc-ref %outputs "out")))
+                 (for-each (lambda (manpage)
+                             (install-file manpage (string-append out "/share/man/man1")))
+                           (find-files "." "^git-lfs.*\\.1$"))))
+             #t)))))
+    ;; make `ronn` available during build for man page generation
+    (native-inputs `(("ronn-ng" ,ronn-ng)))
     (home-page "https://git-lfs.github.com/")
     (synopsis "Git extension for versioning large files")
     (description
-- 
2.28.0


[-- Attachment #3: 0002-git-lfs-Upgrade-to-v2.11.0.patch --]
[-- Type: text/x-patch, Size: 1229 bytes --]

From 8bbaaca28cb842dc64b48b3243e7c9b354fbf879 Mon Sep 17 00:00:00 2001
From: Prafulla Giri <pratheblackdiamond@gmail.com>
Date: Tue, 25 Aug 2020 23:00:34 +0545
Subject: [PATCH 2/2] git-lfs: Upgrade to v2.11.0

* gnu/packages/version-control.scm (git-lfs): Upgrade to v2.11.0.
---
 gnu/packages/version-control.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 94ecb235e9..09b2539084 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -2575,7 +2575,7 @@ interrupted, published, and collaborated on while in progress.")
 (define-public git-lfs
   (package
     (name "git-lfs")
-    (version "2.7.2")
+    (version "2.11.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -2584,6 +2584,7 @@ interrupted, published, and collaborated on while in progress.")
               (file-name (git-file-name name version))
               (sha256
                (base32
+                "05qd96bn2cl7gn5qarbcv6scdpj28qiwdfzalamqk5jjiidpmng5"))))
     (build-system go-build-system)
     (arguments
      `(#:import-path "github.com/git-lfs/git-lfs"
-- 
2.28.0


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* bug#43044: Updates to git-lfs
  2020-08-25 17:26 [bug#43044] Updates to git-lfs Prafulla Giri
@ 2020-08-25 17:41 ` Efraim Flashner
       [not found] ` <handler.43044.D43044.159837731410746.notifdone@debbugs.gnu.org>
  1 sibling, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2020-08-25 17:41 UTC (permalink / raw)
  To: Prafulla Giri; +Cc: 43044-done

[-- Attachment #1: Type: text/plain, Size: 281 bytes --]

I adjusted the commit messages slightly and pushed them. Thanks!


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#43044] closed (Re: [bug#43044] Updates to git-lfs)
       [not found] ` <handler.43044.D43044.159837731410746.notifdone@debbugs.gnu.org>
@ 2020-08-25 17:47   ` Prafulla Giri
  2020-08-25 17:54     ` Efraim Flashner
  0 siblings, 1 reply; 4+ messages in thread
From: Prafulla Giri @ 2020-08-25 17:47 UTC (permalink / raw)
  To: 43044

[-- Attachment #1: Type: text/plain, Size: 1767 bytes --]

Great! Thank you!

On Tue, Aug 25, 2020 at 11:27 PM GNU bug Tracking System <
help-debbugs@gnu.org> wrote:

> Your bug report
>
> #43044: Updates to git-lfs
>
> which was filed against the guix-patches package, has been closed.
>
> The explanation is attached below, along with your original report.
> If you require more details, please reply to 43044@debbugs.gnu.org.
>
> --
> 43044: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43044
> GNU Bug Tracking System
> Contact help-debbugs@gnu.org with problems
>
>
>
> ---------- Forwarded message ----------
> From: Efraim Flashner <efraim@flashner.co.il>
> To: Prafulla Giri <pratheblackdiamond@gmail.com>
> Cc: 43044-done@debbugs.gnu.org
> Bcc:
> Date: Tue, 25 Aug 2020 20:41:09 +0300
> Subject: Re: [bug#43044] Updates to git-lfs
> I adjusted the commit messages slightly and pushed them. Thanks!
>
>
> --
> Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
> GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
> Confidentiality cannot be guaranteed on emails sent or received unencrypted
>
>
>
> ---------- Forwarded message ----------
> From: Prafulla Giri <pratheblackdiamond@gmail.com>
> To: guix-patches@gnu.org
> Cc:
> Bcc:
> Date: Tue, 25 Aug 2020 23:11:49 +0545
> Subject: Updates to git-lfs
> Esteemed maintainers,
>
> Attached are two patches to update the package git-lfs in
> gnu/packages/version-control.scm.
>
> Patch0001 - adds two new phases to build and install man pages into the
> user's GUIX_PROFILE. This makes the git-lfs man pages available. `man
> git-lfs` have hitherto thrown "No manual entry for git-lfs". This patch
> fixes it.
>
> Patch0002 - Upgrades package git-lfs to version 2.11.0
>
> Thank you
>

[-- Attachment #2: Type: text/html, Size: 2839 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [bug#43044] closed (Re: [bug#43044] Updates to git-lfs)
  2020-08-25 17:47   ` [bug#43044] closed (Re: [bug#43044] Updates to git-lfs) Prafulla Giri
@ 2020-08-25 17:54     ` Efraim Flashner
  0 siblings, 0 replies; 4+ messages in thread
From: Efraim Flashner @ 2020-08-25 17:54 UTC (permalink / raw)
  To: 43044-done

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]

closing the bug :)


-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-08-25 17:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-25 17:26 [bug#43044] Updates to git-lfs Prafulla Giri
2020-08-25 17:41 ` bug#43044: " Efraim Flashner
     [not found] ` <handler.43044.D43044.159837731410746.notifdone@debbugs.gnu.org>
2020-08-25 17:47   ` [bug#43044] closed (Re: [bug#43044] Updates to git-lfs) Prafulla Giri
2020-08-25 17:54     ` Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.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).