Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
I
inary
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)
1
Konular (issue)
1
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ç
SulinOS
inary
Commits
6f07ef44
Kaydet (Commit)
6f07ef44
authored
Eki 20, 2020
tarafından
Your Name
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
fix rfp emerge
üst
566ed2ec
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
build.py
inary/operations/build.py
+16
-7
emerge.py
inary/operations/emerge.py
+1
-1
No files found.
inary/operations/build.py
Dosyayı görüntüle @
6f07ef44
...
...
@@ -209,8 +209,10 @@ class Builder:
raise
Error
(
_
(
"Source
\"
{}
\"
not found in any active repository."
)
.
format
(
name
))
def
__init__
(
self
,
specuri
,
emerge
=
False
):
self
.
emerge
=
emerge
def
__init__
(
self
,
specuri
):
self
.
emerge
=
False
if
"://"
in
specuri
:
self
.
emerge
=
True
self
.
componentdb
=
inary
.
db
.
componentdb
.
ComponentDB
()
self
.
installdb
=
inary
.
db
.
installdb
.
InstallDB
()
self
.
specuri
=
specuri
...
...
@@ -374,7 +376,12 @@ class Builder:
self
.
check_patches
()
self
.
check_build_dependencies
()
self
.
fetch_component
()
try
:
self
.
fetch_component
()
except
:
ctx
.
ui
.
output
(
_
(
"Component cannot readed."
)
+
"
\n
"
)
self
.
fetch_source_archives
()
util
.
clean_dir
(
self
.
pkg_install_dir
())
...
...
@@ -537,9 +544,8 @@ class Builder:
def
fetch_postops
(
self
):
for
postops
in
ctx
.
const
.
postops
:
postops_script
=
util
.
join_path
(
self
.
specdiruri
,
postops
)
if
util
.
check_file
(
postops_script
,
noerr
=
True
):
self
.
download
(
postops_script
,
util
.
join_path
(
self
.
specdir
))
ctx
.
ui
.
info
(
_
(
"PostOps Script Fetched."
))
if
util
.
check_file
(
postops_script
,
noerr
=
True
)
or
"://"
in
postops_script
:
self
.
download
(
postops_script
,
util
.
join_path
(
self
.
destdir
))
@staticmethod
def
download
(
uri
,
transferdir
):
...
...
@@ -1115,7 +1121,10 @@ package might be a good solution."))
doc_ptrn
=
re
.
compile
(
ctx
.
const
.
doc_package_end
)
self
.
fetch_component
()
# bug 856
try
:
self
.
fetch_component
()
except
:
ctx
.
ui
.
output
(
_
(
"Component cannot readed."
)
+
"
\n
"
)
ctx
.
ui
.
status
(
_
(
"Running file actions:
\"
{}
\"
"
)
.
format
(
self
.
spec
.
source
.
name
),
push_screen
=
True
)
...
...
inary/operations/emerge.py
Dosyayı görüntüle @
6f07ef44
...
...
@@ -81,7 +81,7 @@ installed in the respective order to satisfy dependencies:
# ctx.ui.notify(ui.packagestogo, order = order_build)
for
x
in
order_build
:
package_names
=
operations
.
build
.
build
(
x
,
emerge
=
True
)
.
new_packages
package_names
=
operations
.
build
.
build
(
x
)
.
new_packages
inary
.
operations
.
install
.
install_pkg_files
(
package_names
,
reinstall
=
True
)
# handle inter-package deps here
# reset counts between builds
...
...
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