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
ff3e72ae
Kaydet (Commit)
ff3e72ae
authored
Nis 26, 2017
tarafından
Markus Mohrhard
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
integrate the partial update info into the uploaded info
Change-Id: I1b6fc7970d3010c63ae910d55103efb504e15b53
üst
fdb4b344
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
Makefile.gbuild
Makefile.gbuild
+1
-1
create_build_config.py
bin/update/create_build_config.py
+8
-1
No files found.
Makefile.gbuild
Dosyayı görüntüle @
ff3e72ae
...
...
@@ -35,12 +35,12 @@ create-update-info:
mkdir
-p
$(MAR_DIR)
/language
MAR
=
$(INSTDIR)
/program/mar
$(SRCDIR)
/bin/update/create_full_mar.py
"
$(PRODUCTNAME)
"
"
$(WORKDIR)
"
"
$(MAR_NAME_PREFIX)
"
"
$(UPDATE_CONFIG)
"
MAR
=
$(INSTDIR)
/program/mar
$(SRCDIR)
/bin/update/create_full_mar_for_languages.py
"
$(PRODUCTNAME)
"
"
$(WORKDIR)
"
"
$(MAR_NAME_PREFIX)
"
"
$(UPDATE_CONFIG)
"
$(SRCDIR)
/bin/update/create_build_config.py
"
$(PRODUCTNAME)
"
"
$(VERSION)
"
"
$(BUILDID)
"
"
$(PLATFORM)
"
"
$(UPDATE_DIR)
"
"
$(UPDATE_CONFIG)
"
upload-update-info
:
$
(
eval
BUILDID :
=
$(
shell
git
-C
$(SRCDIR)
log
-1
--format
=
%H
)
)
$
(
eval
PLATFORM :
=
$(RTL_OS)
_
$(RTL_ARCH)
)
$
(
eval
UPDATE_DIR :
=
$(WORKDIR)
/update-info
)
$(SRCDIR)
/bin/update/create_build_config.py
"
$(PRODUCTNAME)
"
"
$(VERSION)
"
"
$(BUILDID)
"
"
$(PLATFORM)
"
"
$(UPDATE_DIR)
"
"
$(UPDATE_CONFIG)
"
$(SRCDIR)
/bin/update/upload_builds.py
"
$(PRODUCTNAME)
"
"
$(BUILDID)
"
"
$(PLATFORM)
"
"
$(UPDATE_DIR)
"
"
$(UPDATE_CONFIG)
"
$(SRCDIR)
/bin/update/upload_build_config.py
"
$(UPDATE_DIR)
"
"
$(UPDATE_CONFIG)
"
...
...
bin/update/create_build_config.py
Dosyayı görüntüle @
ff3e72ae
...
...
@@ -13,6 +13,13 @@ def update_all_url_entries(data, **kwargs):
for
language
in
data
[
'languages'
]:
language
[
'complete'
][
'url'
]
=
replace_variables_in_string
(
language
[
'complete'
][
'url'
],
**
kwargs
)
if
'partials'
in
data
:
for
partial
in
data
[
'partials'
]:
partial
[
'file'
][
'url'
]
=
replace_variables_in_string
(
partial
[
'file'
][
'url'
],
**
kwargs
)
for
lang
,
lang_file
in
partial
[
'languages'
]
.
iter
():
lang_file
[
'url'
]
=
replace_variables_in_string
(
lang_file
[
'url'
],
**
kwargs
)
def
main
(
argv
):
if
len
(
argv
)
<
7
:
print
(
"Usage: create_build_config.py $PRODUCTNAME $VERSION $BUILDID $PLATFORM $TARGETDIR $UPDATE_CONFIG"
)
...
...
@@ -26,7 +33,7 @@ def main(argv):
'platform'
:
argv
[
4
]
}
extra_data_files
=
[
'complete_info.json'
,
'complete_lang_info.json'
]
extra_data_files
=
[
'complete_info.json'
,
'complete_lang_info.json'
,
'partial_update_info.json'
]
for
extra_file
in
extra_data_files
:
extra_file_path
=
os
.
path
.
join
(
argv
[
5
],
extra_file
)
...
...
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