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
cfea4133
Kaydet (Commit)
cfea4133
authored
Eyl 29, 2006
tarafından
S.Çağlar Onur
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
pisi -> PiSi
üst
93cb746e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
commands.py
pisi/cli/commands.py
+5
-5
No files found.
pisi/cli/commands.py
Dosyayı görüntüle @
cfea4133
...
...
@@ -148,7 +148,7 @@ class Command(object):
group
=
OptionGroup
(
self
.
parser
,
_
(
"general options"
))
group
.
add_option
(
"-D"
,
"--destdir"
,
action
=
"store"
,
default
=
None
,
help
=
_
(
"Change the system root for
pis
i commands"
))
help
=
_
(
"Change the system root for
PiS
i commands"
))
group
.
add_option
(
"-y"
,
"--yes-all"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Assume yes in all yes/no queries"
))
group
.
add_option
(
"-u"
,
"--username"
,
action
=
"store"
)
...
...
@@ -473,7 +473,7 @@ to be downloaded from a repository containing sources.
group
.
add_option
(
"--install"
,
dest
=
"until"
,
action
=
"store_const"
,
const
=
"install"
,
help
=
_
(
"Break build after running install step"
))
group
.
add_option
(
"--package"
,
dest
=
"until"
,
action
=
"store_const"
,
const
=
"package"
,
help
=
_
(
"create
pis
i package"
))
const
=
"package"
,
help
=
_
(
"create
PiS
i package"
))
self
.
parser
.
add_option_group
(
group
)
def
run
(
self
):
...
...
@@ -619,7 +619,7 @@ You may use only package names to specify packages because
the package upgrade operation is defined only with respect
to repositories. If you have specified a package name, it
should exist in the package repositories. If you just want to
reinstall a package from a
pis
i file, use the install command.
reinstall a package from a
PiS
i file, use the install command.
You can also specify components instead of package names, which will be
expanded to package names.
...
...
@@ -961,7 +961,7 @@ everything in a single index file.
help
=
_
(
"Index output file"
))
group
.
add_option
(
"--skip-sources"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Do not index
pis
i spec files."
))
help
=
_
(
"Do not index
PiS
i spec files."
))
group
.
add_option
(
"--skip-signing"
,
action
=
"store_true"
,
default
=
False
,
help
=
_
(
"Do not sign index."
))
...
...
@@ -1389,7 +1389,7 @@ Lists the packages that will be upgraded.
component
=
ctx
.
get_option
(
'component'
)
if
component
:
#FIXME:
pis
i api is insufficient to do this
#FIXME:
PiS
i api is insufficient to do this
from
sets
import
Set
as
set
component_pkgs
=
ctx
.
componentdb
.
get_component
(
component
)
.
packages
upgradable_pkgs
=
list
(
set
(
upgradable_pkgs
)
&
set
(
component_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