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
8cac5ea6
Kaydet (Commit)
8cac5ea6
authored
Eki 02, 2006
tarafından
Faik Uygur
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
* now -c [--component] works recursively
üst
5586b025
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
commands.py
pisi/cli/commands.py
+4
-4
No files found.
pisi/cli/commands.py
Dosyayı görüntüle @
8cac5ea6
...
...
@@ -684,7 +684,7 @@ expanded to package names.
if
not
match
:
# match pattern in component names
for
cmp
in
fnmatch
.
filter
(
ctx
.
componentdb
.
list_components
(),
pattern
):
packages
=
packages
-
set
(
ctx
.
componentdb
.
get_
component
(
cmp
)
.
packages
)
packages
=
packages
-
set
(
ctx
.
componentdb
.
get_
packages
(
cmp
)
)
return
list
(
packages
)
...
...
@@ -1020,7 +1020,7 @@ Usage: list-installed
if
component
:
#FIXME: pisi api is insufficient to do this
from
sets
import
Set
as
set
component_pkgs
=
ctx
.
componentdb
.
get_
component
(
component
)
.
packages
component_pkgs
=
ctx
.
componentdb
.
get_
packages
(
component
)
installed
=
list
(
set
(
installed
)
&
set
(
component_pkgs
))
installed
.
sort
()
...
...
@@ -1262,7 +1262,7 @@ all repositories.
component
=
ctx
.
get_option
(
'component'
)
if
component
:
list
=
ctx
.
componentdb
.
get_
component
(
component
,
repo
)
.
packages
list
=
ctx
.
componentdb
.
get_
packages
(
component
,
repo
)
else
:
list
=
ctx
.
packagedb
.
list_packages
(
repo
)
installed_list
=
ctx
.
installdb
.
list_installed
()
...
...
@@ -1393,7 +1393,7 @@ Lists the packages that will be upgraded.
if
component
:
#FIXME: PiSi api is insufficient to do this
from
sets
import
Set
as
set
component_pkgs
=
ctx
.
componentdb
.
get_
component
(
component
)
.
packages
component_pkgs
=
ctx
.
componentdb
.
get_
packages
(
component
)
upgradable_pkgs
=
list
(
set
(
upgradable_pkgs
)
&
set
(
component_pkgs
))
if
not
upgradable_pkgs
:
...
...
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