forked from geosolutions-it/geobatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
report.sh
executable file
·69 lines (57 loc) · 1.59 KB
/
report.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
#!/bin/sh
if [ "$#" -ne 3 ]; then
echo "
Generates git log report between two tags:
USAGE:
$0 {START_TAG} {STOP_TAG|HEAD} {MESSAGE DESCRIPTION}"
exit 1
fi
echo "What's new?
===========
$3
Where can I get it?
===================
* Home:
http://geobatch.geo-solutions.it/
* Download:
http://geobatch.geo-solutions.it/download/latest/
* Documentation:
http://geobatch.geo-solutions.it/download/latest/doc/
Who contributed to this release?
================================
* List authors of this release
"
git log $1..$2 --pretty="format:* %aN" | sort | uniq
echo "
=======================
FIXES IN MAIN MODULES:
=======================
"
for i in core dao fsm gui web users file-catalog ftp-server; do
git log $1..$2 --no-merges --pretty=oneline --reverse --grep fix --grep improve --grep add --format='* %s' src/$i
done
echo "
=======================
CHANGES IN ACTIONS
=======================
"
git log $1..$2 --no-merges --pretty=oneline --reverse --grep fix --grep improve --grep add --format='* %s' src/actions
echo "
=======================
CHANGES IN SERVICES
=======================
"
git log $1..$2 --no-merges --pretty=oneline --reverse --grep fix --grep improve --grep add --format='* %s' src/services
echo "
=======================
CANGES IN TOOLS
=======================
"
git log $1..$2 --no-merges --pretty=oneline --reverse --grep fix --grep improve --grep add --format='* %s' src/tools
echo "
=======================
CHANGES IN DOCUMENTATION
=======================
"
git log $1..$2 --no-merges --pretty=oneline --reverse --grep fix --grep improve --grep add --format='* %s' src/doc/source
exit 0