[Xapian-devel] Test of Search::Xapian::Writable Database, and how to send a patch
Richard Boulton
richard at lemurconsulting.com
Mon Apr 13 21:27:07 BST 2009
On Tue, Apr 14, 2009 at 05:21:36AM +0900, Kosei MORIYAMA wrote:
> I'm Kosei MORIYAMA. I'm a student application gsoc 2009, Xapian and
> SWIG project.
>
> I wrote a test, search-xapian/t/writable database.t , which tests
> methods of Search::Xapian::Writable Database, replace_document,
> replace_document_by_term, delete_document and delete_document_by_term.
>
> Then I thought to send a patch of this test to be reviewed. Following
> xapian-core/HACKING file's 'Submitting Patches' section, run following
> command,
>
> $ svn diff > writable database.diff
>
> and attach this file to this mail.
Thanks for the patch.
> Is this correct way of sending patch? And Do I need to send any other
> information about this patch?
The best thing to do with patches is to make a ticket for them in our trac
instance (at http://trac.xapian.org/). This way, they don't get lost and
forgotten. Also, large patches may not be accepted by the mailing list
software (it has a size limit, though I can't remember how large that limit
is off-hand).
Generally, with a patch you should include an explanation of why the patch
is a good idea. In this case, I don't think there's anything obvious extra
that needs to be included.
--
Richard
More information about the Xapian-devel
mailing list