9
0
Fork 0
barebox/scripts
Masahiro Yamada 08df1282f4 scripts: add mailmapper, a tool to create/update mailmap file
This tool helps to create/update the mailmap file.

It runs 'git shortlog' internally and searches differently spelled author
names which share the same email address. The author name with the most
commits is asuumed to be a canonical real name. If the number of commits
from the cananonical name is equal to or greater than 'MIN_COMMITS' (=50),
the entry for the cananical name will be output. ('MIN_COMMITS' is used
here because we do not want to create a fat mailmap by adding every author
with only a few commits.)

If there exists a mailmap file specified by the mailmap.file configuration
options or '.mailmap' at the toplevel of the repository, it is used as
a base file.

The base file and the newly added entries are merged together and sorted
alphabetically (but the comment block is kept untouched), and then printed
to standard output.

 Usage
 -----

  scripts/mailmapper

prints the mailmapping to standard output.

  scripts/mailmapper > tmp; mv tmp .mailmap

will be useful for updating '.mailmap' file.

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Signed-off-by: Antony Pavlov <antonynpavlov@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2014-10-17 11:10:00 +02:00
..
basic scripts: fixdep: update from v3.10-rc1 2013-05-20 15:53:06 +02:00
dtc dtc: compile fdtget 2014-08-07 06:13:52 +02:00
imx imx-image: handle i.MX35 special case 2014-09-25 08:13:24 +02:00
kconfig kconfig: Fix compiler warning 2014-07-05 13:33:25 +02:00
mod kbuild: Use Elfnn_Half as replacement for Elfnn_Section 2012-06-05 21:40:15 +02:00
omap4_usbboot OMAP4_USBboot: Change output text formatting 2014-03-24 07:48:38 +01:00
setupmbr Merge branch 'for-next/misc' 2014-07-04 17:27:06 +02:00
tegra scripts: tegra: add gitignore 2014-07-01 08:39:37 +02:00
.gitignore Merge branch 'for-next/misc' 2014-10-02 08:54:42 +02:00
Kbuild.include Make: Fix if_changed when command contains backslashes 2012-09-16 22:10:22 +02:00
Makefile scripts: mk-am3xxx-spi-image: fix wrong assumptions about SPI images 2014-09-26 09:57:18 +02:00
Makefile.build pbl: Fix typo in make causing pbl files to be rebuilt 2013-05-25 15:11:08 +02:00
Makefile.clean Makefile.clean: include Makefiles again 2012-08-03 17:17:03 +08:00
Makefile.host svn_rev_008 2007-07-05 18:01:13 +02:00
Makefile.lib Makefile.lib: imxcfg: fix include path 2014-09-01 14:24:51 +02:00
Makefile.modpost rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
bareboxcrc32.c scripts: bareboxcrc32 as host and target userspacetool 2013-12-04 17:17:06 +01:00
bareboxenv.c saveenv: provide a zeroed/empty/ignore environment 2014-08-01 08:24:00 +02:00
bareboximd.c Add support for metadata in barebox images 2014-08-07 06:13:52 +02:00
bin2c.c Make generated variables static 2014-02-03 08:58:22 +01:00
canon-a1100-image ARM: add Canon A1100 ROM image generation 2014-08-01 15:40:41 +02:00
checkpatch.pl checkpatch.pl: check for the FSF mailing address 2014-09-12 07:38:37 +02:00
compiler.h scripts: bareboxcrc32 as host and target userspacetool 2013-12-04 17:17:06 +01:00
dfuboot.sh defaultenv: Add boot option for DFU 2014-02-28 08:14:14 +01:00
fix_size.c scripts: fix_size: check magic 2014-01-31 18:51:49 +01:00
gen-dtb-s Fix barebox metadata 2014-09-04 14:43:58 +02:00
gen_netx_image.c netX: add more common permissions 2012-04-23 07:52:46 +02:00
genenv genenv: fix tempdir creation when target is a relative path 2014-04-29 07:57:24 +02:00
kallsyms.c treewide: fix signedness mixups in printf format specifiers 2014-04-23 09:05:51 +02:00
kernel-install.c kernel-install: fix return value check for getline 2014-06-26 09:44:47 +02:00
kwbimage.c treewide: fix signedness mixups in printf format specifiers 2014-04-23 09:05:51 +02:00
kwboot.c scripts/kwboot: Remove redundant assignment 2014-02-17 08:06:11 +01:00
mailmapper scripts: add mailmapper, a tool to create/update mailmap file 2014-10-17 11:10:00 +02:00
mk-omap-image.c scripts: mk-am3xxx-spi-image: fix wrong assumptions about SPI images 2014-09-26 09:57:18 +02:00
mkcompile_h Makefile: fix build timestamps 2012-04-15 15:18:17 +02:00
mkimage.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
mkmakefile Add scripts/mkmakefile from Linux. This is necessary if you want to 2007-11-09 11:47:07 +01:00
mksysmap rename U-Boot-v2 project to barebox 2009-12-15 10:18:30 +01:00
mkublheader.c scripts/mkublheader: add program to produce an UBL image header 2012-07-04 09:13:23 +02:00
netconsole add netconsole host script 2010-06-24 17:37:00 +02:00
omap_signGP.c scripts/omap_signGP: add getopt 2013-09-27 16:24:37 +02:00
s5p_cksum.c Treewide: remove address of the Free Software Foundation 2012-09-17 10:57:41 +02:00
setlocalversion Make: update setlocalversion from the kernel 2013-03-09 20:14:15 +01:00
socfpga_mkimage.c scripts: Add Altera SoCFPGA mkimage support 2013-09-23 08:40:32 +02:00
tags.sh Makefile: move ctags and cscope support to a shell script 2012-12-03 11:01:44 +01:00
zynq_mkimage.c ARM: zynq: add zynq fsbl checksum script 2013-03-27 09:23:49 +01:00