[PUSHED] Release notes: use bug titles instead of commit messages if possible

Ivan Timofeev timofeev.i.s at gmail.com
Fri May 18 09:44:22 PDT 2012


On 18.05.2012 20:21, Petr Mladek wrote:
> 1. Novell bugzilla does not return any title.

Yeah, it requires login...

> 2. The titles from other bugzillas were ignored because "-" in the title
>     was  wide character here. I am not sure why it worked for you.
>     Probably something with UTF-8 locales. Anyway, I solved it by
>     replacing:
>
> -           if ( $title =~ s/^Bug \d+ - // ) {
> +           if ( $title =~ s/^Bug \d+ . // ) {
>
>     It is not perfect but... Any better solution is welcome.

I simply copied that character (en dash) from what the $response->title 
returns and pasted it to the regular expression...
Maybe adding 'use utf8;' to the script will solve the problem?

> If you agree with my changes, I will push it also for 3-5 branch.

Sure!

Thanks for reviewing,
Ivan


More information about the LibreOffice mailing list