mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-16 14:31:29 +01:00
update some tools
This commit is contained in:
@@ -1,7 +1,13 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
FROM=2016-01-01
|
if [ "x$1" = "x" ]; then
|
||||||
TO=2016-12-31
|
echo "Usage: $0 YEAR"
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
FROM=$1-01-01
|
||||||
|
TO=$1-12-31
|
||||||
|
|
||||||
echo "git log --since $FROM --before $TO | grep ^Author | sort -u -f -i -b | wc -l"
|
echo "git log --since $FROM --before $TO | grep ^Author | sort -u -f -i -b | wc -l"
|
||||||
git log --since $FROM --before $TO | grep ^Author | sort -u -f -i -b | wc -l
|
git log --since $FROM --before $TO | grep ^Author | sort -u -f -i -b | wc -l
|
||||||
|
|||||||
@@ -1,10 +1,11 @@
|
|||||||
#/bin/bash
|
#/bin/bash
|
||||||
Releases=("3.8" "3.9" "4.0" "5.0", "develop")
|
Releases=("3.8" "3.9" "4.0" "5.0" "6.0" " 7.0" "develop")
|
||||||
Dates=("2010-01-01", "2011-01-01", "2012-01-01", "2013-01-01", "2014-01-01", "2015-01-01", "2016-07-01")
|
Dates=("2013-01-01", "2014-01-01", "2015-01-01", "2016-07-01", "2017-02-01", "2017-07-01", "2018-02-01", "2050-01-01")
|
||||||
let "counter = 1"
|
let "counter = 1"
|
||||||
|
|
||||||
for i in "${Releases[@]}"
|
for i in "${Releases[@]}"
|
||||||
do
|
do
|
||||||
|
echo "=== $counter git shortlog -s -n --after=${Dates[counter-1]} --before=${Dates[counter]}"
|
||||||
git shortlog -s -n --after=${Dates[counter-1]} --before=${Dates[counter]}
|
git shortlog -s -n --after=${Dates[counter-1]} --before=${Dates[counter]}
|
||||||
echo -n "Total $i: "
|
echo -n "Total $i: "
|
||||||
git log --pretty=oneline --after=${Dates[counter-1]} --before=${Dates[counter]} | wc -l
|
git log --pretty=oneline --after=${Dates[counter-1]} --before=${Dates[counter]} | wc -l
|
||||||
|
|||||||
Reference in New Issue
Block a user