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 of9c3d8b1c64
which fixes tdf#98558 * M. Stahl is mentioned as fixer of tdf#112447 because the id is in the body of31e66bd07c
This bug was fixed by Bjoern Michaelsen ince2fce9a41
Change-Id: I8d0ee038741dbb27364a56a7fa9285f32839c37b Reviewed-on: https://gerrit.libreoffice.org/69750 Tested-by: Jenkins Reviewed-by: Andras Timar <andras.timar@collabora.com>
This commit is contained in:
parent
41aad282de
commit
df30a4515b
1 changed files with 5 additions and 5 deletions
|
@ -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";
|
||||
|
||||
|
|
Loading…
Reference in a new issue