[PATCH v7] gnu: Add got.

  • Done
  • quality assurance status badge
Details
3 participants
  • Andreas Enge
  • ashish.is
  • Ludovic Courtès
Owner
unassigned
Submitted by
ashish.is
Severity
normal
A
A
ashish.is wrote on 25 Jun 01:01 +0200
[PATCH] gnu: Add got.
(address . guix-patches@gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
d62b0fcdad8f71b4d225d6da5d0808b2e0d364c1.1719270072.git.ashish.is@lostca.se
From: Ashish SHUKLA <ashish.is@lostca.se>

* gnu/packages/version-control.scm (fnc): New variable.

Change-Id: I8b1398949fbe7f07cfa75fe194d78c24e1e880fd
---
gnu/packages/version-control.scm | 37 ++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (73 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index da02d0e4ea..8be76eafa0 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -52,6 +52,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -98,6 +99,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -120,6 +122,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -830,6 +834,39 @@ (define-public git-cal
to GitHub contributions calendar.")
(license license:expat)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.100")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "04jhaqzskr26akmy963yc8gaw1pqbsxhgsxzd0yrssgzcwh8lfpw"))))
+ (inputs
+ `(("libevent" ,libevent)
+ ("libuuid" ,util-linux "lib")
+ ("zlib" ,zlib)
+ ("libressl" ,libressl)
+ ("libmd" ,libmd)
+ ("libbsd" ,libbsd)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ (list pkg-config))
+ (arguments
+ ;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd
+ (list #:validate-runpath? #f))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 78d946b01162fbe986c6768800e8cfd6e70e67e5
--
2.45.2
A
A
ashish.is wrote on 25 Jun 01:27 +0200
[PATCH v2] gnu: Add got.
(address . 71764@debbugs.gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
e1602b512936c73d56e102f9c5bef9304d46ab6b.1719271658.git.ashish.is@lostca.se
From: Ashish SHUKLA <ashish.is@lostca.se>

* gnu/packages/version-control.scm (got): New variable.

Change-Id: Id5688af713352a2e9ff52085ffe1facb3fed5771
---
gnu/packages/version-control.scm | 37 ++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (73 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index da02d0e4ea..8be76eafa0 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -52,6 +52,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -98,6 +99,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -120,6 +122,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -830,6 +834,39 @@ (define-public git-cal
to GitHub contributions calendar.")
(license license:expat)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.100")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "04jhaqzskr26akmy963yc8gaw1pqbsxhgsxzd0yrssgzcwh8lfpw"))))
+ (inputs
+ `(("libevent" ,libevent)
+ ("libuuid" ,util-linux "lib")
+ ("zlib" ,zlib)
+ ("libressl" ,libressl)
+ ("libmd" ,libmd)
+ ("libbsd" ,libbsd)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ (list pkg-config))
+ (arguments
+ ;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd
+ (list #:validate-runpath? #f))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 78d946b01162fbe986c6768800e8cfd6e70e67e5
--
2.45.2
A
A
ashish.is wrote on 28 Jun 07:13 +0200
[PATCH v3] gnu: Add got.
(address . 71764@debbugs.gnu.org)
a0338db0aca98513077768a75fefa9e84b6ca268.1719551595.git.ashish.is@lostca.se
From: Ashish SHUKLA <ashish.is@lostca.se>

* gnu/packages/version-control.scm (got): New variable.

Change-Id: I309a975c1abfad1461cf475136eae39fe31e3097
---
This revision adds a workaround for hardcoded paths of ssh,
ssh-keygen, and signify executables by switching to execvp from execv.

gnu/packages/version-control.scm | 50 ++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)

Toggle diff (86 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index da02d0e4ea..4a063cd221 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -52,6 +52,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -98,6 +99,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -120,6 +122,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -830,6 +834,52 @@ (define-public git-cal
to GitHub contributions calendar.")
(license license:expat)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.100")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "04jhaqzskr26akmy963yc8gaw1pqbsxhgsxzd0yrssgzcwh8lfpw"))))
+ (inputs
+ `(("libevent" ,libevent)
+ ("libuuid" ,util-linux "lib")
+ ("zlib" ,zlib)
+ ("libressl" ,libressl)
+ ("libmd" ,libmd)
+ ("libbsd" ,libbsd)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ (list pkg-config perl))
+ (arguments
+ `(;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd
+ #:validate-runpath? #f
+ #:configure-flags
+ '("CFLAGS=-DGOT_DIAL_PATH_SSH=\\\"ssh\\\" -DGOT_TAG_PATH_SSH_KEYGEN=\\\"ssh-keygen\\\" -DGOT_TAG_PATH_SIGNIFY=\\\"signify\\\"")
+ #:phases ,#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-execv-to-execvp
+ (lambda _
+ ;; got sources has paths hardcoded to /usr/bin
+ (substitute* "lib/dial.c"
+ (("execv\\(GOT_DIAL_") "execvp(GOT_DIAL_")
+ (("execv %s\", GOT_DIAL") "execvp %s\", GOT_DIAL"))
+ (substitute* "lib/sigs.c"
+ (("execv\\(GOT_TAG") "execvp(GOT_TAG")
+ (("execv %s\", GOT_TAG") "execvp %s\", GOT_TAG"))
+ #t)))))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 78b881722f08325c76096557313a0faee847c66f
--
2.45.2
A
A
Ashish SHUKLA wrote on 28 Jun 10:45 +0200
bugs changes
(address . control@debbugs.gnu.org)
4cb829c78a3b3e0edf7c5920d9ada348@lostca.se
close 71813
retitle 71764 [PATCH v3] gnu: Add got.
quit
A
A
ashish.is wrote on 13 Jul 11:19 +0200
[PATCH v4] gnu: Add got.
(address . 71764@debbugs.gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
c678fa516eb875f0e09dd358ab245e4b793a7769.1720862341.git.ashish.is@lostca.se
From: Ashish SHUKLA <ashish.is@lostca.se>

* gnu/packages/version-control.scm (got): New variable.

Change-Id: Id5688af713352a2e9ff52085ffe1facb3fed5771
---
This patches initializes at 0.101.

gnu/packages/version-control.scm | 37 ++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)

Toggle diff (339 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 29401f87ff..01b771dd89 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -52,6 +52,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -98,6 +99,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -120,6 +122,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -830,6 +834,39 @@ (define-public git-cal
to GitHub contributions calendar.")
(license license:expat)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.101")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "1h6wlvvfgn491pn4my2623j2p3k25p7yxfs81vwcp81iqy1421i5"))))
+ (inputs
+ `(("libevent" ,libevent)
+ ("libuuid" ,util-linux "lib")
+ ("zlib" ,zlib)
+ ("libressl" ,libressl)
+ ("libmd" ,libmd)
+ ("libbsd" ,libbsd)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ (list pkg-config))
+ (arguments
+ ;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd
+ (list #:validate-runpath? #f))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 78d946b01162fbe986c6768800e8cfd6e70e67e5
prerequisite-patch-id: 524dc6e1b613b2fe159afde9a533851a29168a59
prerequisite-patch-id: 34299bbcedd3701dae0574061af01111a921a98a
prerequisite-patch-id: b2ad6bd9fed7e071a7a09433ad708264cd1b26c1
prerequisite-patch-id: 561723f9b26b038a4543a245b692a7cbcd6299ac
prerequisite-patch-id: d76843453241c5e2bc1dd0b4688e9e3ed8cdbcae
prerequisite-patch-id: c5656d784d55475b409b4d573243fbd52e112dfe
prerequisite-patch-id: 00ea0cba3c5c3713b7c164917495852c74c00b15
prerequisite-patch-id: afdafecd50044e08b96e0625f75b9ef90e7b9f53
prerequisite-patch-id: 75a53425d2d594d00fe6ec9f45835551bcdfe259
prerequisite-patch-id: cc841a2df10fa85513facc5686ad25f90fdf5701
prerequisite-patch-id: bb4f264876854a4ee3b987b270832f774a158faa
prerequisite-patch-id: d256cb5207afcf5aafb1a00eb45eb941bf378f87
prerequisite-patch-id: 499ab634d601a4d202110f3895d74e77ecb5897a
prerequisite-patch-id: 8e243e8e484538c6dfa1528281cd89cb02162511
prerequisite-patch-id: 19055a3fb7e6b489c729011a076a843f3832fe19
prerequisite-patch-id: 801ab2369960bb7978f9678af50548958dfbd630
prerequisite-patch-id: b97d912356d4a14250bb2915b196bf3085e24aba
prerequisite-patch-id: 230f8d388d27b84386c8058359a927f77050f035
prerequisite-patch-id: d3ea973a63cad2c2b99dca0e5021ce91aecc8fd2
prerequisite-patch-id: 4c73ed393964b87121dd72ee174f677c5a847d70
prerequisite-patch-id: 4f26861534bb85b97009ed0e2fe669e23f8cfdb8
prerequisite-patch-id: 2b0a2ef34ee62e6c6e65551b932237957868bb00
prerequisite-patch-id: e9b03a9da82c92b2f8eb6d8ddb78c11c16a1942f
prerequisite-patch-id: f331321aca3839a3c7a524b4beac8f30e65aea28
prerequisite-patch-id: 1f061ba8669a8ccb57268d3a95170c247a93ae40
prerequisite-patch-id: 0d15feb05b0345fa721d0b891c168253b2d2f974
prerequisite-patch-id: deface29c02adcc27663e46b662023ea541903dc
prerequisite-patch-id: c0eb341b776edb1aa9a16dba5e3e069e05952cf9
prerequisite-patch-id: 79588127f28abbb3971966a6e8bf864edc098a55
prerequisite-patch-id: 9198c04b5c1db34f54c7e365f92cda638f45adef
prerequisite-patch-id: d5bbac05ffe0ec8294aea513b60362d96cbe3d65
prerequisite-patch-id: 4544ada1e6e98007eb6a6e37dc2bdf619bc9a1d5
prerequisite-patch-id: ac7f85d353cad412b4911f655ccd68ef0d4d8442
prerequisite-patch-id: 77de41a3f0c69d4d78d3b8726823823151a87c7f
prerequisite-patch-id: f965278926b59782d8fb494d3f64ac6b5c6b46b9
prerequisite-patch-id: 2bc11ea17e432544d042cc8563b92b7f64d9ee6b
prerequisite-patch-id: f9f36bf74820995299b47d3a471bae1ca824ab76
prerequisite-patch-id: cc4ad05690a41f03b366c57ca39d7acd95253ed4
prerequisite-patch-id: 91acc834878187a1a1da071e2f2001499a56e428
prerequisite-patch-id: 26627dc14a2ebed8b1a047bb2593927abe60e9e1
prerequisite-patch-id: ca6874add5ba6effa2648e2af619f1da7a273343
prerequisite-patch-id: 929e4c685b69b49ae72d398f01f15ab014607b69
prerequisite-patch-id: bfc4149c0bddb58c0d1401c80bc26c74826dc2b0
prerequisite-patch-id: cb8e1da191bc7b63a1fcdc7753db016e2a7bceb0
prerequisite-patch-id: ffab8acfbd14883d44b46dddc72e09773b9f3575
prerequisite-patch-id: 631640d08d3a3fa989134cff3cd60115555015f6
prerequisite-patch-id: 7077eb0f66557842e8a5f036b5ad68e45e3a0093
prerequisite-patch-id: 69ae938e8ddac6bcd4415557536fb0575ab93746
prerequisite-patch-id: ec7fb113057e26878466d97a4aecfdcf5fc05ac5
prerequisite-patch-id: 21f3ba9a1e03932c1b7b9deca4a5b7bc745d4822
prerequisite-patch-id: cfa5ba5c6f338ebe628c7db64d9747eb3f382584
prerequisite-patch-id: 2d23e0ea9c8ef65ce9832a6d807d13f8f559407c
prerequisite-patch-id: 22fdf12f020182005fe00c52d17502e5e5e45e4e
prerequisite-patch-id: 7a97b93f9b94597561e7c312918b176c79d0d6bb
prerequisite-patch-id: a3707918ea7da969c8f8e4f10ca538d4e26bfff2
prerequisite-patch-id: 01cefaea8ea731fa0a7fad6ece66f96984d877cf
prerequisite-patch-id: 135bd0bb6a0a2e46a080baf489154547bd8a919e
prerequisite-patch-id: 778cce4e0c497fa3408293fe474ee0a45f00197a
prerequisite-patch-id: ddff166ce3929f8068b2c062138f252b532c77ac
prerequisite-patch-id: ee7773cd34d9e3e20cbd42b921c2ae34b94fa44d
prerequisite-patch-id: b07d414ebce5d5564daeac1e83f198a37948d883
prerequisite-patch-id: d06f852fc3c6441cd6f64ec5681ac59ea535d8df
prerequisite-patch-id: 7bdda8753cd9c7a0e466f5ad77f0a26ffc12c70a
prerequisite-patch-id: 4274adda308fff3e0409d42f4b30c75c96f11eaa
prerequisite-patch-id: b68fbc73158e38109a7cf43156a00c916ef0b264
prerequisite-patch-id: 01134ae131cf5743842ccf819f585c5e56aee0a4
prerequisite-patch-id: 501ba762bb916a2aff03829a218e926198b3be9f
prerequisite-patch-id: 6e8f3f2aa0991aab93b36d21ee42f83b40a54757
prerequisite-patch-id: edb8987ca03cc77d8b02a325eaa66fd7e43e5364
prerequisite-patch-id: fc203237642efcbd4b92b58fb3cead73b2aa04f6
prerequisite-patch-id: 89b04507ff81bf3c2d7c78897ce2bbff2bbc5969
prerequisite-patch-id: 3c9d9483695f7816554c0bfec8cf17142b223bae
prerequisite-patch-id: 76873b6f14c22a51865d9e7513de0899f5d6ba29
prerequisite-patch-id: 9941673f0e988c35a787e28fcf50ea23f6bfeb28
prerequisite-patch-id: 411fcd4d17ab389e13bd77c0ba8a9def2a3c1ce2
prerequisite-patch-id: d605f0b4e985372536365c861df7cd45bc99f5b8
prerequisite-patch-id: 026e679c4f8b43cc73fbbd94145e608e1ed69e30
prerequisite-patch-id: 2e554c08e24d10b79ca8dc4845fc49ad780c931d
prerequisite-patch-id: 89767374c2b36142c5a128ab3582627ddb7c8afc
prerequisite-patch-id: e478ae4dda7417467dcaddfeabefc7a83791d444
prerequisite-patch-id: cfb47df574fa480cb7af8a9e9f066a8f14ec3d40
prerequisite-patch-id: c8eb8c23adde800f524c3b1ca8ec9ea906403c85
prerequisite-patch-id: 6b039fe3dbd52bc861433f89bde01ae82b349b58
prerequisite-patch-id: 0d991144de917099549d3c3f7a82c3dc39874994
prerequisite-patch-id: 3667cadd9e68738689d46372408f7257b69a7b8b
prerequisite-patch-id: de488dfb8c2467714d04004d4c87a05753d66a28
prerequisite-patch-id: f16c6093ed1835a2dcf85e43ae767a67e6ed27be
prerequisite-patch-id: c00179ad53465f4509d3ca04095bcce24f7b057b
prerequisite-patch-id: 68f17f263450cacc93569da1951b881f9fd162a2
prerequisite-patch-id: a5f9464498560b3ba9ddb894482fc48a3a472d74
prerequisite-patch-id: 85f6f16b98ec15d6b56837c35d5d370ddb7b015b
prerequisite-patch-id: 85eb0e47be54b3bce21e836bdc113f64c4127e9b
prerequisite-patch-id: eb1b128dd5987e77b547acc3fc1f6f0feea49e66
prerequisite-patch-id: afbaed627c1554dcea4163353dcb32e0614d1c69
prerequisite-patch-id: c71615be4157bdc9fa6780fb90c2a58afcbddd3e
prerequisite-patch-id: 78c1dd95a4531bd28ae700c507730f30f5780233
prerequisite-patch-id: 9280839299c1a3746368765af0ac2278070ef113
prerequisite-patch-id: 5bebcb6462bcfd9276ed948b636e12829be58a77
prerequisite-patch-id: 429aea8c2b4d3717cdc7bde12ac00e825c86cab0
prerequisite-patch-id: 9e42cd839904617551d0faca2890e973909a41f6
prerequisite-patch-id: 4ea30bb4227643db4404ffdc5e9dea5d04466cc5
prerequisite-patch-id: 6ffc6924d6cc40f5babe94855fc2e5b909ccd943
prerequisite-patch-id: 7c3f69ff40ae27743d39722eb637e6cd67a84b5e
prerequisite-patch-id: e0bc8309dec5d73cb8f0fa4e296aca407943efbb
prerequisite-patch-id: aa2013edbee67f5f3c4bac8b69df5709b1d3b002
prerequisite-patch-id: 6e14abc6ddde00e2489b274fa037c436aa62e065
prerequisite-patch-id: 73edd1942a5c6076f414ce0a8fca14eacae5c9c4
prerequisite-patch-id: fbbd294456b993b2d482a95caf21127b37375d43
prerequisite-patch-id: b12030768828b47f206aab63ba05c9ce7baa2085
prerequisite-patch-id: 781cbd4dad728230fc48d27b33091e551ddf9eb9
prerequisite-patch-id: 9c78e940ce6223957f93073c782d658e3275da0e
prerequisite-patch-id: 0561699073e9247dcdfa42dd93f151f768ecfd30
prerequisite-patch-id: cfc43699742c07ec7a8f8c8ddb4b5bee806d9a43
prerequisite-patch-id: c4fb9a62f461f8a2dc85ec567214e2bef05f58f4
prerequisite-patch-id: 2c1d89911dd5e1f3abd746bc52a4afc510dd39c8
prerequisite-patch-id: e21227f4159a8f2776c18affe62d4bca7d9df644
prerequisite-patch-id: 92cbb3fa295b9c1b36cbdfe7954e799c20fa5da6
prerequisite-patch-id: c23a5ff1db6d9ca7a2fa9614ebe82b026ca871cb
prerequisite-patch-id: bb06a2a211a8ed99b8ace269703d3287c6007743
prerequisite-patch-id: 6a411aed77d9357ea8dc9303a351a6806fc0cb55
prerequisite-patch-id: ac9a7c463a3dceb1f9e01a74afd93c02296c933d
prerequisite-patch-id: d9222b832a74a4eee7562ecbf3c11da29cc02bee
prerequisite-patch-id: 7eacf777025f1640a7f198b5f4e041dac019af42
prerequisite-patch-id: 99593c61db1f5a8fff261c7708c34e6f26cd7028
prerequisite-patch-id: bb6e8e6c5f5e7a7e7d28c9a29f3fa26897c1f260
prerequisite-patch-id: 2252f3719c73e9c50402a8b8c2d76a2f0ef226d9
prerequisite-patch-id: bac35f893cb9d6a7fd3fad667804d6d4cc6c4879
prerequisite-patch-id: 9bf7831c73899c8317dae059f1fd817982e160fc
prerequisite-patch-id: 1455b3744602c1f808c98aad26470e8ad3a97039
prerequisite-patch-id: dbb91e69e2f06a39a94af76637f85d88c456479e
prerequisite-patch-id: 218f167e8ac1593e58b0d8740a8a0a7fe48c8cff
prerequisite-patch-id: d68c579ecd4c2a84dfd372835b7561c42bddcdea
prerequisite-patch-id: 33e336c824b3a8cf88d203d793d31d76c28be968
prerequisite-patch-id: d83bf6008cf2203333c1a0dfb5f912627fb21da8
prerequisite-patch-id: 519e1c85ffa8b471d089ffe14d1ddd55990d6d07
prerequisite-patch-id: 9beb9bc5a8258f4c85da9c598203bddee96663d4
prerequisite-patch-id: f698b2237c07c33c50e43ae912951025107b66a1
prerequisite-patch-id: 5fae2e240c3098d14f8326bae9ef884b6f221443
prerequisite-patch-id: f33e55b4e885b8748f9c3ab87fa90649e897d3ee
prerequisite-patch-id: c23ae66d93b20735aeb1aa71de4000681129206d
prerequisite-patch-id: 379de87940aa4cd3a704571a032df0c8b6396b5a
prerequisite-patch-id: 706881ad292f78645ccf1a9d14d7a6f81216a1ed
prerequisite-patch-id: cce2fe83bbad620a0e347a929f078a45cf3fe4d3
prerequisite-patch-id: c86363c81b96e495d694419ee4289a63cf1b7fee
prerequisite-patch-id: ff69e149f270d5d160dc050229476b827bff3fdd
prerequisite-patch-id: 9a01edf307d1b71443f2e5eaf8598c50513ee452
prerequisite-patch-id: ab80fcf008cea86cf2a56261a9f4b0293c43a7e0
prerequisite-patch-id: 6bd875e662f441f3df0e967d1a6608c15843ba4a
prerequisite-patch-id: fddeec58da004defe8102b2d69f5fac42299dd16
prerequisite-patch-id: 64a4009a39242b977eae77a49f62a15f4e0fd70c
prerequisite-patch-id: c5bac8c699d5e1ab4013b63ca37037420029de02
prerequisite-patch-id: 8ae7892db27ebe1cdfeecec8e7d051ce83f7b4ec
prerequisite-patch-id: f275f169ca89d99d003a5e959baed8e7719f8987
prerequisite-patch-id: 22ed56c6ec5a2d299fca1e6143f7eb5f9f10c15d
prerequisite-patch-id: c591beb5aab750c117249841ec1a807bb3f0d3fd
prerequisite-patch-id: 843860c169202e291684eeccb1f16600d8306ea6
prerequisite-patch-id: 60344fe7f70a4c1041a6e1b7596397c10481d01e
prerequisite-patch-id: 538107e7a6bb28e67c716b43bfd94bf614b1c5e9
prerequisite-patch-id: 61d42e53ba5f94f7bfee03a80b615293d2004695
prerequisite-patch-id: 5618fde789a47f964301ed884fea70fb996ce4c1
prerequisite-patch-id: 5a2be63e8c34cf56ee170a2a3bc35a3b8b7fd4eb
prerequisite-patch-id: 8dd6d3efcd6c1316cd1c15b4f4324f09067e79a1
prerequisite-patch-id: 7b86830d4e72b4d9e0c5c26f050649e4d6f48593
prerequisite-patch-id: dbf9e11079276460b984ef7fc0901e45efb5ae1c
prerequisite-patch-id: 1425b2b2d7f50cb5fbed7f134595214687094904
prerequisite-patch-id: ce0ae1f1b4a68d6a1886300b73d914e0100ff8d6
prerequisite-patch-id: 37c9a7cf3d23379ff123fc9c99af23992a1469ef
prerequisite-patch-id: 0b8b2b276bc5a3107bc03e9cb5a947e126c97aed
prerequisite-patch-id: 351b8463a325cb294849dbccd1d70d229d049787
prerequisite-patch-id: e47639dfc574ab0dbea3a94301b6f2707aa2c0aa
prerequisite-patch-id: 127d1d87dba441d8d8bc1df92027439f6269d6ae
prerequisite-patch-id: a4e37cd7b26d0229379a9eb399f2e14312ae2b94
prerequisite-patch-id: bbd0498f6836a0e6f0254f49818c8188244d1050
prerequisite-patch-id: 9cdd9fbadba7e3bfa59b6b74531d992f58d1be14
prerequisite-patch-id: d67e5628d38efde61593f629738cdd18c2f575b6
prerequisite-patch-id: 8b469343f0a70d55bd9c39729bf3c22bc035e801
prerequisite-patch-id: 5864bd792347e97ee82d814a312d7daa5e10e5c5
prerequisite-patch-id: 09580734ec4c03aa82058594dd55121d196ee448
prerequisite-patch-id: 2e6c3b91b0d38abdbc885f02dc40bfc25905839e
prerequisite-patch-id: 906b5a76d35eb5b319f2318d197856e3b2479826
prerequisite-patch-id: 2ad93520b5ef46b4573f95342746a079fdfddb6a
prerequisite-patch-id: ba9ff65d8afa714bd805c8793cfe8eeae91de3f0
prerequisite-patch-id: cc8cb0e60d67be3c8ab6228a3a1e4ec86bc47e64
prerequisite-patch-id: 0a195fdcf899846208ce91d5d277b783aa496db2
prerequisite-patch-id: 63252b188bef15ab47711a11eb8cb86c518a7696
prerequisite-patch-id: 7dd1015cd9840b1af6a1e519f0438811bfec4a04
prerequisite-patch-id: 5a7bd32faee26a5f0005203a47ce87f7c71852a2
prerequisite-patch-id: a0d90df8769c4cab2a1111d47932183c2510e8fd
prerequisite-patch-id: 7bc1477ec0fee261dc2720578a3a38dde348cdb2
prerequisite-patch-id: 7c22e9a49b1598f41b9496d1b12f1e64e4f8e004
prerequisite-patch-id: 908f6fb321ad0fed08f4a94c0ab3c2e0556f2274
prerequisite-patch-id: cb153962e3782e3cfcb48e5891699edee6a747df
prerequisite-patch-id: 63369406cd34aecda9b5bfe15350750a1e68f43c
prerequisite-patch-id: 5bba1d89fb38977ce100067a9ccff2e2f5b1f8de
prerequisite-patch-id: 6015dc80608732622225411201a81a30f5d870eb
prerequisite-patch-id: f10901169dc730b7c639e47590a7d0168b900b51
prerequisite-patch-id: 43819505d33345230e06f2d5cac9b670c959d051
prerequisite-patch-id: 70f7c0866cbe1931fb9be022c64e7f11b6f7a611
prerequisite-patch-id: 0d84793fc4004af34f2f2ffa77f884a4d3449a59
prerequisite-patch-id: 9bc2f7952bccb147fdc9e10fb1a1283b1dbd783b
prerequisite-patch-id: faa970415b910ff919d3a453cd12d9935d43ead1
prerequisite-patch-id: a62ec974bdf8e00e18702880c32458e577259d89
prerequisite-patch-id: 69b3cddcc1b6bec0d48b9624b624dc0fa5732d23
prerequisite-patch-id: eca43446c92b38fb96958550b7badc75d555ada3
prerequisite-patch-id: d967fe5b61bc19a6bf85edd21a7c408d7cf154d6
prerequisite-patch-id: 7d96ef58eb29c0925928192fdd5e7164b4708006
prerequisite-patch-id: c1ee9f6fcac9ddf925f1d27b1763f4e1a0fc606f
prerequisite-patch-id: 63af40e4e9f9af78c98913a3cd47e872243df770
prerequisite-patch-id: 89e43766b2eb29b6df8c9405ea71160f23e1e3f6
prerequisite-patch-id: d807334752c0efe27412d39a5b61274c24ce0cab
prerequisite-patch-id: d554ba37d1b1f9af71b62b04bfb217533cafe4c1
prerequisite-patch-id: c5fc1a35290141acd01051458ab36097ba402ec6
prerequisite-patch-id: a386ef393bfb31005c64229ba2f4faf985792070
prerequisite-patch-id: 83df75b55238e9e7bc9301fc4ef8657399eb8053
prerequisite-patch-id: b5777f03fd5bc8675fb9dc9338a8239c66b006d7
prerequisite-patch-id: 1e734dc05e49bb2146afc8bf4267f9458f208039
prerequisite-patch-id: ec1bda1638916fd1fd83ff5ab22723aaa40e0c0c
prerequisite-patch-id: 1cc480e33663b0616bcf5562235990528804f891
prerequisite-patch-id: d458978d2a691794fa75d7a35488a3472eb8979f
prerequisite-patch-id: c3cd1c1bbf1081cd96cb69762ad07f0a7e948ba6
prerequisite-patch-id: 1b86a50dc2bc2c387cf204e3b5bcc9f7fc7fdd94
prerequisite-patch-id: 3ffd94b17e281e459908afdc6f17606f05f39ed3
prerequisite-patch-id: 19cfbcc281c99b72b4adc1b5421681baf86ec7c1
prerequisite-patch-id: fe348fb694c256b45bf0ecc2705ab2a3942123e0
prerequisite-patch-id: ba5e724adec6a88e381b19ae9c908cc399b8bf3b
prerequisite-patch-id: 9697db9b50cab8f7974c32383e0a9a786ecbd8f9
prerequisite-patch-id: ebbd089a3313232347273c723d3deb1bf8c9bf81
prerequisite-patch-id: e93360d66936b9efd70a6ffd41f6ecda177ad7b8
prerequisite-patch-id: 19d76f45db1c59bd9ccd2e4e1125ffd698e9d6ce
prerequisite-patch-id: 929b39ded7ad095e9f768f7d484bbd3b7a486a3c
prerequisite-patch-id: 9bb14fe8c5236a17e0fac4c1c8e96d736c386267
prerequisite-patch-id: bbf1efe58f1f191b2e66bcdca07bab31019ddb23
prerequisite-patch-id: 33e716f37977bbcbcc1c7781767800348433186d
prerequisite-patch-id: 9588f50aa34778810cad4b07d12b37b2f789cccd
prerequisite-patch-id: a48e1e2968c03f6c750b1ef3b23e36a96a67c705
prerequisite-patch-id: 158ed3494495abda5a03d6d738ece5d20dfc1f79
prerequisite-patch-id: 04188248a7ce031fdd3ab30a1e0e40dff0d3d33f
prerequisite-patch-id: 0083b121c1d6bf98ace7d2d0b8b7361c94c204a5
prerequisite-patch-id: b30d51359f669d46428523029daead70fbb4e8aa
prerequisite-patch-id: 8e44b2049c9c119a9e8dfb32c0ce2441b027cb07
prerequisite-patch-id: 7606448752241d1f6937187b10582e1201f86abc
prerequisite-patch-id: ba3de2dedfdf14487d19b8b36639ce21358aa6df
prerequisite-patch-id: eea9d984999241ac51cd01e186116d9295685bb2
prerequisite-patch-id: ee9ec9095c47924a30911c1bcd98de6baae55e78
prerequisite-patch-id: 72d71aefa0700aa730c488c93dfce7978dd8ba9b
prerequisite-patch-id: 1c364475fa6ed4e88262b370e1745e92fcddbcf8
prerequisite-patch-id: f67c13fc4633d7231adde19419b58d26786f22e6
prerequisite-patch-id: 38d4eedd556dcbb3a7226893428e17dc11422e93
prerequisite-patch-id: b7a9d65b9096c9f81c9177fd9223327db3f88fdc
prerequisite-patch-id: 8529c9bfb7218c45d581ba238cd080e61a04348e
prerequisite-patch-id: 1415bdf2ac831e4403f4984ac50459e50e614fe5
prerequisite-patch-id: 27bfae4ab49135d63c37cae67d77adf32dd125e9
prerequisite-patch-id: 3401dc3320e0815193b0a43818fb6acbed551f8a
prerequisite-patch-id: 485aa6852930bd142948e65496f2a9f11eeada87
prerequisite-patch-id: 0e16cef28f01b31ec9776fed0cfc080f53f37551
prerequisite-patch-id: 522c512f834123b723098988b92ae77c6a6eb216
prerequisite-patch-id: 539cddcca36740084cc55a4bdd8c61f33c94d788
prerequisite-patch-id: 7957227db42c2c55475f4821840763b1aaa237f0
prerequisite-patch-id: 71acf56137b93b2d65547037c9620ac46a5470cf
prerequisite-patch-id: 3a8574b284ac76464c489ebc2b91dd7f086115c6
prerequisite-patch-id: 8d7cc92b0dcc8027fc9baf888b9760cdbbc6854f
prerequisite-patch-id: 5394aefc6bf0df6d3be66be8429a5eee5431cd17
prerequisite-patch-id: 7d0cc512781ed6f268bf23867e1dccde9c0b287e
prerequisite-patch-id: fbed55ac20369c7904e515b1321d4ce19889a2eb
prerequisite-patch-id: 1c3f8a2a01f003a990d79488b96be5208b520813
prerequisite-patch-id: 19f639a216850e0490d07a42435802602c6694fd
prerequisite-patch-id: a136acdc195be4a4ff20b594a1d896a3743b9f29
prerequisite-patch-id: 0d9008730d0ddc8180349211614e09
This message was truncated. Download the full message here.
A
A
Ashish wrote on 13 Jul 11:22 +0200
changes
(address . control@debbugs.gnu.org)
zmfdavbh6esittpnqizgoblhqj7ii4d56dosyz5ggktfpguq4b@ws24qzkvj62r
retitle 71764 [PATCH v4] gnu: Add got.
A
A
ashish.is wrote on 19 Jul 15:02 +0200
[PATCH v5] gnu: Add got.
(address . 71764@debbugs.gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
ecb6ce5648a139e9671d7cf3accc5ee04f961d63.1721394148.git.ashish.is@lostca.se
From: Ashish SHUKLA <ashish.is@lostca.se>

* gnu/packages/version-control.scm (got): New variable.

Change-Id: I309a975c1abfad1461cf475136eae39fe31e3097
---
gnu/packages/version-control.scm | 50 ++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)

Toggle diff (86 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3267a541a1..7f71d60f60 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -52,6 +52,7 @@
;;; Copyright © 2023 Steve George <steve@futurile.net>
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -98,6 +99,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -120,6 +122,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -830,6 +834,52 @@ (define-public git-cal
to GitHub contributions calendar.")
(license license:expat)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.100")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "04jhaqzskr26akmy963yc8gaw1pqbsxhgsxzd0yrssgzcwh8lfpw"))))
+ (inputs
+ `(("libevent" ,libevent)
+ ("libuuid" ,util-linux "lib")
+ ("zlib" ,zlib)
+ ("libressl" ,libressl)
+ ("libmd" ,libmd)
+ ("libbsd" ,libbsd)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ (list pkg-config perl))
+ (arguments
+ `(;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd
+ #:validate-runpath? #f
+ #:configure-flags
+ '("CFLAGS=-DGOT_DIAL_PATH_SSH=\\\"ssh\\\" -DGOT_TAG_PATH_SSH_KEYGEN=\\\"ssh-keygen\\\" -DGOT_TAG_PATH_SIGNIFY=\\\"signify\\\"")
+ #:phases ,#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-execv-to-execvp
+ (lambda _
+ ;; got sources has paths hardcoded to /usr/bin
+ (substitute* "lib/dial.c"
+ (("execv\\(GOT_DIAL_") "execvp(GOT_DIAL_")
+ (("execv %s\", GOT_DIAL") "execvp %s\", GOT_DIAL"))
+ (substitute* "lib/sigs.c"
+ (("execv\\(GOT_TAG") "execvp(GOT_TAG")
+ (("execv %s\", GOT_TAG") "execvp %s\", GOT_TAG"))
+ #t)))))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 1aa8dfaeec3c6e4e587aadf7440246f7c5c04b9f
--
2.45.2
A
A
Ashish SHUKLA wrote on 15 Aug 22:05 +0200
[PATCH v6] gnu: Add got.
(address . 71764@debbugs.gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
916ff4bfcc6a6eac4af6b3126f1c7d0d1fdc709c.1723752331.git.ashish.is@lostca.se
* gnu/packages/version-control.scm (got): New variable.

Change-Id: I309a975c1abfad1461cf475136eae39fe31e3097
---
gnu/packages/version-control.scm | 50 ++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)

Toggle diff (86 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 9f67237d5d..7fdb8abf9b 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -53,6 +53,7 @@
;;; Copyright © 2023 Josselin Poiret <dev@jpoiret.xyz>
;;; Copyright © 2024 Hilton Chain <hako@ultrarare.space>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -99,6 +100,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -121,6 +123,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -877,6 +881,52 @@ (define-public git-tools
@end itemize")
(license license:gpl3+)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.102")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0xrpx2k6v4bypfgy378gz5s48scwgg5vh6p4wq5xc2abcvm51jxa"))))
+ (inputs
+ `(("libevent" ,libevent)
+ ("libuuid" ,util-linux "lib")
+ ("zlib" ,zlib)
+ ("libressl" ,libressl)
+ ("libmd" ,libmd)
+ ("libbsd" ,libbsd)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ (list pkg-config perl))
+ (arguments
+ `(;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd
+ #:validate-runpath? #f
+ #:configure-flags
+ '("CFLAGS=-DGOT_DIAL_PATH_SSH=\\\"ssh\\\" -DGOT_TAG_PATH_SSH_KEYGEN=\\\"ssh-keygen\\\" -DGOT_TAG_PATH_SIGNIFY=\\\"signify\\\"")
+ #:phases ,#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-execv-to-execvp
+ (lambda _
+ ;; got sources has paths hardcoded to /usr/bin
+ (substitute* "lib/dial.c"
+ (("execv\\(GOT_DIAL_") "execvp(GOT_DIAL_")
+ (("execv %s\", GOT_DIAL") "execvp %s\", GOT_DIAL"))
+ (substitute* "lib/sigs.c"
+ (("execv\\(GOT_TAG") "execvp(GOT_TAG")
+ (("execv %s\", GOT_TAG") "execvp %s\", GOT_TAG"))
+ #t)))))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 888fdfd1b1c4e4b3913b7b229f1ebc9f4596be20
--
2.46.0
A
A
Ashish wrote on 15 Aug 22:08 +0200
retitle bug report
(address . control@debbugs.gnu.org)
yufwcoalhhd2wt4dblc5ay43ktey2g24klflkpx36vogiga2lm@ziznav4p4scl
retitle 71764 [PATCH v6] gnu: Add got.
quit
A
A
Ashish SHUKLA wrote on 12 Sep 16:00 +0200
[PATCH v7] gnu: Add got.
(address . 71764@debbugs.gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
2b3365852f7368a67199c3b84e1502f6d499e379.1726149620.git.ashish.is@lostca.se
* gnu/packages/version-control.scm (got): New variable.

Change-Id: I34d19d90ab36e8831fa88668676aa2399356b002
---
This revision initializes got with 0.103.

gnu/packages/version-control.scm | 50 ++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)

Toggle diff (86 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 0c4cdedce8..fb5eca3bb2 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -56,6 +56,7 @@
;;; Copyright © 2023 Zheng Junjie <873216071@qq.com>
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
;;; Copyright © 2024 Simon Tournier <zimon.toutoune@gmail.com>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -102,6 +103,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -124,6 +126,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -963,6 +967,52 @@ (define-public git-tools
@end itemize")
(license license:gpl3+)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.103")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0y18961xrj4rja850i31gadiaps2qnkfb4jlramlz9akyf9mwh1j"))))
+ (inputs
+ `(("libevent" ,libevent)
+ ("libuuid" ,util-linux "lib")
+ ("zlib" ,zlib)
+ ("libressl" ,libressl)
+ ("libmd" ,libmd)
+ ("libbsd" ,libbsd)
+ ("ncurses" ,ncurses)))
+ (native-inputs
+ (list pkg-config perl))
+ (arguments
+ `(;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd
+ #:validate-runpath? #f
+ #:configure-flags
+ '("CFLAGS=-DGOT_DIAL_PATH_SSH=\\\"ssh\\\" -DGOT_TAG_PATH_SSH_KEYGEN=\\\"ssh-keygen\\\" -DGOT_TAG_PATH_SIGNIFY=\\\"signify\\\"")
+ #:phases ,#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-execv-to-execvp
+ (lambda _
+ ;; got sources has paths hardcoded to /usr/bin
+ (substitute* "lib/dial.c"
+ (("execv\\(GOT_DIAL_") "execvp(GOT_DIAL_")
+ (("execv %s\", GOT_DIAL") "execvp %s\", GOT_DIAL"))
+ (substitute* "lib/sigs.c"
+ (("execv\\(GOT_TAG") "execvp(GOT_TAG")
+ (("execv %s\", GOT_TAG") "execvp %s\", GOT_TAG"))
+ #t)))))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: f5449685143be0805a8a9b54ddecee94e368c6e9
--
2.46.0
A
A
Ashish SHUKLA wrote on 12 Sep 16:02 +0200
retitle
(address . control@debbugs.gnu.org)
D44D0WAIFTJS.2T9Y0194QSXM@lostca.se
retitle 71764 [PATCH v7] gnu: Add got.
quit
L
L
Ludovic Courtès wrote on 17 Sep 17:36 +0200
Re: bug#71764: [PATCH v7] gnu: Add got.
(name . Ashish SHUKLA)(address . ashish.is@lostca.se)(address . 71764@debbugs.gnu.org)
875xqu9tsh.fsf_-_@gnu.org
Hi,

Ashish SHUKLA <ashish.is@lostca.se> skribis:

Toggle quote (4 lines)
> * gnu/packages/version-control.scm (got): New variable.
>
> Change-Id: I34d19d90ab36e8831fa88668676aa2399356b002

[...]

Toggle quote (2 lines)
> +(define-public got

[...]

Toggle quote (9 lines)
> + (inputs
> + `(("libevent" ,libevent)
> + ("libuuid" ,util-linux "lib")
> + ("zlib" ,zlib)
> + ("libressl" ,libressl)
> + ("libmd" ,libmd)
> + ("libbsd" ,libbsd)
> + ("ncurses" ,ncurses)))

Please run ‘guix style -S inputs --input-simplification=always got’.

Toggle quote (4 lines)
> + `(;; disable runpath validation, courtesy: libbsd's special
> + ;; treatment of libmd
> + #:validate-runpath? #f

It isn’t clear from the comment why RUNPATH validation is disabled, and
there has to be a very good reason because usually any problem it
detects is going to be an issue at run time.

Could you double-check?

Toggle quote (3 lines)
> + #:configure-flags
> + '("CFLAGS=-DGOT_DIAL_PATH_SSH=\\\"ssh\\\" -DGOT_TAG_PATH_SSH_KEYGEN=\\\"ssh-keygen\\\" -DGOT_TAG_PATH_SIGNIFY=\\\"signify\\\"")

Please wrap lines to 80 characters.

Also, setting CFLAGS like this runs the risk of overriding the default,
which are usually “-O2 -g”, and thus building without optimizations.

Could you check whether this is the case and perhaps add “-O2 -g”?

Toggle quote (12 lines)
> + #:phases ,#~(modify-phases %standard-phases
> + (add-after 'unpack 'patch-execv-to-execvp
> + (lambda _
> + ;; got sources has paths hardcoded to /usr/bin
> + (substitute* "lib/dial.c"
> + (("execv\\(GOT_DIAL_") "execvp(GOT_DIAL_")
> + (("execv %s\", GOT_DIAL") "execvp %s\", GOT_DIAL"))
> + (substitute* "lib/sigs.c"
> + (("execv\\(GOT_TAG") "execvp(GOT_TAG")
> + (("execv %s\", GOT_TAG") "execvp %s\", GOT_TAG"))
> + #t)))))

Please remove the trailing #t.

Could you send an updated patch?

Thanks,
Ludo’.
A
A
Ashish SHUKLA wrote on 17 Sep 22:31 +0200
[PATCH v8] gnu: Add got.
(address . 71764@debbugs.gnu.org)(name . Ashish SHUKLA)(address . ashish.is@lostca.se)
ee60eaf663fc978ef7ace5788665971736bd0515.1726605102.git.ashish.is@lostca.se
* gnu/packages/version-control.scm (got): New variable.

Change-Id: I34d19d90ab36e8831fa88668676aa2399356b002
---
Hi,

Following changes are made in this revision:

- guix style -S inputs --input-simplification=always got

- switched configure-flags to make-flags, and split CFLAGS in multiple values

- removed the trailing #t

Thanks for reviewing.

gnu/packages/version-control.scm | 52 ++++++++++++++++++++++++++++++++
1 file changed, 52 insertions(+)

Toggle diff (88 lines)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 3bec28c4f7..5ab577d3cf 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -57,6 +57,7 @@
;;; Copyright © 2024 Suhail Singh <suhail@bayesians.ca>
;;; Copyright © 2024 Simon Tournier <zimon.toutoune@gmail.com>
;;; Copyright © 2024 Javier Olaechea <pirata@gmail.com>
+;;; Copyright © 2024 Ashish SHUKLA <ashish.is@lostca.se>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -103,6 +104,7 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages cook)
#:use-module (gnu packages crates-io)
#:use-module (gnu packages crates-vcs)
+ #:use-module (gnu packages crypto)
#:use-module (gnu packages curl)
#:use-module (gnu packages databases)
#:use-module (gnu packages docbook)
@@ -125,6 +127,8 @@ (define-module (gnu packages version-control)
#:use-module (gnu packages guile-xyz)
#:use-module (gnu packages image)
#:use-module (gnu packages imagemagick)
+ #:use-module (gnu packages libbsd)
+ #:use-module (gnu packages libevent)
#:use-module (gnu packages linux)
#:use-module (gnu packages mail)
#:use-module (gnu packages man)
@@ -964,6 +968,54 @@ (define-public git-tools
@end itemize")
(license license:gpl3+)))
+(define-public got
+ (package
+ (name "got")
+ (version "0.103")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gameoftrees.org/releases/portable/got-portable-"
+ version ".tar.gz"))
+ (sha256
+ (base32
+ "0y18961xrj4rja850i31gadiaps2qnkfb4jlramlz9akyf9mwh1j"))))
+ (inputs
+ (list libevent
+ `(,util-linux "lib")
+ zlib
+ libressl
+ libmd
+ libbsd
+ ncurses))
+ (native-inputs
+ (list pkg-config perl))
+ (arguments
+ `(;; disable runpath validation, courtesy: libbsd's special
+ ;; treatment of libmd, as it embeds path to libmd.so
+ #:validate-runpath? #f
+ ;; default values of GOT_*_PATH_* point to /usr/bin
+ #:make-flags
+ '("CFLAGS+=-DGOT_DIAL_PATH_SSH=\\\"ssh\\\""
+ "CFLAGS+=-DGOT_TAG_PATH_SSH_KEYGEN=\\\"ssh-keygen\\\""
+ "CFLAGS+=-DGOT_TAG_PATH_SIGNIFY=\\\"signify\\\"")
+ #:phases ,#~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-execv-to-execvp
+ (lambda _
+ ;; got sources has paths hardcoded to /usr/bin
+ (substitute* "lib/dial.c"
+ (("execv\\(GOT_DIAL_") "execvp(GOT_DIAL_")
+ (("execv %s\", GOT_DIAL") "execvp %s\", GOT_DIAL"))
+ (substitute* "lib/sigs.c"
+ (("execv\\(GOT_TAG") "execvp(GOT_TAG")
+ (("execv %s\", GOT_TAG") "execvp %s\", GOT_TAG")))))))
+ (build-system gnu-build-system)
+ (synopsis "Distributed version control system")
+ (description
+ "Game of Trees (Got) is a version control system which prioritizes ease of use
+and simplicity over flexibility.")
+ (license license:bsd-3)
+ (home-page "https://gameoftrees.org/")))
+
(define-public xdiff
(let ((revision "0")
(commit "a137bc7ee6c76618ed1737c257548eaa10ac0089"))

base-commit: 5bc1fff8f1d1bd68be3183e64b06c8b85f60d96b
--
2.46.1
A
A
Andreas Enge wrote on 30 Sep 14:19 +0200
Close
(address . 71764-done@debbugs.gnu.org)
ZvqXXFphGQ_1wqp2@jurong
Pushed after correcting the license (it is isc, not bsd-3) and truncating
a long line.

Thanks!

Andreas
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 71764@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 71764
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch