From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
To: 63017@debbugs.gnu.org
Cc: ngraves@ngraves.fr
Subject: [bug#63017] [PATCH 24/24] gnu: git-lfs: Update to 3.3.0.
Date: Sat, 22 Apr 2023 18:27:50 +0200 [thread overview]
Message-ID: <20230422162750.17012-24-ngraves@ngraves.fr> (raw)
In-Reply-To: <20230422162750.17012-1-ngraves@ngraves.fr>
* gnu/packages/version-control.scm (git-lfs): Update to 3.3.0.
[arguments] Use gexp. Add phase fix-embed-x-net (publicsuffix/table.go doesn't
work with symlinked data).
[native-inputs] Add git-minimal. Add ruby-asciidoctor.
[propagated-inputs] Add go-github-com-xeipuuv-gojsonschema,
go-github-com-xeipuuv-gojsonreference, go-github-com-xeipuuv-gojsonpointer,
go-golang-org-x-net, go-golang.org-x-sync-semaphore,
go-github-com-ssgelm-cookiejarparser, go-github-com-rubyist-tracerx,
go-github-com-olekukonko-ts, go-github-com-leonelquinteros-gotext,
go-github-com-git-lfs-wildmatch-v2, go-github-com-git-lfs-pktline,
go-github-com-git-lfs-go-netrc, go-github-com-git-lfs-gitobj-v2,
go-github-com-dpotapov-go-spnego, go-github-com-avast-retry-go,
go-github-com-mattn-go-isatty, go-github-com-pkg-errors,
go-github-com-spf13-cobra.
---
gnu/packages/version-control.scm | 81 +++++++++++++++++++++-----------
1 file changed, 54 insertions(+), 27 deletions(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 4d6c8ecb1e..8789da6577 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -47,6 +47,7 @@
;;; Copyright © 2022 Maxime Devos <maximedevos@telenet.be>
;;; Copyright © 2022 Dhruvin Gandhi <contact@dhruvin.dev>
;;; Copyright © 2015, 2022 David Thompson <davet@gnu.org>
+;;; Copyright © 2023 Nicolas Graves <ngraves@ngraves.fr>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -125,6 +126,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages python-xyz)
#:use-module (gnu packages readline)
#:use-module (gnu packages rsync)
+ #:use-module (gnu packages ruby)
#:use-module (gnu packages sqlite)
#:use-module (gnu packages texinfo)
#:use-module (gnu packages admin)
@@ -3023,7 +3025,7 @@ (define-public go-github-com-git-lfs-gitobj-v2
(define-public git-lfs
(package
(name "git-lfs")
- (version "2.13.3")
+ (version "3.3.0")
(source (origin
(method git-fetch)
(uri (git-reference
@@ -3032,35 +3034,60 @@ (define-public git-lfs
(file-name (git-file-name name version))
(sha256
(base32
- "0r7dmqhkhz91d3n7qfpny483x8f1n88yya22j2fvx75rgg33z2sg"))))
+ "1g268pplld04b9myhlrwc4fd8r1hvfyya5ja8wr558rar3pgsp5g"))))
(build-system go-build-system)
(arguments
- `(#:import-path "github.com/git-lfs/git-lfs"
- #:install-source? #f
- #:phases
- (modify-phases %standard-phases
- (add-before 'build 'man-gen
- ;; Without this, the binary generated in 'build
- ;; phase won't have any embedded usage-text.
- (lambda _
- (with-directory-excursion "src/github.com/git-lfs/git-lfs"
- (invoke "make" "mangen"))))
- (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* (#:key outputs #:allow-other-keys)
- (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)))))
+ (list
+ #:import-path "github.com/git-lfs/git-lfs"
+ #:install-source? #f
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-embed-x-net
+ (lambda _
+ (delete-file-recursively "src/golang.org/x/net/publicsuffix/data")
+ (copy-recursively
+ #$(file-append (this-package-input "go-golang-org-x-net")
+ "/src/golang.org/x/net/publicsuffix/data")
+ "src/golang.org/x/net/publicsuffix/data")))
+ (add-before 'build 'man-gen
+ ;; Without this, the binary generated in 'build
+ ;; phase won't have any embedded usage-text.
+ (lambda _
+ (with-directory-excursion "src/github.com/git-lfs/git-lfs"
+ (invoke "make" "mangen"))))
+ (add-after 'build 'build-man-pages
+ (lambda _
+ (with-directory-excursion "src/github.com/git-lfs/git-lfs"
+ (invoke "make" "man"))))
+ (add-after 'install 'install-man-pages
+ (lambda* (#:key outputs #:allow-other-keys)
+ (with-directory-excursion "src/github.com/git-lfs/git-lfs/man"
+ (for-each
+ (lambda (manpage)
+ (install-file manpage
+ (string-append #$output "/share/man/man1")))
+ (find-files "." "^git-lfs.*\\.1$"))))))))
;; make `ronn` available during build for man page generation
- (native-inputs (list ronn-ng))
+ (native-inputs (list ronn-ng git-minimal ruby-asciidoctor))
+ (propagated-inputs
+ (list go-github-com-xeipuuv-gojsonschema
+ go-github-com-xeipuuv-gojsonreference
+ go-github-com-xeipuuv-gojsonpointer
+ go-golang-org-x-net
+ go-golang.org-x-sync-semaphore
+ go-github-com-ssgelm-cookiejarparser
+ go-github-com-rubyist-tracerx
+ go-github-com-olekukonko-ts
+ go-github-com-leonelquinteros-gotext
+ go-github-com-git-lfs-wildmatch-v2
+ go-github-com-git-lfs-pktline
+ go-github-com-git-lfs-go-netrc
+ go-github-com-git-lfs-gitobj-v2
+ go-github-com-dpotapov-go-spnego
+ go-github-com-avast-retry-go
+ go-github-com-mattn-go-isatty
+ go-github-com-pkg-errors
+ go-github-com-spf13-cobra))
(home-page "https://git-lfs.github.com/")
(synopsis "Git extension for versioning large files")
(description
--
2.39.2
next prev parent reply other threads:[~2023-04-22 16:37 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-22 16:22 [bug#63017] [PATCH 0/25] gnu: git-lfs: Update to 3.3.0 Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 01/24] gnu: Add go-github-com-git-lfs-gitobj-v2 Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 02/24] gnu: Add go-github-com-avast-retry-go Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 03/24] gnu: Add go-github-com-gorilla-sessions Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 04/24] gnu: Add go-github-com-jcmturner-aescts-v2 Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 05/24] gnu: Add go-github-com-jcmturner-dnsutils-v2 Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 06/24] gnu: Add go-github-com-jcmturner-gofork Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 07/24] gnu: Add go-github-com-hashicorp-go-uuid Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 08/24] gnu: Add go-github-com-jcmturner-goidentity-v6 Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 09/24] gnu: Add go-github-com-jcmturner-rpc Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 10/24] gnu: Add go-github-com-jcmturner-rpc-v2-ndr Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 11/24] gnu: Add go-github-com-jcmturner-rpc-v2-mstypes Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 12/24] gnu: Add go-github-com-jcmturner-gokrb5-v8 Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 13/24] gnu: Add go-github-com-dpotapov-go-spnego Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 14/24] gnu: Add go-github-com-git-lfs-go-netrc Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 15/24] gnu: Add go-github-com-git-lfs-pktline Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 16/24] gnu: Add go-github-com-git-lfs-wildmatch-v2 Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 17/24] gnu: Add go-github-com-leonelquinteros-gotext Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 18/24] gnu: Add go-github-com-olekukonko-ts Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 19/24] gnu: Add go-github-com-rubyist-tracerx Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 20/24] gnu: Add go-github-com-ssgelm-cookiejarparser Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 21/24] gnu: Add go-github-com-xeipuuv-gojsonpointer Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 22/24] gnu: Add go-github-com-xeipuuv-gojsonreference Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` [bug#63017] [PATCH 23/24] gnu: Add go-github-com-xeipuuv-gojsonschema Nicolas Graves via Guix-patches via
2023-04-22 16:27 ` Nicolas Graves via Guix-patches via [this message]
2023-04-22 17:00 ` [bug#63017] Thank you for updating git-lfs jgart via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 01/24] gnu: Add go-github-com-git-lfs-gitobj-v2 Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 02/24] gnu: Add go-github-com-avast-retry-go Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 03/24] gnu: Add go-github-com-gorilla-sessions Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 04/24] gnu: Add go-github-com-jcmturner-aescts-v2 Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 05/24] gnu: Add go-github-com-jcmturner-dnsutils-v2 Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 06/24] gnu: Add go-github-com-jcmturner-gofork Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 07/24] gnu: Add go-github-com-hashicorp-go-uuid Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 08/24] gnu: Add go-github-com-jcmturner-goidentity-v6 Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 09/24] gnu: Add go-github-com-jcmturner-rpc Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 10/24] gnu: Add go-github-com-jcmturner-rpc-v2-ndr Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 11/24] gnu: Add go-github-com-jcmturner-rpc-v2-mstypes Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 12/24] gnu: Add go-github-com-jcmturner-gokrb5-v8 Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 13/24] gnu: Add go-github-com-dpotapov-go-spnego Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 14/24] gnu: Add go-github-com-git-lfs-go-netrc Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 15/24] gnu: Add go-github-com-git-lfs-pktline Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 16/24] gnu: Add go-github-com-git-lfs-wildmatch-v2 Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 17/24] gnu: Add go-github-com-leonelquinteros-gotext Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 18/24] gnu: Add go-github-com-olekukonko-ts Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 19/24] gnu: Add go-github-com-rubyist-tracerx Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 20/24] gnu: Add go-github-com-ssgelm-cookiejarparser Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 21/24] gnu: Add go-github-com-xeipuuv-gojsonpointer Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 22/24] gnu: Add go-github-com-xeipuuv-gojsonreference Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 23/24] gnu: Add go-github-com-xeipuuv-gojsonschema Nicolas Graves via Guix-patches via
2023-04-23 12:27 ` [bug#63017] [PATCH v2 24/24] gnu: git-lfs: Update to 3.3.0 Nicolas Graves via Guix-patches via
2023-04-23 15:05 ` bug#63017: " Leo Famulari
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://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230422162750.17012-24-ngraves@ngraves.fr \
--to=guix-patches@gnu.org \
--cc=63017@debbugs.gnu.org \
--cc=ngraves@ngraves.fr \
/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://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).