mirror of
https://github.com/mirror/wget.git
synced 2024-12-26 12:50:44 +08:00
* contrib/mk_authors: Create list of authors and translators since last version
This commit is contained in:
parent
21bb9d54cb
commit
e6c76e84aa
25
contrib/mk_authors
Executable file
25
contrib/mk_authors
Executable file
@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
prev_tag=`git tag --sort=taggerdate|tail -1`
|
||||
|
||||
echo -e "The authors list is autogenerated from the git history; sorted by number of commits\n"
|
||||
|
||||
(
|
||||
if [ -z $prev_tag ]; then
|
||||
git shortlog -sen
|
||||
else
|
||||
git shortlog -sen ${prev_tag}..
|
||||
fi
|
||||
) | cut -f 2 | sed 's/@/ at /g'
|
||||
|
||||
#(
|
||||
#if [ -z $prev_tag ]; then
|
||||
# git log --reverse|grep -i reported|cut -d':' -f2|cut -d'<' -f1|cut -d' ' -f2-|tr -d '"'
|
||||
#else
|
||||
# git log ${prev_tag}.. --reverse|grep -i reported|cut -d':' -f2|cut -d'<' -f1|cut -d' ' -f2-|tr -d '"'
|
||||
#fi
|
||||
#) | sort -u
|
||||
|
||||
echo -e "\n\nThe translators list is autogenerated from po file history\n"
|
||||
|
||||
sed -n 's/.*Last-Translator: *\(.*\) *<.*/\1/p' po/*.po | sort -u
|
Loading…
Reference in New Issue
Block a user