ACK: [PATCH][P, T, U, V, W] UBUNTU: [debian] BugLink: close LP: bugs only for Launchpad urls
Stefan Bader
stefan.bader at canonical.com
Mon Apr 4 09:09:04 UTC 2016
On 01.04.2016 22:17, Kamal Mostafa wrote:
> Generate "LP: #NNNNNNN" bug-close changelog comments only for BugLink's
> which actually refer to Launchpad URL's, not other bug trackers.
>
> Signed-off-by: Kamal Mostafa <kamal at canonical.com>
> ---
> debian/scripts/misc/git-ubuntu-log | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/debian/scripts/misc/git-ubuntu-log b/debian/scripts/misc/git-ubuntu-log
> index 2967d87..3937216 100755
> --- a/debian/scripts/misc/git-ubuntu-log
> +++ b/debian/scripts/misc/git-ubuntu-log
> @@ -194,7 +194,7 @@ sub changelog_input {
> $bugz{$k} = 1 if (($k ne '') and ($k =~ /[0-9]+/));
> }
> }
> - elsif (/^ *BugLink: *http.*:\/\/.*\/([0-9]+)/i) {
> + elsif (/^ *BugLink: *.*launchpad.net\/.*\/([0-9]+)/i) {
Sounds reasonable... may or may not be "\.launchpad\.net" to ensure real dots at
the right places...
> $bugz{$1} = 1;
> }
> elsif (/^ *(CVE-.*)/) {
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20160404/81117dff/attachment.sig>
More information about the kernel-team
mailing list