Date: prev next · Thread: first prev next last
2012 Archives by date, by thread · List index


Ivan Timofeev píše v Pá 18. 05. 2012 v 18:56 +0400:
Hi Petr,

On 18.05.2012 18:13, Petr Mladek wrote:
I like it very much. The only problem is that I havn't got any title
from bugzilla :-)

LOL :)

Ah, there were two problems here:

1. Novell bugzilla does not return any title. I know that you mentioned
   it. Unfortunately, the first 5 bugs of my query were from this
   bugzilla and I forgot it during the deeper debugging :-)


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.


Next, your debug info is useful. It is good that it prints something
when looking for the titles. It takes time if you have many bugs.

Finally, I added some more sorting and pushed everything into master:
http://cgit.freedesktop.org/libreoffice/core/commit/?id=a8b77a529047d2d26b1633df3c0f6511fc379305
http://cgit.freedesktop.org/libreoffice/core/commit/?id=b47213604b69df85837b504917caf550c008459f
http://cgit.freedesktop.org/libreoffice/core/commit/?id=dd15b51ddaf4a143d494076a6dd554a059d91489

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


Thanks a lot for this cool improvement!

Best Regards,
Petr


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.