Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] scripts: add get_maintainer script
@ 2014-01-31 22:47 Trevor Woerner
  2014-01-31 22:47 ` [PATCH 1/1] " Trevor Woerner
  0 siblings, 1 reply; 4+ messages in thread
From: Trevor Woerner @ 2014-01-31 22:47 UTC (permalink / raw)
  To: openembedded-core; +Cc: patches

This patch imports the Linux kernel's "get_maintainer.pl" script for use with
OE/Yocto layers. The purpose of this script is to make it easy for people
submitting patches to determine a sensible list of people to CC. Ideally all
layers include valid MAINTAINERS files, in which case a valid MAINTAINERS file
will be parsed for a list of potential people to include. But even if such a
file does not exist, the "get_maintainer.pl" script is able to use the git
history to create a sensilble list of relevant people who might be interested
in changes to parts of various files a given patch touches.

Invoke this script with "-h" or "--help" to get a detailed description of the
various things this script can do.

This script was modified in a couple minor ways to fit in with the OE/Yocto
ecosystem. For example, the original script assumes the presence of a
MAINTAINERS file; unfortunately not all layers (very few, in fact) include
such a file. Also, it is not possible to assume all layers include a known
file at a given location (i.e. to make sure the script is invoked from a valid
OE/Yocto layer). For example most layers include a "conf/layer.conf" file, but
some "layers" (such as openembedded-core) are containers for further
sub-layers. Therefore this "location checking" logic had to be left out.

If you would like to automate the processes of adding relevant CC's to your
"git email"'s, simply add a "cccmd = get_maintainer.pl" line to your
".gitconfig" file and the CC's will be added to your emails automatically.

Trevor Woerner (1):
  scripts: add get_maintainer script

 scripts/get_maintainer.pl | 2140 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 2140 insertions(+)
 create mode 100755 scripts/get_maintainer.pl

-- 
1.8.5.2.227.g53f3478



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-02-03  0:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-31 22:47 [PATCH 0/1] scripts: add get_maintainer script Trevor Woerner
2014-01-31 22:47 ` [PATCH 1/1] " Trevor Woerner
2014-02-03  0:23   ` Otavio Salvador
2014-02-03  0:51     ` Trevor Woerner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox