From b23e24329da58e15cc5098c569e90bd3c32cca33 Mon Sep 17 00:00:00 2001 From: Darren Salt Date: Sun, 15 Apr 2007 03:24:03 +0100 Subject: Document the preferred ways of submitting patches. --- doc/faq/faq.sgml | 44 ++++++++++++++++++++++++++++++++++++-------- 1 file changed, 36 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/faq/faq.sgml b/doc/faq/faq.sgml index 6abc6a9ab..9743cf361 100644 --- a/doc/faq/faq.sgml +++ b/doc/faq/faq.sgml @@ -128,14 +128,6 @@ Currently, only xine-lib and gxine are present here. - - If you have patches for a module which is maintained using mercurial, - you can make them available as diffs - use hg - export for this - or via HTTP by using hg - serve. In the latter case, you'll need to post a URL from - which a developer can pull the changes. We prefer these methods since - we get proper attribution this way. - Checking out xine modules from CVS @@ -150,10 +142,46 @@ If you want xine-lib or gxine, you should use Mercurial instead. + The CVS repositories for these are not maintained. + + How do I submit patches? + + First, make sure that you're using a current development version + (see above) or at least the current release version. Then, once you're + ready to send the patch... + + + Generate your patch using either cvs diff -u > + my.patch or hg diff > my.patch (as + appropriate). Make sure that your message subject briefly describes the + patch; your message body should contain a longer description of the + patch. Your patch should be applicable using patch -p0 -i + my.patch or, preferably, patch -p1 -i + my.patch from the top-level directory in the source tree + (i.e. where configure.ac is) - this is fairly important for our + Mercurial-based repositories since it makes importing your patch that + much easier (hg import defaults to -p1). + + + Alternatively, if you've been hacking away at a module which is + maintained using mercurial, you can make them available as diffs - use + hg export or, if you have several patches, you could + use hg bundle instead (both require extra + parameters; hg help export and hg help + bundle for more details) - or via HTTP by using hg + serve. In the latter case, you'll need to post a URL from + which a developer can pull the changes. + + + Patches should normally be sent to the xine-devel mailing list, + xine-devel@lists.sourceforge.net. + + + Why is gxine's CVS module named "gnome-xine"? -- cgit v1.2.3