GNU bug report logs -
#29976
[PATCH] gnu: Add git-subtree.
Previous Next
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 29976 in the body.
You can then email your comments to 29976 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#29976
; Package
guix-patches
.
(Thu, 04 Jan 2018 12:28:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Thu, 04 Jan 2018 12:28:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/version-control.scm (git-subtree): New variable.
---
gnu/packages/version-control.scm | 28 +++++++++++++++++++++++++++-
1 file changed, 27 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index cbf5ce7d8..d4c8acb51 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -8,7 +8,7 @@
;;; Copyright © 2014, 2016 Eric Bavier <bavier <at> member.fsf.org>
;;; Copyright © 2015, 2016, 2017 Efraim Flashner <efraim <at> flashner.co.il>
;;; Copyright © 2015 Kyle Meyer <kyle <at> kyleam.com>
-;;; Copyright © 2015, 2017 Ricardo Wurmus <rekado <at> elephly.net>
+;;; Copyright © 2015, 2017, 2018 Ricardo Wurmus <rekado <at> elephly.net>
;;; Copyright © 2016, 2017 Leo Famulari <leo <at> famulari.name>
;;; Copyright © 2016, 2017 ng0 <contact.ng0 <at> cryptolab.net>
;;; Copyright © 2017 Tobias Geerinckx-Rice <me <at> tobias.gr>
@@ -50,6 +50,7 @@
#:use-module (gnu packages autotools)
#:use-module (gnu packages documentation)
#:use-module (gnu packages base)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages bison)
#:use-module (gnu packages boost)
#:use-module (gnu packages cook)
@@ -375,6 +376,31 @@ everything from small to very large projects with speed and efficiency.")
(license license:gpl2)
(home-page "https://git-scm.com/")))
+(define-public git-subtree
+ (package (inherit git)
+ (name "git-subtree")
+ (outputs '("out"))
+ (arguments
+ `(#:make-flags
+ (list (string-append "prefix=" (assoc-ref %outputs "out"))
+ (string-append "SHELL_PATH="
+ (assoc-ref %build-inputs "bash")
+ "/bin/sh"))
+ ;; Don't run tests because this assumes that we've built git in a
+ ;; parent directory.
+ #:tests? #f
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'configure
+ (lambda _ (chdir "contrib/subtree"))))))
+ (native-inputs
+ `(("bash" ,bash)))
+ (inputs '())
+ (synopsis "Merge git subtrees and split repository into subtrees")
+ (description "This package provides the @code{subtree} subcommand for git.
+Subtrees allow subprojects to be included within a subdirectory of the main
+project, optionally including the subproject's entire history.")))
+
(define-public libgit2
(package
(name "libgit2")
--
2.15.1
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29976
; Package
guix-patches
.
(Thu, 04 Jan 2018 18:03:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 29976 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Jan 04, 2018 at 01:26:35PM +0100, Ricardo Wurmus wrote:
> * gnu/packages/version-control.scm (git-subtree): New variable.
Why not include this in the regular Git package?
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29976
; Package
guix-patches
.
(Thu, 04 Jan 2018 21:29:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 29976 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> writes:
> On Thu, Jan 04, 2018 at 01:26:35PM +0100, Ricardo Wurmus wrote:
>> * gnu/packages/version-control.scm (git-subtree): New variable.
>
> Why not include this in the regular Git package?
I just wanted to use git-subtree without having to rebuild all packages
that use git for fetching the sources.
We could make this part of the regular git package, but only on
(the next) core-updates.
--
Ricardo
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29976
; Package
guix-patches
.
(Thu, 04 Jan 2018 21:50:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 29976 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Jan 04, 2018 at 10:28:18PM +0100, Ricardo Wurmus wrote:
>
> Leo Famulari <leo <at> famulari.name> writes:
>
> > On Thu, Jan 04, 2018 at 01:26:35PM +0100, Ricardo Wurmus wrote:
> >> * gnu/packages/version-control.scm (git-subtree): New variable.
> >
> > Why not include this in the regular Git package?
>
> I just wanted to use git-subtree without having to rebuild all packages
> that use git for fetching the sources.
>
> We could make this part of the regular git package, but only on
> (the next) core-updates.
I didn't realize this was an issue. We update the Git package whenever
there is a new release.
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29976
; Package
guix-patches
.
(Thu, 04 Jan 2018 21:55:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 29976 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Thu, Jan 04, 2018 at 04:49:51PM -0500, Leo Famulari wrote:
> > I just wanted to use git-subtree without having to rebuild all packages
> > that use git for fetching the sources.
> >
> > We could make this part of the regular git package, but only on
> > (the next) core-updates.
>
> I didn't realize this was an issue. We update the Git package whenever
> there is a new release.
Thinking about it for another minute, shouldn't those packages not need
to be rebuilt, since origins are fixed-output derivations?
[signature.asc (application/pgp-signature, inline)]
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29976
; Package
guix-patches
.
(Fri, 05 Jan 2018 06:51:02 GMT)
Full text and
rfc822 format available.
Message #20 received at 29976 <at> debbugs.gnu.org (full text, mbox):
Leo Famulari <leo <at> famulari.name> writes:
> On Thu, Jan 04, 2018 at 04:49:51PM -0500, Leo Famulari wrote:
>> > I just wanted to use git-subtree without having to rebuild all packages
>> > that use git for fetching the sources.
>> >
>> > We could make this part of the regular git package, but only on
>> > (the next) core-updates.
>>
>> I didn't realize this was an issue. We update the Git package whenever
>> there is a new release.
>
> Thinking about it for another minute, shouldn't those packages not need
> to be rebuilt, since origins are fixed-output derivations?
Yes, you are right. I didn’t think of this.
So, I’m going to add this as a phase to the git package.
--
Ricardo
Information forwarded
to
guix-patches <at> gnu.org
:
bug#29976
; Package
guix-patches
.
(Mon, 23 Apr 2018 13:02:02 GMT)
Full text and
rfc822 format available.
Message #23 received at 29976 <at> debbugs.gnu.org (full text, mbox):
Hello,
Any update on this one?
Ludo'.
Reply sent
to
Gábor Boskovits <boskovits <at> gmail.com>
:
You have taken responsibility.
(Mon, 25 Jun 2018 10:07:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ricardo Wurmus <ricardo.wurmus <at> mdc-berlin.de>
:
bug acknowledged by developer.
(Mon, 25 Jun 2018 10:07:02 GMT)
Full text and
rfc822 format available.
Message #28 received at 29976-done <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Should be done as part of git build.
[Message part 2 (text/html, inline)]
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 23 Jul 2018 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 5 years and 279 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.