* [gentoo-user] [OT] how to "extract" a GIT repository
@ 2010-07-21 9:54 Helmut Jarausch
2010-07-21 20:45 ` Kyle Bader
0 siblings, 1 reply; 2+ messages in thread
From: Helmut Jarausch @ 2010-07-21 9:54 UTC (permalink / raw
To: gentoo-user
Hi,
when I use a -9999 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [gentoo-user] [OT] how to "extract" a GIT repository
2010-07-21 9:54 [gentoo-user] [OT] how to "extract" a GIT repository Helmut Jarausch
@ 2010-07-21 20:45 ` Kyle Bader
0 siblings, 0 replies; 2+ messages in thread
From: Kyle Bader @ 2010-07-21 20:45 UTC (permalink / raw
To: gentoo-user
> 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-07-21 21:08 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-21 9:54 [gentoo-user] [OT] how to "extract" a GIT repository Helmut Jarausch
2010-07-21 20:45 ` Kyle Bader
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox