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
bcafc3b1
Kaydet (Commit)
bcafc3b1
authored
Kas 23, 2006
tarafından
Faik Uygur
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
revert and kill eager. this original code is much more tested.
Anyway, these were the dangerous zones. :) You are safe now!
üst
efe2c750
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
operations.py
pisi/operations.py
+6
-3
No files found.
pisi/operations.py
Dosyayı görüntüle @
bcafc3b1
...
...
@@ -521,7 +521,7 @@ def plan_upgrade(A, ignore_build = False):
# add packages that can be upgraded
if
dependency
.
repo_satisfies_dep
(
dep
):
if
ctx
.
installdb
.
is_installed
(
dep
.
package
):
if
not
is_upgradable
(
dep
.
package
):
if
dependency
.
installed_satisfies_dep
(
dep
):
continue
if
not
dep
.
package
in
G_f
.
vertices
():
Bp
.
add
(
str
(
dep
.
package
))
...
...
@@ -539,8 +539,11 @@ def plan_upgrade(A, ignore_build = False):
pkg
=
packagedb
.
get_package
(
x
)
rev_deps
=
packagedb
.
get_rev_deps
(
x
)
for
(
rev_dep
,
depinfo
)
in
rev_deps
:
# add all upgradable reverse deps
if
is_upgradable
(
rev_dep
):
# add only installed but unsatisfied reverse dependencies
if
ctx
.
installdb
.
is_installed
(
rev_dep
)
and
\
(
not
dependency
.
installed_satisfies_dep
(
depinfo
)):
if
not
dependency
.
repo_satisfies_dep
(
depinfo
):
raise
Error
(
_
(
'Reverse dependency
%
s of
%
s cannot be satisfied'
)
%
(
rev_dep
,
x
))
if
not
rev_dep
in
G_f
.
vertices
():
Bp
.
add
(
rev_dep
)
G_f
.
add_plain_dep
(
rev_dep
,
x
)
...
...
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