summaryrefslogtreecommitdiff
path: root/v4l/scripts/hghead.pl
AgeCommit message (Collapse)Author
2008-09-28Add a newer meta-tag to SOB like stuff.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2008-08-16Properly handles commit messages with date: fieldMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> This patch allows a better support for third party patches. Now, it will properly recognize and proccess messages with the following format: Date: <some date> From: <some developer> Subject: <patch subject> <body> This will help to better proccess messages received via email. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-08-05Improve scripts to allow developers to add a hint about patch priorityMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> After this patch, a new meta-tag will be added, to give a hint about the priority: low - patches that add new drivers that aren't ready for kernel, but it would be interesting to be at the main tree; normal - Patches that will be merged on the next merge window; high - Bug fixes Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-07-11Preserve review tag lines at the proper place, together with SOB'sMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-28Fix hghead to avoid adding bogus SOB'sMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> As reported by Michael Krufky: > sms1xxx: fix Siano board names > > From: Michael Krufky <mkrufky@linuxtv.org> > > Signed-off-by: Michael Krufky <mkrufky@linuxtv.org> > Signed-off-by: <> > > > I have to "hg export tip > file && nano file {remove last line} && hg rollback && hg revert --all && hg import file" to fix it. > > What went wrong? :-/ Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-28Fix subject identificationMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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-06-27Fix a few bugs at the scriptMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-06-22Add a new meta-tag to hghead.plMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-05-08hghead.pl: Fix script to avoid parsing errorsMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Driver were searching for "Index" on any part of the text, causing troubles when committing a few patches. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-01-09Fix date parsing for mailimport script to workMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> 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-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-03-10Added another variant of acked-by:Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-01-07Improved script to handle CC and thanks-to tagsMauro 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-19Improved to accept also patches from akpm.Mauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.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-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-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-08Fixed a small bug at hghead.plMauro Carvalho Chehab
From: Mauro Carvalho Chehab <mchehab@infradead.org> Commiter name were not preserved by mailimport at the way it was. Now, commiter name will be the HGUSER, and from: line will be included at commit message, preserving both commiter and patch authors. 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>