* RPM to GIT tree integration?
@ 2009-02-06 17:05 Alex Bennee
2009-02-06 18:29 ` Daniel Barkalow
2009-02-07 5:57 ` James Davidson
0 siblings, 2 replies; 3+ messages in thread
From: Alex Bennee @ 2009-02-06 17:05 UTC (permalink / raw)
To: git
Hi,
This is a wild shot in the dark but I thought I'd better ask in case
some one has. Has anyone created a script/tool that can take a src RPM and
apply it's patches (in sequence) to an existing GIT tree?
In my case I just want a GIT tree for a vendor kernel. I could just
prep an SRC RPM and commit the thing wholesale into GIT and start
hacking but then I'd loose all the history benefits.
--
Alex, homepage: http://www.bennee.com/~alex/
CV: http://www.bennee.com/~alex/cv.php
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RPM to GIT tree integration?
2009-02-06 17:05 RPM to GIT tree integration? Alex Bennee
@ 2009-02-06 18:29 ` Daniel Barkalow
2009-02-07 5:57 ` James Davidson
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Barkalow @ 2009-02-06 18:29 UTC (permalink / raw)
To: Alex Bennee; +Cc: git
On Fri, 6 Feb 2009, Alex Bennee wrote:
> Hi,
>
> This is a wild shot in the dark but I thought I'd better ask in case
> some one has. Has anyone created a script/tool that can take a src RPM and
> apply it's patches (in sequence) to an existing GIT tree?
I haven't heard of one, but it would probably be easy to do with
git-fast-import; you could take a look at
contrib/fast-import/import-tars.perl.
> In my case I just want a GIT tree for a vendor kernel. I could just
> prep an SRC RPM and commit the thing wholesale into GIT and start
> hacking but then I'd loose all the history benefits.
I think the biggest benefit would actually be identifying the upstream
kernel that has the patches applied to it, which takes a certain amount of
inspection and familiarity with Linus's kernel repository, but not really
a tool.
-Daniel
*This .sig left intentionally blank*
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: RPM to GIT tree integration?
2009-02-06 17:05 RPM to GIT tree integration? Alex Bennee
2009-02-06 18:29 ` Daniel Barkalow
@ 2009-02-07 5:57 ` James Davidson
1 sibling, 0 replies; 3+ messages in thread
From: James Davidson @ 2009-02-07 5:57 UTC (permalink / raw)
To: Alex Bennee; +Cc: git
On Fri Feb 06, 2009 at 05:05:49PM +0000, Alex Bennee <kernel-hacker@bennee.com> wrote:
> This is a wild shot in the dark but I thought I'd better ask in case
> some one has. Has anyone created a script/tool that can take a src RPM and
> apply it's patches (in sequence) to an existing GIT tree?
This may be what you are looking for:
http://www.gnome.org/~federico/news-2008-07.html#rpm2git
> In my case I just want a GIT tree for a vendor kernel. I could just
> prep an SRC RPM and commit the thing wholesale into GIT and start
> hacking but then I'd loose all the history benefits.
There is also a "How to use rpm2git" screencast:
http://blip.tv/file/1155469
--
James Davidson (o_
james@greycastle.net //\
http://moria.greycastle.net/ V_/_
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-07 7:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-06 17:05 RPM to GIT tree integration? Alex Bennee
2009-02-06 18:29 ` Daniel Barkalow
2009-02-07 5:57 ` James Davidson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).