summaryrefslogtreecommitdiff
path: root/tools/generate_authors.pl
AgeCommit message (Collapse)AuthorFilesLines
2016-03-28Fix out-of-tree "gen-authors" targetPeter Wu1-3/+3
Change directory to the source tree before invoking `git shortlog`, otherwise it fails on build directories outside the source tree. Alexis suggested to move the git invocation to the perl script, this is done now and also avoids writing AUTHORS.git in the source tree. Change-Id: I5905ebf40d8d32a586c88671b52f28c542ca33ba Reviewed-on: https://code.wireshark.org/review/14660 Reviewed-by: João Valverde <j@v6e.pt> Reviewed-by: Gerald Combs <gerald@wireshark.org> Reviewed-by: Peter Wu <peter@lekensteyn.nl>
2016-03-28tools/generate_authors.pl: avoid duplicatesPeter Wu1-7/+7
Officially, the local part of an email address is case sensitive, but in practice this is ignored. Ensure that duplicate email addresses are not listed. While at it, detect duplicates using `grep -Po '<\K[^>]+' AUTHORS | tr '[:upper:]' '[:lower:]' | sort | uniq -cd` and resolve them. Change-Id: Ie1e853d6253758c8454d9583f0a11f317c8390cb Reviewed-on: https://code.wireshark.org/review/14659 Reviewed-by: Peter Wu <peter@lekensteyn.nl> Petri-Dish: Peter Wu <peter@lekensteyn.nl> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-21AUTHORS: More column alignment improvementsJoão Valverde1-4/+8
Change-Id: I29d08ca213df44c1d6d437135c45a3d6e45efa7d Reviewed-on: https://code.wireshark.org/review/14386 Reviewed-by: João Valverde <j@v6e.pt>
2016-03-08AUTHORS: Use LF line endings and remove BOMJoão Valverde1-6/+1
Change-Id: I03c582baa03238ac82916d8bf865a3bf25f04cd5 Reviewed-on: https://code.wireshark.org/review/14384 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-03-08AUTHORS: Add <...> to git log email addressesJoão Valverde1-1/+1
Change-Id: I936e4a25833906cac75d4d5b7359b5629d14b33d Reviewed-on: https://code.wireshark.org/review/14382 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
2016-03-08generate_authors.pl: Use literal regex expressionJoão Valverde1-3/+1
Change-Id: I6828dc5f71930ce4121ab7ad24db5b0428cea7f3 Reviewed-on: https://code.wireshark.org/review/14383 Reviewed-by: João Valverde <j@v6e.pt>
2016-03-07generate_authors: Align git log email columnJoão Valverde1-10/+18
Change-Id: Ic08b23e80a982805f4b512a410a1a4414afc3a8c Reviewed-on: https://code.wireshark.org/review/14354 Reviewed-by: João Valverde <j@v6e.pt>
2016-03-06CMake: Avoid pipes and the `cut` command.Gerald Combs1-1/+3
Dump the output of `git shortlog` directly to AUTHORS.git instead of piping it through `cut`. Depending on our toolchain, cmake COMMANDs might not support pipes. This appears to be the case for MSBuild. Removing the `cut` command has the added benefit of reducing our dependency on Cygwin. Pass HEAD to `git shortlog`, otherwise it doesn't return anything when run under MSBuild. Change-Id: I23e9436c007d76a700bbbc45c2772c8aba6d5749 Reviewed-on: https://code.wireshark.org/review/14349 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Reviewed-by: Michael Mann <mmann78@netscape.net>
2016-03-03Make sure our shell, Perl, & Python tools are executable.Gerald Combs1-0/+0
Change-Id: Ie58978473c4af7a0eaccf3e664c2f44bed2ef202 Reviewed-on: https://code.wireshark.org/review/14331 Reviewed-by: Gerald Combs <gerald@wireshark.org>
2016-03-03Create perl script to append existing AUTHORS file with information from git ↵Michael Mann1-0/+197
log. new AUTHORS file can be created with "gen-authors" build parameter The "original" AUTHORS file has been fixed up to be kind to parsers (so no one gets excluded) and renamed to AUTHORS.src. This preserves the features authors worked on. For authors that didn't list features, they may be converted to just getting information from git. Change-Id: I9a4c4091e229f7f5e1c46d864527a98c1278e451 Reviewed-on: https://code.wireshark.org/review/14231 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>