Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
9c83796f
Kaydet (Commit)
9c83796f
authored
Nis 29, 2017
tarafından
Christian Lohmaier
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
lo-commit-stat: default to utf8, adjust regex for tdf bugzilla
Change-Id: I61960512e297417eb096b3bc921974aa43f74ccc
üst
146258f8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
lo-commit-stat
bin/lo-commit-stat
+7
-7
No files found.
bin/lo-commit-stat
Dosyayı görüntüle @
9c83796f
...
...
@@ -7,6 +7,9 @@ use strict;
use
LWP::
UserAgent
;
use
utf8
;
use
File::
Temp
;
use
Encode
;
use
open
':encoding(utf8)'
;
use
open
':std'
=>
':encoding(utf8)'
;
my
%
module_dirname
=
(
"core"
=>
""
,
...
...
@@ -381,19 +384,16 @@ sub get_bug_name($$)
$ua
->
env_proxy
;
my
$response
=
$ua
->
get
(
$url
);
if
(
$response
->
is_success
)
{
my
$title
=
$response
->
title
;
if
(
$title
=~
s/^
Bug \d+ \S+
//
)
{
my
$title
=
decode
(
'utf8'
,
$response
->
title
)
;
if
(
$title
=~
s/^
(?:Bug $bug_number \S+|$bug_number –)
//
)
{
print
"$title\n"
;
return
$title
;
}
else
{
print
"warning: not found; using commit message (only got $title)
\n
"
;
print
"warning: not found; using commit message (only got $title)"
;
}
}
else
{
print
"\n"
;
}
}
else
{
print
"\n"
;
}
print
"\n"
;
return
$summary
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment