mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-21 22:53:37 +00:00
bugs-in-changelog.sh: List Jira IDs and github issues in output
This commit is contained in:
@@ -57,3 +57,31 @@ bugzilla \
|
||||
sprintf ("=item L<https://bugzilla.redhat.com/%s>\n\n%s\n",
|
||||
$1, $2)
|
||||
}xe'
|
||||
|
||||
# We can't fetch Jira subjects or github issues, but we can at least
|
||||
# list them.
|
||||
jiraids=$(
|
||||
git log "$1" |
|
||||
grep -Eio 'RHEL-[0-9]+' |
|
||||
sort -u
|
||||
)
|
||||
|
||||
for id in $jiraids ; do
|
||||
echo "=item L<https://issues.redhat.com/browse/$id>"
|
||||
echo
|
||||
echo "XXX"
|
||||
echo
|
||||
done
|
||||
|
||||
issues=$(
|
||||
git log "$1" |
|
||||
grep -Eio 'https?://github\.com/libguestfs/libguestfs/issues/[0-9]+' |
|
||||
sort -u
|
||||
)
|
||||
|
||||
for issue in $issues ; do
|
||||
echo "=item L<$issue>"
|
||||
echo
|
||||
echo "XXX"
|
||||
echo
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user