mirror of
https://github.com/godotengine/godot-docs-l10n.git
synced 2025-12-31 09:49:22 +03:00
Add script to list authors from Weblate commits
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -1 +1,2 @@
|
||||
.doctrees
|
||||
*.mo
|
||||
|
||||
13
list-authors.sh
Normal file
13
list-authors.sh
Normal file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -z $1 ]; then
|
||||
echo "Pass a commit hash as argument to list authors between that commit and HEAD."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
commit=$1
|
||||
|
||||
for file in weblate/*.po; do
|
||||
echo -e "\n* $file:\n"
|
||||
git log $commit..HEAD --date=format:"%Y" --format="%aN <%aE>, %ad." $file | grep -v 'anonymous' | sort -u
|
||||
done
|
||||
Reference in New Issue
Block a user