From: Douglas Schilling Landgraf <dougsland@gmail.com>
To: Hans Verkuil <hverkuil@xs4all.nl>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>,
Linux Media Mailing List <linux-media@vger.kernel.org>
Subject: Re: [ANNOUNCE] git tree repositories
Date: Tue, 19 Jan 2010 13:54:21 -0200 [thread overview]
Message-ID: <4B55D5AD.2030108@gmail.com> (raw)
In-Reply-To: <201001190853.11050.hverkuil@xs4all.nl>
Hello Hans,
n 01/19/2010 05:53 AM, Hans Verkuil wrote:
> On Tuesday 19 January 2010 06:34:18 Mauro Carvalho Chehab wrote:
>
>> Hi,
>>
>> Today, a step to the future was given, in order to help developers to better
>> do their work: the addition of -git support at linuxtv.org server.
>>
>> This is one idea that is being recurrent along the last years: to start using -git
>> as our primary resource for managing the patches at the development[1].
>>
>> At the beginning, the usage CVS for of a SCM (Source Code Management) were
>> choosen on V4L/DVB. Both of the original V4L and DVB trees were developed with the
>> help of cvs. On that time, upstream Linux kernel used to have another tree (BitKeeper).
>>
>> In 2005, both V4L and DVB trees got merged into one cvs repository, and we've
>> discussed about what would be the better SCM solution. We've discussed more
>> about using svn, hg and git. On that time, both hg and git were new technologies,
>> based on the concept of a distributed SCM, where you don't need to go to the
>> server every time you're doing a command at the SCM.
>>
>> Yet, Mercurial were more stable and used, while -git were giving his first
>> steps[2], being used almost only by the Linux Kernel, and several distros didn't use
>> to package it. Git objects were stored uncompressed, generating very large
>> trees. Also, -git tools were complex to use, and some "porcelain" packages were
>> needed, in order to be used by a normal user.
>>
>> So, the decision was made to use mercurial. However, as time goes by, -git got much
>> more eyes than any other SCM, having all their weakness solved, and being developed
>> really fast. Also, it got adopted by several other projects, due to its capability
>> and its number of features.
>>
>> Technically speaking, -git is currently the most advanced distributed open-source
>> SCM application I know.
>>
>> Yet, Mercurial has been doing a very good job maintaining the V4L/DVB trees, and, except
>> for a few points, it does the job.
>>
>> However, the entire Linux Kernel development happens around -git. Even the ones that
>> were adopting other tools (like -alsa, that used to have also Mercurial repositories)
>> migrated to -git.
>>
>> Despite all technical advantages, the rationale for the migration is quite simple:
>> converting patches between different repositories and SCM tools cause development
>> and merge delays, may cause patch mangling and eats lot of the time for people
>> that are part of the process.
>>
>> Also, every time a patch needs to touch on files outside the incomplete tree
>> used at the subsystem, an workaround need to be done, in order to avoid troubles
>> and to be able to send the patch upstream.
>>
>> So, it is simpler to just use -git.
>>
>> Due to all the above reasons, I took some time to add -git support at linuxtv servers.
>> Both http and git methods to retrieve trees were enabled.
>>
>> The new trees will be available at:
>> http://linuxtv.org/git/
>>
>> The merge tree, where all submitted patches will be merged, before sending upstream is:
>> http://linuxtv.org/git?p=v4l-dvb.git;a=summary
>>
>> This tree is basically a clone of Linus tree, so it runs the latest development kernel.
>> It is also (almost) in sync with our -hg tree (needing just a few adjustments).
>>
>> The above tree will never be rebased, so it should be safe to use it for development.
>>
>> I'll basically merge there all patches I receive. It is OK to submit patches against -hg,
>> since I can still run my old conversion stripts to convert them to -git. However, as
>> the conversion script is not fast (it takes between 15-30 secs to convert a single patch
>> to -git, since it needs to re-generate the entire tree with v4l/scripts/gentree.pl, for
>> ever patch), I kindly ask you to prefer submit me patches directly to -git.
>>
>> With respect to the -hg tree with the out-of-tree building system, We really want to
>> keep having a way to allow running the drivers with kernels other than the latest -rc
>> one, for both development and testing.
>>
>> As you all know, the number of drivers and the average number of merges per day is being
>> increasing, among with more complexity on some drivers that also touches arch and other
>> files outside drivers/media tree. Due to that, lots of my current time is devoted to keep
>> -hg and -git in sync, distracting me from my develoment and maintanership tasks to do it.
>> So, I simply don't have more time to keep maintaining both -hg and -git.
>>
>> Due to that, I'm delegating the task of keeping -hg in sync with upstream and backporting
>> patches to run on older kernels to another person: Douglas has offered his help to keep
>> the tree synchronized with the -git tree, and to add backport support.
>>
>> He already started doing that, fixing some incompatibility troubles between some drivers
>> and older kernels.
>>
> Mauro, I just wanted to thank you for doing all the hard work in moving to git!
>
> And a big 'thank you' to Douglas as well for taking over hg maintenance!
>
You are welcome!
> I do have one proposal: parts of our hg tree are independent of git: v4l2-apps,
> possibly some firmware build code (not 100% sure of that), v4l_experimental,
> perhaps some documentation stuff. My proposal is that we make a separate hg
> or git tree for those. It will make it easier to package by distros and it makes it
> easier to maintain v4l2-apps et al as well. It might even simplify Douglas's work
> by moving non-essential code out of the compat hg tree.
>
> I'll be updating my daily build scripts to start using git soon (I'll keep using
> hg for the older kernels of course).
>
>
Thanks for doing the daily build email, helps a lot. Also, helps bring
more people involved with the
subsystem.
Cheers,
Douglas
next prev parent reply other threads:[~2010-01-19 15:54 UTC|newest]
Thread overview: 91+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-19 5:34 [ANNOUNCE] git tree repositories Mauro Carvalho Chehab
2010-01-19 7:53 ` Hans Verkuil
2010-01-19 8:10 ` Patrick Boettcher
2010-01-19 11:20 ` Johannes Stezenbach
2010-01-19 11:49 ` Patrick Boettcher
2010-01-19 12:44 ` Mauro Carvalho Chehab
2010-01-20 8:04 ` Markus Heidelberg
2010-01-20 15:11 ` Mauro Carvalho Chehab
2010-01-19 11:55 ` Mauro Carvalho Chehab
2010-01-19 23:38 ` Andy Walls
2010-01-20 1:10 ` hermann pitton
2010-01-20 3:29 ` Andy Walls
2010-01-20 3:29 ` Mauro Carvalho Chehab
2010-01-20 4:08 ` Andy Walls
2010-01-20 15:05 ` Mauro Carvalho Chehab
2010-01-20 11:43 ` BOUWSMA Barry
2010-01-20 10:19 ` BOUWSMA Barry
2010-01-19 11:08 ` Mauro Carvalho Chehab
2010-01-20 8:36 ` [ANNOUNCE] git tree repositories & libv4l Hans de Goede
2010-01-20 8:55 ` Hans Verkuil
2010-01-20 15:41 ` Mauro Carvalho Chehab
2010-01-20 18:50 ` Hans de Goede
2010-01-20 21:07 ` Brandon Philips
2010-01-21 2:07 ` Mauro Carvalho Chehab
2010-01-21 2:46 ` Brandon Philips
2010-01-21 7:34 ` Hans Verkuil
2010-01-21 20:15 ` Mauro Carvalho Chehab
2010-01-23 17:24 ` Hans de Goede
2010-02-22 22:54 ` Brandon Philips
2010-02-22 23:26 ` Hans Verkuil
2010-02-22 23:38 ` Brandon Philips
2010-02-23 0:41 ` Mauro Carvalho Chehab
2010-02-23 1:12 ` Mauro Carvalho Chehab
2010-02-23 8:04 ` Brandon Philips
2010-02-23 13:37 ` Mauro Carvalho Chehab
2010-02-23 9:45 ` Manu Abraham
2010-02-23 11:20 ` Mauro Carvalho Chehab
2010-02-24 2:32 ` hermann pitton
2010-02-23 11:20 ` Manu Abraham
2010-02-23 8:49 ` Hans de Goede
2010-02-23 9:01 ` Hans Verkuil
2010-02-23 9:23 ` Hans de Goede
2010-02-23 9:38 ` Manu Abraham
2010-02-23 12:21 ` Mauro Carvalho Chehab
2010-02-23 13:07 ` Manu Abraham
2010-02-23 13:36 ` Mauro Carvalho Chehab
2010-02-23 14:09 ` Manu Abraham
2010-02-23 12:10 ` Mauro Carvalho Chehab
2010-02-23 11:49 ` Mauro Carvalho Chehab
2010-02-23 15:37 ` Mauro Carvalho Chehab
2010-02-23 15:51 ` Hans de Goede
2010-02-24 0:58 ` Mauro Carvalho Chehab
2010-02-24 12:55 ` Hans de Goede
2010-02-24 13:40 ` Hans Verkuil
2010-02-24 13:42 ` Mauro Carvalho Chehab
2010-02-24 14:32 ` Brandon Philips
2010-02-25 10:52 ` Hans de Goede
2010-02-24 6:05 ` Brandon Philips
2010-02-24 12:44 ` Hans de Goede
2010-02-24 13:26 ` Mauro Carvalho Chehab
2010-02-24 14:29 ` Patrick Boettcher
2010-02-25 4:55 ` Douglas Schilling Landgraf
2010-01-21 7:23 ` Hans Verkuil
2010-01-21 20:04 ` Mauro Carvalho Chehab
2010-01-23 17:28 ` Hans de Goede
2010-01-24 0:42 ` Mauro Carvalho Chehab
2010-01-25 16:03 ` Hans de Goede
2010-01-20 9:43 ` Laurent Pinchart
2010-01-20 9:54 ` Paulo Assis
2010-01-20 10:43 ` libwecam & uvcdynctrl (was Re: [ANNOUNCE] git tree repositories & libv4l) Hans de Goede
2010-01-19 15:54 ` Douglas Schilling Landgraf [this message]
2010-01-19 8:04 ` [ANNOUNCE] git tree repositories Laurent Pinchart
2010-01-19 11:12 ` Mauro Carvalho Chehab
2010-01-19 11:50 ` Laurent Pinchart
2010-01-19 12:36 ` Mauro Carvalho Chehab
2010-01-19 10:04 ` Devin Heitmueller
2010-01-19 11:52 ` Patrick Boettcher
2010-01-19 12:39 ` Mauro Carvalho Chehab
2010-01-19 12:16 ` Mauro Carvalho Chehab
2010-01-19 21:21 ` Bob Cunningham
2010-01-19 22:37 ` hermann pitton
2010-01-20 13:54 ` Laurent Pinchart
2010-01-20 15:00 ` Mauro Carvalho Chehab
2010-01-19 12:56 ` Laurent Pinchart
2010-01-19 13:07 ` Mauro Carvalho Chehab
2010-01-19 13:12 ` Laurent Pinchart
2010-01-19 21:59 ` Johannes Stezenbach
2010-01-21 2:19 ` Mauro Carvalho Chehab
2010-01-21 2:53 ` Trent Piepho
2010-01-21 3:09 ` Mauro Carvalho Chehab
2010-01-20 19:09 ` Guennadi Liakhovetski
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=4B55D5AD.2030108@gmail.com \
--to=dougsland@gmail.com \
--cc=hverkuil@xs4all.nl \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@infradead.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.