Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101905 - cogito need git
Summary: cogito need git
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Carlos Silva (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2005-08-09 14:55 UTC by Bertrand Jacquin
Modified: 2005-08-09 15:25 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bertrand Jacquin 2005-08-09 14:55:56 UTC
last cogito tarball (0.13) don't include git stuff, so dev-util/git need to be a
dependencies of cogito.
So cg-clone failed because git-read-tree is not found. (and others binary too)

Here is a patch for cogito ebuild :
--- cogito-0.13.ebuild	2005-08-09 16:35:40.000000000 +0200
+++ cogito-0.13-r1.ebuild	2005-08-09 23:50:35.000000000 +0200
@@ -15,8 +15,7 @@
 
 DEPEND="dev-libs/openssl
 	sys-libs/zlib
-	!dev-util/git
-	!app-misc/git
+	dev-util/git
 	doc? ( >=app-text/asciidoc-7.0.1 app-text/xmlto )"
 
 RDEPEND="net-misc/rsync

Also app-misc/git is a completely other application, so impact here, that's why
I removed it from DEPEND.

I think that git ebuild need to be updated too, there have been many changes
since 0.7 (last ebuild).

Reproducible: Always
Steps to Reproduce:
1. emerge -vat cogito
2. cg-clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
3. 

Actual Results:  
/usr/bin/cg-init: line 40: git-init-db: command not found
mkdir: Ne peut cr
Comment 1 Bertrand Jacquin 2005-08-09 14:55:56 UTC
last cogito tarball (0.13) don't include git stuff, so dev-util/git need to be a
dependencies of cogito.
So cg-clone failed because git-read-tree is not found. (and others binary too)

Here is a patch for cogito ebuild :
--- cogito-0.13.ebuild	2005-08-09 16:35:40.000000000 +0200
+++ cogito-0.13-r1.ebuild	2005-08-09 23:50:35.000000000 +0200
@@ -15,8 +15,7 @@
 
 DEPEND="dev-libs/openssl
 	sys-libs/zlib
-	!dev-util/git
-	!app-misc/git
+	dev-util/git
 	doc? ( >=app-text/asciidoc-7.0.1 app-text/xmlto )"
 
 RDEPEND="net-misc/rsync

Also app-misc/git is a completely other application, so impact here, that's why
I removed it from DEPEND.

I think that git ebuild need to be updated too, there have been many changes
since 0.7 (last ebuild).

Reproducible: Always
Steps to Reproduce:
1. emerge -vat cogito
2. cg-clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
3. 

Actual Results:  
/usr/bin/cg-init: line 40: git-init-db: command not found
mkdir: Ne peut créer le répertoire `.git/branches': Aucun fichier ou répertoire
de ce type
touch: ne peut faire un touch sur `.git/refs/heads/master': Aucun fichier ou
répertoire de ce type
/usr/bin/cg-init: line 44: git-read-tree: command not found
There is no GIT repository here (.git not found)
There is no GIT repository here (.git not found)
cg-clone: pull failed


Expected Results:  
You should have git installed, so result is :

cg-clone rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
defaulting to local storage area
warning: templates not found /root/share/git-core/templates/
MOTD:	
MOTD:	Welcome to the Linux Kernel Archive.
MOTD:	
MOTD:	Due to U.S. Exports Regulations, all cryptographic software on this
MOTD:	site is subject to the following legal notice:
MOTD:	
MOTD:	This site includes publicly available encryption source code
MOTD:	which, together with object code resulting from the compiling of
MOTD:	publicly available source code, may be exported from the United
MOTD:	States under License Exception "TSU" pursuant to 15 C.F.R. Section
MOTD:	740.13(e).
MOTD:	
MOTD:	This legal notice applies to cryptographic software only.
MOTD:	Please see the Bureau of Industry and Security,
MOTD:	http://www.bis.doc.gov/ for more information about current
MOTD:	U.S. regulations.
MOTD:	

receiving file list ... done
master

sent 147 bytes  received 863 bytes  404.00 bytes/sec
total size is 41  speedup is 0.04

receiving file list ... done
progress: 925 objects, 2687501 bytes, 100% done
info/
info/packs
pack/pack-011d837bd60b7e2544fa0f095ae4ca0d61c3c1ea.idx
pack/pack-011d837bd60b7e2544fa0f095ae4ca0d61c3c1ea.pack
pack/pack-c60dc6f7486e34043bd6861d6b2c0d21756dde76.idx
pack/pack-c60dc6f7486e34043bd6861d6b2c0d21756dde76.pack
pack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.idx
pack/pack-e3117bbaf6a59cb53c3f6f0d9b17b9433f0e4135.pack

sent 20627 bytes  received 87030000 bytes  229382.42 bytes/sec
total size is 86926998  speedup is 1.00

receiving file list ... done
v2.6.11
v2.6.11-tree
v2.6.12
v2.6.12-rc2
v2.6.12-rc3
v2.6.12-rc4
v2.6.12-rc5
v2.6.12-rc6
v2.6.13-rc1
v2.6.13-rc2
v2.6.13-rc3
v2.6.13-rc4
v2.6.13-rc5
v2.6.13-rc6

sent 427 bytes  received 2193 bytes  1048.00 bytes/sec
total size is 574  speedup is 0.22
New branch: db29e85a7ece62de1899917c1ec0ffe55cf1d3a0
Cloned to linux-2.6/ (origin
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git
available as branch "origin")
Comment 2 Carlos Silva (RETIRED) gentoo-dev 2005-08-09 15:25:24 UTC
was already in the works when you file the bug :)
thx for reporting anyway. :) it's in cvs now