unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#35172] [PATCH] gnu: Add git-lfs.
@ 2019-04-06 14:35 Kei Kebreau
  2019-04-06 14:55 ` Kei Kebreau
  0 siblings, 1 reply; 5+ messages in thread
From: Kei Kebreau @ 2019-04-06 14:35 UTC (permalink / raw)
  To: 35172; +Cc: Kei Kebreau

* gnu/packages/version-control.scm (git-lfs): New variable.
---
 gnu/packages/version-control.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 50284182c9..091bc988cf 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2018 Timothy Sample <samplet@ngyro.com>
 ;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
 ;;; Copyright © 2019 Jovany Leandro G.C <bit4bit@riseup.net>
+;;; Copyright © 2019 Kei Kebreau <kkebreau@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -47,6 +48,7 @@
   #:use-module (guix git-download)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system go)
   #:use-module (guix build-system python)
   #:use-module (guix build-system trivial)
   #:use-module (gnu packages apr)
@@ -2137,3 +2139,27 @@ design goals are to reduce the pain of resolving merge conflicts by finding
 the smallest possible conflicts and to allow a merge to be saved, tested,
 interrupted, published, and collaborated on while in progress.")
     (license license:gpl2+)))
+
+(define-public git-lfs
+  (package
+    (name "git-lfs")
+    (version "2.7.1")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/git-lfs/git-lfs")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "10v38w8qfz0x8750kv31n8gg2dimvq4wz40m374pd1xaypfs9670"))))
+    (build-system go-build-system)
+    (arguments
+     '(#:import-path "github.com/git-lfs/git-lfs"))
+    (home-page "https://git-lfs.github.com/")
+    (synopsis "Git extension for versioning large files")
+    (description
+     "Git Large File Storage (LFS) replaces large files such as audio samples,
+videos, datasets, and graphics with text pointers inside Git, while storing the
+file contents on a remote server like GitHub.com or GitHub Enterprise.")
+    (license license:expat)))
-- 
2.21.0

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

* [bug#35172] [PATCH] gnu: Add git-lfs.
  2019-04-06 14:35 [bug#35172] [PATCH] gnu: Add git-lfs Kei Kebreau
@ 2019-04-06 14:55 ` Kei Kebreau
  2019-04-18 15:43   ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Kei Kebreau @ 2019-04-06 14:55 UTC (permalink / raw)
  To: 35172

Kei Kebreau <kkebreau@posteo.net> writes:

