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
ec89e498
Kaydet (Commit)
ec89e498
authored
May 15, 2020
tarafından
Ali Rıza KESKİN
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
biseyler
üst
71782825
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
command.py
inary/cli/command.py
+4
-0
install.py
inary/operations/install.py
+2
-2
No files found.
inary/cli/command.py
Dosyayı görüntüle @
ec89e498
...
...
@@ -212,6 +212,10 @@ class PackageOp(Command):
group
.
add_option
(
"--ignore-dependency"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Do not take dependency information into account."
))
group
.
add_option
(
"--ignore-satisfy"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Ignore unsatisfied dependency."
))
group
.
add_option
(
"--ignore-safety"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Bypass safety switch."
))
group
.
add_option
(
"-n"
,
"--dry-run"
,
action
=
"store_true"
,
default
=
False
,
...
...
inary/operations/install.py
Dosyayı görüntüle @
ec89e498
...
...
@@ -225,7 +225,7 @@ def install_pkg_files(package_URIs, reinstall=False):
# now determine if these unsatisfied dependencies could
# be satisfied by installing packages from the repo
for
dep
in
dep_unsatis
:
if
not
dep
.
satisfied_by_repo
():
if
not
dep
.
satisfied_by_repo
()
and
not
ctx
.
config
.
get_option
(
'ignore_satisfy'
)
:
raise
Exception
(
_
(
'External dependencies not satisfied:
\"
{}
\"
'
)
.
format
(
dep
))
# if so, then invoke install_pkg_names
...
...
@@ -313,7 +313,7 @@ def plan_install_pkg_names(A):
ctx
.
ui
.
info
(
_
(
' -> checking {}'
)
.
format
(
str
(
dep
)),
verbose
=
True
)
# we don't deal with already *satisfied* dependencies
if
not
dep
.
satisfied_by_installed
():
if
not
dep
.
satisfied_by_repo
(
packagedb
=
packagedb
):
if
not
dep
.
satisfied_by_repo
(
packagedb
=
packagedb
)
and
not
ctx
.
config
.
get_option
(
'ignore_satisfy'
)
:
raise
Exception
(
_
(
'
\"
{0}
\"
dependency of package
\"
{1}
\"
is not satisfied.'
)
.
format
(
dep
,
pkg
.
name
))
if
not
dep
.
package
in
G_f
.
vertices
():
Bp
.
add
(
str
(
dep
.
package
))
...
...
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