GNU bug report logs -
#26823
[PATCH] gnu: Add git-repo.
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 26823 in the body.
You can then email your comments to 26823 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#26823
; Package
guix-patches
.
(Sun, 07 May 2017 21:44:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Sun, 07 May 2017 21:44:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/android.scm (git-repo): New variable.
---
gnu/packages/android.scm | 58 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 58 insertions(+)
diff --git a/gnu/packages/android.scm b/gnu/packages/android.scm
index e23d0fd..23ffa2b 100644
--- a/gnu/packages/android.scm
+++ b/gnu/packages/android.scm
@@ -3,6 +3,7 @@
;;; Copyright © 2015 Kai-Chung Yan <seamlikok <at> gmail.com>
;;; Copyright © 2016 Marius Bakke <mbakke <at> fastmail.com>
;;; Copyright © 2017 Julien Lepiller <julien <at> lepiller.eu>
+;;; Copyright © 2017 Hartmut Goebel <h.goebel <at> crazy-compilers.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -23,8 +24,11 @@
#:use-module (guix packages)
#:use-module (guix git-download)
#:use-module (guix build-system gnu)
+ #:use-module (guix build-system python)
#:use-module ((guix licenses) #:prefix license:)
#:use-module (gnu packages)
+ #:use-module (gnu packages python)
+ #:use-module (gnu packages version-control)
#:use-module (gnu packages tls))
;; The Makefiles that we add are largely based on the Debian
@@ -298,3 +302,57 @@ with an emulator instance or connected Android device. It facilitates a variety
of device actions, such as installing and debugging apps, and it provides access
to a Unix shell that can run commands on the connected device or emulator.")
(license license:asl2.0)))
+
+(define-public git-repo
+ (package
+ (name "git-repo")
+ (version "1.12.37")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://gerrit.googlesource.com/git-repo")
+ (commit (string-append "v" version))))
+ (file-name (string-append "git-repo-" version "-checkout"))
+ (sha256
+ (base32 "0qp7jqhblv7xblfgpcq4n18dyjdv8shz7r60c3vnjxx2fngkj2jd"))))
+ (build-system python-build-system)
+ (arguments
+ `(#:python ,python-2
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'build
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (repo-dir (string-append out "/share/" ,name)))
+ (substitute* "repo"
+ (("^repodir = '\\.repo'")
+ (string-append "repodir = '" repo-dir "'"))
+ (("^S_repo = 'repo'") "S_repo = '.'"))
+ #t
+ )))
+ (replace 'check
+ (lambda _
+ (zero? (system* "python" "-m" "nose"))))
+ (replace 'install
+ (lambda* (#:key outputs #:allow-other-keys)
+ (let* ((out (assoc-ref outputs "out"))
+ (bin-dir (string-append out "/bin"))
+ (repo-dir (string-append out "/share/" ,name)))
+ (mkdir-p bin-dir)
+ (mkdir-p repo-dir)
+ (copy-recursively "." repo-dir)
+ (delete-file-recursively (string-append repo-dir "/tests"))
+ (symlink (string-append repo-dir "/repo")
+ (string-append bin-dir "/repo"))))))))
+ (native-inputs
+ `(("nose" ,python2-nose)
+ ("git" ,git)))
+ (home-page "https://code.google.com/p/git-repo/")
+ (synopsis "Helps to manage many Git repositories.")
+ (description "Repo is a tool built on top of Git. Repo helps manage many
+Git repositories, does the uploads to revision control systems, and automates
+parts of the development workflow. Repo is not meant to replace Git, only to
+make it easier to work with Git. The repo command is an executable Python
+script that you can put anywhere in your path.")
+ (license license:asl2.0)))
--
2.7.4
Reply sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
You have taken responsibility.
(Sun, 07 May 2017 21:48:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
Hartmut Goebel <h.goebel <at> crazy-compilers.com>
:
bug acknowledged by developer.
(Sun, 07 May 2017 21:48:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 26823-close <at> debbugs.gnu.org (full text, mbox):
duplicate, see https://debbugs.gnu.org/cgi/bugreport.cgi?bug=26822
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Mon, 05 Jun 2017 11:24:05 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
outlook user <RACP <at> outlook.fr>
to
control <at> debbugs.gnu.org
.
(Thu, 03 Oct 2024 12:07:01 GMT)
Full text and
rfc822 format available.
Information forwarded
to
guix-patches <at> gnu.org
:
bug#26823
; Package
guix-patches
.
(Thu, 03 Oct 2024 12:11:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 26823 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
________________________________
De : outlook user <RACP <at> outlook.fr>
Envoyé : jeudi 3 octobre 2024 14:03
À : 26823 <at> debbugs.gnu.org <26823 <at> debbugs.gnu.org>; 26822 <at> debbugs.gnu.org <26822 <at> debbugs.gnu.org>; 42800 <at> debbugs.gnu.org <42800 <at> debbugs.gnu.org>; 26823 <at> debbugs.gnu.org <26823 <at> debbugs.gnu.org>
Objet : RE: [PATCH v2] gnu: Add git-repo (guix android-repo-download).
________________________________
De : outlook user <RACP <at> outlook.fr>
Envoyé : dimanche 29 septembre 2024 17:48
À : 26823 <at> debbugs.gnu.org <26823 <at> debbugs.gnu.org>; 26822 <at> debbugs.gnu.org <26822 <at> debbugs.gnu.org>; 42800 <at> debbugs.gnu.org <42800 <at> debbugs.gnu.org>; 26823 <at> debbugs.gnu.org <26823 <at> debbugs.gnu.org>
Objet : Re: [PATCH v2] gnu: Add git-repo (guix android-repo-download).
This lacks mandatory python-formatter dependency
[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
.
(Fri, 01 Nov 2024 11:24:08 GMT)
Full text and
rfc822 format available.
bug unarchived.
Request was from
outlook user <RACP <at> outlook.fr>
to
control <at> debbugs.gnu.org
.
(Sat, 09 Nov 2024 17:18:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 08 Dec 2024 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 245 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.