summaryrefslogtreecommitdiffstats
path: root/bin/lo-commit-stat
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2019-03-26 14:42:20 +0100
committerAndras Timar <andras.timar@collabora.com>2019-04-05 12:41:27 +0200
commitdf30a4515b1303b0891baa53754fa9b3e47e0c02 (patch)
treeea58060471f56e2cca5067a85987cd95e6bf3684 /bin/lo-commit-stat
parentmenubar: reverte recentfilelist change to have it after openremote (diff)
downloadcore-df30a4515b1303b0891baa53754fa9b3e47e0c02.tar.gz
core-df30a4515b1303b0891baa53754fa9b3e47e0c02.zip
lo-commit-stat: Only search for bug ids in the summary
Sometimes, developers mention other bugs in the body as related issues. This might create mislead information in the release notes E.g: https://wiki.documentfoundation.org/Releases/6.1.1/RC1 * Caolán is mentioned as fixer of i#66963 because the id is in the body of 9c3d8b1c64c2ce5a2fd39aa785df45f6b1d6628b which fixes tdf#98558 * M. Stahl is mentioned as fixer of tdf#112447 because the id is in the body of 31e66bd07c1082bb375be8aaf7835f019351d9bb This bug was fixed by Bjoern Michaelsen in ce2fce9a41729774689080c8b5552b60c2e6ee2d Change-Id: I8d0ee038741dbb27364a56a7fa9285f32839c37b Reviewed-on: https://gerrit.libreoffice.org/69750 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'bin/lo-commit-stat')
-rwxr-xr-xbin/lo-commit-stat10
1 files changed, 5 insertions, 5 deletions
diff --git a/bin/lo-commit-stat b/bin/lo-commit-stat
index 64278b894d42..08e8a1785f86 100755
--- a/bin/lo-commit-stat
+++ b/bin/lo-commit-stat
@@ -189,11 +189,11 @@ sub load_git_log($$$$$$$)
next;
}
- $line = search_bugs($pdata, $module, $commit_id, $line);
- # FIXME: need to be implemented
-# search_keywords($pdata, $line);
-
unless (defined $pdata->{$module}{$commit_id}{'summary'}) {
+ $line = search_bugs($pdata, $module, $commit_id, $line);
+ # FIXME: need to be implemented
+ # search_keywords($pdata, $line);
+
$summary = standardize_summary($line);
$pdata->{$module}{$commit_id}{'summary'} = $summary;
}
@@ -206,7 +206,7 @@ sub load_git_log($$$$$$$)
sub get_repo_name($)
{
my $repo_dir = shift;
-
+
open (GIT_CONFIG, "$repo_dir/.git/config") ||
die "can't open \"$$repo_dir/.git/config\" for reading: $!\n";