Darshaka Pathirana wrote:
Hi!
After the (first) patchset I've submitted on this list for openwengo
I was looking around for some guidelines on how to submit patches
correctly.
I was not able to find any information about submitting patches
neither in the openwengo-wiki nor in the archives of the
mailling-list. Did I miss something?
If found some guides from other projects:
[1] http://kerneltrap.org/Linux/Email_Clients_and_Patches
[2] http://winmerge.org/Wiki/Submit_Patch
[3] http://www.linuxfromscratch.org/patches/submit.html
[4]
http://sunsite.ualberta.ca/Documentation/Misc/perl-5.6.1/Porting/patching.html
In fact they can be summed up by these questions:
- How to create the patch?
- What should be the filename of the patch?
- How is the patch submitted?
The first question should be easy to answer:
- Use "svn diff" or create a patch with TortoiseSVN (or even use "diff
-u")
The second question is not that easy. My suggestion (if anybody
cares):
- {OrigFilename}_r{svnrevision}_{patchName}-{patchVersion}.diff|patch
The third question is also not as easy as it seems:
As Attachment?
* gzipped?
* zipped?
* text?
Inline?
What should be the subject?
[PATCH] - {OrigFilename}_r{svnrevision}_{patchName}-{patchVersion}
I also like the idea of [3] of adding a patch header on each patch,
but I may be wrong.
What do you maintainer and longtime contributors think? Is that too
much overkill or would you like to stick to some guidelines? I would
love to hear your opinions. Thank you!
Greetings,
- Darsha
Folks as we're going to to switch to mercuririal i suggest you read:
http://www.selenic.com/mercurial/wiki/index.cgi/PatchbombExtension
I think it will be the best way to submit the patches for review
Thanks
Vadim
_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel