Development: How to submit patches: Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
(Updated to match the new development model)
Line 1: Line 1:
=== Transition in maintainership ===
The master copy of the video4linux kernel subsystem is now maintained at http://www.linuxtv.org/downloads/video4linux/

On the 8th of March 2005, Gerd Knorr [http://marc.theaimsgroup.com/?l=linux-video&m=111028144108161=4 announced] that he was stepping down as the maintainer of the video4linux subsystem of the linux kernel. Gerd was responsible for coding a major part of the low-level drivers, his site at http://bytesex.org had been the hub of v4l development, and he had long served as the main quality assurance and relay for patches on the way to the kernel. In the mad scramble to come up with a workable development model, Johannes Stezenbach arranged for the development tree to be hosted at the LinuxTV.org site, and several developers stepped up to maintain the [http://cvs.linuxtv.org/cvs.php new CVS archive] there. By 10 June 2005, Mauro Carvalho Chehab made the following [http://marc.theaimsgroup.com/?l=linux-video&m=111841009912497 announcement]:


=== Video4linux snapshots available from linuxtv.org ===
=== Video4linux snapshots available from linuxtv.org ===

Announcement from Mauro Carvalho Chehab

10 June 2005


We are now publishing periodic snapshots (about once a month) at linuxtv.org. The main idea is to have "stable" snapshots on Linuxtv. You
We are now publishing periodic snapshots (about once a month) at linuxtv.org. The main idea is to have "stable" snapshots on Linuxtv. You
Line 16: Line 14:
I intend to send a first series of synchronizing patches to -mm this weekend. There is already a working first patch at the site.
I intend to send a first series of synchronizing patches to -mm this weekend. There is already a working first patch at the site.


=== The new development model ===
* The cvs tree at cvs.linuxtv.org is now the "master copy" of the video4linux subsystem.


The new development model is now in place. While there is still no official maintainer of the video4linux subsystem of the linux kernel, a reliable procedure is in place for doing quality assurance, collecting patches, and submitting them to the linux kernel.
* Patches should be built against video4linux cvs.


* The cvs tree at cvs.linuxtv.org is now the "master copy" of the video4linux subsystem
===How to get your changes into the mainline tree?===


* Patches should be built against video4linux cvs
# Post your patches to the video4linux mailing list[1] for review and testing by other people.
# Using [PATCH] at subject will help CVS maintainers to better handing it.
# Please edit also ChangeLog, including some comments about it.
# Every patch should have a line like '''Signed-off-by: Your name <name@yoursite.com>''' with name of people envolving on making it.
# Fix problems and repeat until everyone is happy ;)
# Maintainers will periodically submit changes to mainstream.


=== How to get your changes into the mainline tree ===

# Post your patches to the [https://www.redhat.com/mailman/listinfo/video4linux-list video4linux mailing list] for review and testing by other people
# Using [PATCH] in the subject line will help CVS maintainers spot it and provide feedback
# Please edit the main ChangeLog to explain what you did and reflect your contribution (see Documentation/SubmittingPatches for details)
# Reviewers should add a '''Signed-off-by: Your name <name@yoursite.com>''' when they approve a patch
# Fix any problems and repeat until everyone is happy ;)
# Maintainers will periodically submit changes to mainstream, mailing it to the following
## Linux kernel mailing list <linux-kernel@vger.kernel.org>
## Andrew Morton <akpm@osdl.org> (the maintainer of the -mm tree)
## Gerd Knorr <kraxel@bytesex.org>
## [https://www.redhat.com/mailman/listinfo/video4linux-list V4l mailing list]


Mauro
Mauro


Mauro Carvalho Chehab <mchehab at brturbo dot com dot br>
Mauro Carvalho Chehab <mchehab at brturbo dot com dot br>

=== Gerd Knorr steps down as kernel maintainer of video4linux ===
April 2005

Hi folks,

As you may have noticed on lkml and the v4l mailing list, I've stopped maintaining video4linux in the linux kernels. That means for submitting
patches:

* The cvs tree at cvs.bytesex.org is '''not''' the "master copy" of the video4linux subsystem any more. For the time being it is the 2.6 standard kernel. This may change if someone else decides to take over maintainance and handle it differently ...

* Patches should be built against the latest 2.6 kernel, not against video4linux cvs.

* I've accumulated a number of v4l patches in my inbox last month, didn't manage to process a single one of them so far due to limited time, and I suspect this isn't going to change in the future ...

===How to get your changes into the mainline tree?===

# Post your patches to the video4linux mailing list[1] for review and testing by other people. Fix problems and repeat until everyone is happy ;)
# Create a nice patch with changelog and everything, have a look at the Documentation/SubmittingPatches guidelines for the details. Make sure the patch applies fine against the latest kernel (preferably the latest -mm kernel).
# Submit the patch. Mail it to the kernel mailing list[2] and Andrew Morton[3] (the guy maintaining the -mm tree). It's fine to Cc: me here, that probably makes it easier to get the changes accepted because I can comment in case there are questions or objections from Andrew or other guys on the kernel list.

cheers,

Gerd


[1] [https://www.redhat.com/mailman/listinfo/video4linux-list V4l mailing list]

[2] Linux kernel mailing list <linux-kernel@vger.kernel.org>

[3] Andrew Morton <akpm@osdl.org>

Revision as of 18:45, 11 June 2005

Transition in maintainership

On the 8th of March 2005, Gerd Knorr announced that he was stepping down as the maintainer of the video4linux subsystem of the linux kernel. Gerd was responsible for coding a major part of the low-level drivers, his site at http://bytesex.org had been the hub of v4l development, and he had long served as the main quality assurance and relay for patches on the way to the kernel. In the mad scramble to come up with a workable development model, Johannes Stezenbach arranged for the development tree to be hosted at the LinuxTV.org site, and several developers stepped up to maintain the new CVS archive there. By 10 June 2005, Mauro Carvalho Chehab made the following announcement:

Video4linux snapshots available from linuxtv.org

We are now publishing periodic snapshots (about once a month) at linuxtv.org. The main idea is to have "stable" snapshots on Linuxtv. You can check it at:

http://www.linuxtv.org/downloads/video4linux/

The ChangeLog is also maintained at linuxtv.org. Our intention is to have one snapshot generated at the same time it is being submited to -mm series.

I intend to send a first series of synchronizing patches to -mm this weekend. There is already a working first patch at the site.

The new development model

The new development model is now in place. While there is still no official maintainer of the video4linux subsystem of the linux kernel, a reliable procedure is in place for doing quality assurance, collecting patches, and submitting them to the linux kernel.

  • The cvs tree at cvs.linuxtv.org is now the "master copy" of the video4linux subsystem
  • Patches should be built against video4linux cvs

How to get your changes into the mainline tree

  1. Post your patches to the video4linux mailing list for review and testing by other people
  2. Using [PATCH] in the subject line will help CVS maintainers spot it and provide feedback
  3. Please edit the main ChangeLog to explain what you did and reflect your contribution (see Documentation/SubmittingPatches for details)
  4. Reviewers should add a Signed-off-by: Your name <name@yoursite.com> when they approve a patch
  5. Fix any problems and repeat until everyone is happy ;)
  6. Maintainers will periodically submit changes to mainstream, mailing it to the following
    1. Linux kernel mailing list <linux-kernel@vger.kernel.org>
    2. Andrew Morton <akpm@osdl.org> (the maintainer of the -mm tree)
    3. Gerd Knorr <kraxel@bytesex.org>
    4. V4l mailing list

Mauro

Mauro Carvalho Chehab <mchehab at brturbo dot com dot br>