FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 07-21-2010, 09:54 AM
Helmut Jarausch
 
Default how to "extract" a GIT repository

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
 
Old 07-21-2010, 08:45 PM
Kyle Bader
 
Default how to "extract" a GIT repository

> 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
 

Thread Tools




All times are GMT. The time now is 04:57 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org