> +(define-public git-lfs
> +  (package
> +    (name "git-lfs")
> +    (version "2.7.1")
> +    (source (origin
> +              (method git-fetch)
> +              (uri (git-reference
> +                    (url "https://github.com/git-lfs/git-lfs")
> +                    (commit (string-append "v" version))))
> +              (file-name (git-file-name name version))
> +              (sha256
> +               (base32
> +                "10v38w8qfz0x8750kv31n8gg2dimvq4wz40m374pd1xaypfs9670"))))
> +    (build-system go-build-system)
> +    (arguments
> +     '(#:import-path "github.com/git-lfs/git-lfs"))
> +    (home-page "https://git-lfs.github.com/")
> +    (synopsis "Git extension for versioning large files")
> +    (description
> +     "Git Large File Storage (LFS) replaces large files such as audio samples,
> +videos, datasets, and graphics with text pointers inside Git, while storing the
> +file contents on a remote server like GitHub.com or GitHub Enterprise.")

I realize that I can remove the GitHub promotion from the description
without any loss of understanding.

> +    (license license:expat)))

This is my first Go package, so any corrections or tips are especially
appreciated!

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

* [bug#35172] [PATCH] gnu: Add git-lfs.
  2019-04-06 14:55 ` Kei Kebreau
@ 2019-04-18 15:43   ` Ludovic Courtès
  2019-04-20 20:42     ` bug#35172: " Kei Kebreau
  0 siblings, 1 reply; 5+ messages in thread
From: Ludovic Courtès @ 2019-04-18 15:43 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 35172

Hello,

Kei Kebreau <kkebreau@posteo.net> skribis:

> Kei Kebreau <kkebreau@posteo.net> writes:
>
>> +(define-public git-lfs
>> +  (package
>> +    (name "git-lfs")
>> +    (version "2.7.1")
>> +    (source (origin
>> +              (method git-fetch)
>> +              (uri (git-reference
>> +                    (url "https://github.com/git-lfs/git-lfs")
>> +                    (commit (string-append "v" version))))
>> +              (file-name (git-file-name name version))
>> +              (sha256
>> +               (base32
>> +                "10v38w8qfz0x8750kv31n8gg2dimvq4wz40m374pd1xaypfs9670"))))
>> +    (build-system go-build-system)
>> +    (arguments
>> +     '(#:import-path "github.com/git-lfs/git-lfs"))
>> +    (home-page "https://git-lfs.github.com/")
>> +    (synopsis "Git extension for versioning large files")
>> +    (description
>> +     "Git Large File Storage (LFS) replaces large files such as audio samples,
>> +videos, datasets, and graphics with text pointers inside Git, while storing the
>> +file contents on a remote server like GitHub.com or GitHub Enterprise.")
>
> I realize that I can remove the GitHub promotion from the description
> without any loss of understanding.

Agreed.

>> +    (license license:expat)))
>
> This is my first Go package, so any corrections or tips are especially
> appreciated!

I’m no nothing about Go, but it LGTM!  If something is broken, don’t
worry, people will tell you.  ;-)

Thank you,
Ludo’.

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

* bug#35172: [PATCH] gnu: Add git-lfs.
  2019-04-18 15:43   ` Ludovic Courtès
@ 2019-04-20 20:42     ` Kei Kebreau
  2019-04-21 12:50       ` [bug#35172] " Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Kei Kebreau @ 2019-04-20 20:42 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 35172-done

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

Ludovic Courtès <ludo@gnu.org> writes:

> Hello,
>
> Kei Kebreau <kkebreau@posteo.net> skribis:
>
>> Kei Kebreau <kkebreau@posteo.net> writes:
>>
>>> +(define-public git-lfs
>>> +  (package
>>> +    (name "git-lfs")
>>> +    (version "2.7.1")
>>> +    (source (origin
>>> +              (method git-fetch)
>>> +              (uri (git-reference
>>> +                    (url "https://github.com/git-lfs/git-lfs")
>>> +                    (commit (string-append "v" version))))
>>> +              (file-name (git-file-name name version))
>>> +              (sha256
>>> +               (base32
>>> +                "10v38w8qfz0x8750kv31n8gg2dimvq4wz40m374pd1xaypfs9670"))))
>>> +    (build-system go-build-system)
>>> +    (arguments
>>> +     '(#:import-path "github.com/git-lfs/git-lfs"))
>>> +    (home-page "https://git-lfs.github.com/")
>>> +    (synopsis "Git extension for versioning large files")
>>> +    (description
>>> + "Git Large File Storage (LFS) replaces large files such as audio
>>> samples,
>>> +videos, datasets, and graphics with text pointers inside Git,
>>> while storing the
>>> +file contents on a remote server like GitHub.com or GitHub Enterprise.")
>>
>> I realize that I can remove the GitHub promotion from the description
>> without any loss of understanding.
>
> Agreed.
>
>>> +    (license license:expat)))
>>
>> This is my first Go package, so any corrections or tips are especially
>> appreciated!
>
> I’m no nothing about Go, but it LGTM!  If something is broken, don’t
> worry, people will tell you.  ;-)
>

:-)

> Thank you,
> Ludo’.

Pushed to master, thank you for reviewing!

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

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

* [bug#35172] [PATCH] gnu: Add git-lfs.
  2019-04-20 20:42     ` bug#35172: " Kei Kebreau
@ 2019-04-21 12:50       ` Ludovic Courtès
  0 siblings, 0 replies; 5+ messages in thread
From: Ludovic Courtès @ 2019-04-21 12:50 UTC (permalink / raw)
  To: Kei Kebreau; +Cc: 35172-done

Kei Kebreau <kkebreau@posteo.net> skribis:

> Ludovic Courtès <ludo@gnu.org> writes:

[...]

>> I’m no nothing about Go, but it LGTM!  If something is broken, don’t
    ^^^^^

Ouch, what have I written here?!  Anyway, thanks for git-lfs!

Ludo’.

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

end of thread, other threads:[~2019-04-21 12:51 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-06 14:35 [bug#35172] [PATCH] gnu: Add git-lfs Kei Kebreau
2019-04-06 14:55 ` Kei Kebreau
2019-04-18 15:43   ` Ludovic Courtès
2019-04-20 20:42     ` bug#35172: " Kei Kebreau
2019-04-21 12:50       ` [bug#35172] " Ludovic Courtès

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).