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
38c22857
Kaydet (Commit)
38c22857
authored
Eyl 25, 2006
tarafından
Faik Uygur
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
* we need --eager as default behaviour scenario. To run
sudo scenarios/run.py bug3607
üst
77cb56b1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
0 deletions
+38
-0
bug3607scen.py
scenarios/bug3607scen.py
+38
-0
No files found.
scenarios/bug3607scen.py
0 → 100644
Dosyayı görüntüle @
38c22857
# -*- coding: utf-8 -*-
#
# Scenario : bug3607scen.py
#
# Source : http://bugs.pardus.org.tr/show_bug.cgi?id=3607
#
# Problem : "pisi upgrade pkg" does not upgrade pkg's updated dependencies without --eager option
#
# Problem Description:
#
# In the scenario we have 3 packages that yakuake depends kdebase and kdebase depends kdelibs. All
# the packages are version bumped at the repository. But when the user wants to upgrade yakuake
# with "pisi up yakuake" pisi should also upgrade the extra dependencies. This is done only with
# --eager option.
#
# Expected:
#
# --eager should be the default behaviour.
#
from
pisi.scenarioapi.scenario
import
*
YAKUAKE
=
"yakuake"
KDEBASE
=
"kdebase"
KDELIBS
=
"kdelibs"
let_repo_had
(
YAKUAKE
,
with_dependencies
(
KDEBASE
))
let_repo_had
(
KDEBASE
,
with_dependencies
(
KDELIBS
))
let_repo_had
(
KDELIBS
)
let_pisi_had
(
YAKUAKE
,
KDEBASE
,
KDELIBS
)
def
run
():
repo_version_bumped
(
KDEBASE
)
repo_version_bumped
(
KDELIBS
)
repo_version_bumped
(
YAKUAKE
)
repo_updated_index
()
pisi_upgraded
(
YAKUAKE
)
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