From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: kvm repository unification
Date: Tue, 20 Mar 2007 10:58:20 -0500 [thread overview]
Message-ID: <4600049C.7090905@codemonkey.ws> (raw)
In-Reply-To: <45FFF312.2030804-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Avi Kivity wrote:
> Arnd Bergmann wrote:
>
>> On Tuesday 20 March 2007, Avi Kivity wrote:
>>
>>
>>> How does that work with multiple developers?
>>>
>>>
>> You need a set of well-understood rules if more than one person
>> has commit access to the repository.
>>
>> The most simple rule would be that everyone just adds patches at
>> the end of the quilt series. When you submit something upstream,
>> you can then still decide to fold multiple patches.
>>
>>
>
> That essentially mimics the subversion workflow, where a commit is
> equivalent to appending a patch.
>
I find using a patch queue useful though for submitting things
upstream. A good example is our QEMU changes. It's a real pain to
break apart the SVN history into individual patches.
I tend to keep the patches in revision control too.
In the paravirt_ops queue, they keep a file that contains the changeset
ID of whatever the patches are based off of. That tends to help with
respect to going backwards in history.
>> As an extension, it is possible to allow changing a previous patch
>> by replacing it with a forked one. E.g. kvm-add-foo.patch can
>> get replaced by kvm-add-foo-2.patch, when that contains an improved
>> version.
>>
>>
>
> Ewww, diffs of patches! Better to have separate 'add cleanup patch' and
> 'fold-with-no-change' steps.
>
>
>> I've never tried the cherry pick approach, since my team for historic
>> reasons still uses CVS, which doesn't have changesets. If it works well
>> for you, I guess you shouldn't change.
>>
>>
>
> I'm mostly comfortable by now with git, but there are others here who
> are sweating blood over it, so I'm interested in alternatives.
>
Mercurial is *much* friendlier than git. Linus' tree is available via
mercurial too.
It should be pretty easy to maintain the KVM changes as a patch queue
against Linus' tree.
We could have Makefile magic too to clone a kernel/qemu tree and apply
the patch queue that a top level "make" still did the right thing.
Regards,
Anthony Liguori
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
next prev parent reply other threads:[~2007-03-20 15:58 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-03-20 12:13 kvm repository unification Avi Kivity
[not found] ` <45FFCFD7.5000107-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-20 12:21 ` Gregory Haskins
[not found] ` <45FF8B73.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-03-20 12:37 ` Avi Kivity
[not found] ` <45FFD598.2050403-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-20 12:58 ` Gregory Haskins
[not found] ` <45FF9418.BA47.005A.0-Et1tbQHTxzrQT0dZR+AlfA@public.gmane.org>
2007-03-20 13:02 ` Avi Kivity
[not found] ` <45FFDB50.7050105-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-20 13:10 ` Gregory Haskins
2007-03-20 13:20 ` Arnd Bergmann
[not found] ` <200703201420.10139.arnd-r2nGTMty4D4@public.gmane.org>
2007-03-20 13:40 ` Dor Laor
2007-03-20 13:46 ` Avi Kivity
[not found] ` <45FFE5AB.3030501-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-20 14:10 ` Anthony Liguori
[not found] ` <45FFEB6B.4090301-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-03-20 14:38 ` Avi Kivity
2007-03-20 14:37 ` Arnd Bergmann
[not found] ` <200703201537.35704.arnd-r2nGTMty4D4@public.gmane.org>
2007-03-20 14:43 ` Avi Kivity
[not found] ` <45FFF312.2030804-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-20 15:58 ` Anthony Liguori [this message]
[not found] ` <4600049C.7090905-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-03-20 16:03 ` Avi Kivity
[not found] ` <460005CE.4080406-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-03-20 19:36 ` Arnd Bergmann
[not found] ` <200703202036.33702.arnd-r2nGTMty4D4@public.gmane.org>
2007-03-21 12:49 ` Avi Kivity
2007-03-21 19:59 ` David Beal
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4600049C.7090905@codemonkey.ws \
--to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
--cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
--cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox