[gentoo-user] [OT] how to extract a GIT repository

2010-07-21 Thread Helmut Jarausch
Hi,

when I use a - type ebuild which accesses the source from a GIT 
repository this is stored under /usr/portage/distfiles/git-src/$PN
where $PN is the package name.

But one cannot look at the source files since these are in compressed 
form.
How can I setup a directory with the uncompressed sources.

I could use

ebuild PATH TO ebuild file unpack
and then look at /var/tmp/portage//work/

but is there a direct way (or how does portage do this)?

Many thanks for a hint,
Helmut.


-- 
Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany




Re: [gentoo-user] [OT] how to extract a GIT repository

2010-07-21 Thread Kyle Bader
 ebuild PATH TO ebuild file unpack
 and then look at /var/tmp/portage//work/

 but is there a direct way (or how does portage do this)?

I'm not sure how portage does this but the git directory is likely
bare which is why you don't see any branch files.  Try:  git clone
/usr/portage/distfiles/git-src/$PN /home/$PN

-- 

Kyle