summaryrefslogtreecommitdiff
path: root/mailimport
AgeCommit message (Collapse)Author
2008-08-24Improve script to work with pine/alpine foldersMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-27Improves commit message scriptsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch improves message description sanity rules: - mailimport now prefers to edit using editdiff. This helps to fix trivial CodingStyle errors at receive patches; - hghead.pl will now remove blank whitespaces if no body exists; - "make commit" will now run hghead.pl. This will do some sanity checks at commit messages: *) Will warrant that "from:" metatag exists, avoiding to have patches without proper authorship id at someone's else tree; *) Will order the tags at the expected way (subject, from, body, signatures); *) Will warrant that one and just one blank line exists between each of the four parts of the commit message. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-18mailimport: Add a check printk before committing a patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-03-10Better proccess -mm patchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-02-04Add two new fourcc codes for 16bpp formatsMauro Carvalho Chehab
From: Steven Whitehouse <steve@chygwyn.com> This adds two new fourcc codes (as per info at fourcc.org) for 16bpp mono and 16bpp Bayer formats. Signed-off-by: Steven Whitehouse <steve@chygwyn.com> Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-29Changes atributes recursivelyMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-29Some improvements at mailimport scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> With those improvements, it is now capable of working with claws-mail mbox mailboxes. This makes easier to process all patches on an mbox dir, with something like: ./mailimport ~/Mail/Patches Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-12Fix cardlist generation at the scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-11Relax regexp for seeking changes at CARDLISTMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> The mailimport script automatically re-generates cardlists. However, a small "extra" caracter is causing some troubles... Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-08Improve script to handle also hg mq series of patchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-17Relaxes mailimport formatMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Before this patch, only strict mbox format where accepted. Now, any e-mail saved file will also be accepted. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-12-03Mercurial rejects time fuse in the form of (MET) at timestamp. Remove it.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-10-08Validates changesets using checkpatchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-09-12Improve mailimport scriptsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Preserve original email's date; - Handles reviewed-by tag; - avoids upperscase troubles when processing tags. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-05-02Improvements at mailimport scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> - Default editor (nano) is opened with an option to avoid line wrapping - Commit only the modified cardlists, if any, avoiding trying to commit CARDLIST.foo.rej and/or CARDLIST.foo.orig - Prevents trying to commit patches with zero diff Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-16Fix: on some cases, it will use the wrong dir for CARDLIST.fooMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-14Improved to handle also inlined patchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-04-02Improve mailimport to auto-generate CARDLIST.*Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-07-04sync with masterPatrick Boettcher
From: Patrick Boettcher <pb@linuxtv.org> sync with master Signed-off-by: Patrick Boettcher <pb@linuxtv.org>
2006-06-12mailimport improved to accept "hg export" patchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, script will detect "hg export" patches inside emails, removing non-pertinent headers, keeping only the original commit message and the patch. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-06-12fix: whitespace cleanup were at wrong placeMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-15Mailimport now loops until patch is okMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Some fixes and improvements at mailimportMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> hg mq were offering some troubles, because it seems to be also updated at master site. So, now, default is not to use it. Several validations added. Also improved output log by separating subject from from: line. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Allows go ahead when a patch is not applingMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Added better handling for errors at mailscriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Now, it checks if author have signed its own patch. Also, prints better error messages. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Merge from linuxtv repositoryMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> merge: Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-10Now, Mailimport tests also v4l/dvb patch structureMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09Clears whitespaces before refreshing the patchMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This avoids introducing whitespaces by patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-09mailimport now accepts both kernel and v4l/dvb tree patchesMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-03-08Added a script to make easier to import patches sent by emailMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This script is capable to mass import patches on a mbox file, test for it, allow comment editing and applying it. This script requires: 1) git, since it uses gitimport to break a mbox into patches; 2) hg mailqueue. It is easier to manage patches using mq, allowing to work with the patches before applying to the tree. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>