]> granicus.if.org Git - strace/commit
maint: make gen-contributors-list.sh suitable for generation of CREDITS
authorEugene Syromyatnikov <evgsyr@gmail.com>
Mon, 13 Nov 2017 14:21:13 +0000 (15:21 +0100)
committerDmitry V. Levin <ldv@altlinux.org>
Mon, 13 Nov 2017 20:21:22 +0000 (20:21 +0000)
commitcca061f6f08b46a30e6c13f6a2fb203ff75b8455
tree7103e7f990ebe165124a1e1d8120d3d393cd1b92
parent34051e88851d1a02d8918dfd639f8c8309be7696
maint: make gen-contributors-list.sh suitable for generation of CREDITS

Implement various features in order to make it suitable for the
generation of the CREDITS file:
- add an option for including contributor e-mail;
- add an option to read additional list of contributors from stdin;
- add shorthand for referring to the initial commit of the branch;
- document all of the above in a help message.

* maint/gen-contributors-list.sh (print_help): New function.
(script): Rename to SCRIPT.
(SCRIPT_NORM_EMAILS, MATCH_OUT, OUT_EMAILS, OUT_NO_EMAILS, read_stdin,
include_email): New variables.
Add parsing of options, rewrite input processing.
maint/gen-contributors-list.sh