From 6d28910535b5836b2f603bc3f754fcb254346825 Mon Sep 17 00:00:00 2001 From: Faik Uygur Date: Sun, 26 Nov 2006 19:09:52 +0000 Subject: [PATCH] eager no more --- scenarios/bug3607scen.py | 53 ---------------------------------------- 1 file changed, 53 deletions(-) delete mode 100644 scenarios/bug3607scen.py diff --git a/scenarios/bug3607scen.py b/scenarios/bug3607scen.py deleted file mode 100644 index 2de6ed53..00000000 --- a/scenarios/bug3607scen.py +++ /dev/null @@ -1,53 +0,0 @@ -# -*- 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" - -XORG_SERVER = "xorg-server" -XORG_INPUT = "xorg-input" -XORG_VIDEO = "xorg-video" - -let_repo_had(YAKUAKE, with_dependencies(KDEBASE)) -let_repo_had(KDEBASE, with_dependencies(KDELIBS)) -let_repo_had(KDELIBS) - -let_repo_had(XORG_INPUT) -let_repo_had(XORG_VIDEO) -let_repo_had(XORG_SERVER, with_dependencies(XORG_INPUT, XORG_VIDEO)) - -let_pisi_had(YAKUAKE, KDEBASE, KDELIBS, XORG_SERVER, XORG_INPUT, XORG_VIDEO) - -def run(): - repo_version_bumped(KDEBASE) - repo_version_bumped(KDELIBS) - repo_version_bumped(YAKUAKE) - - repo_version_bumped(XORG_INPUT) - repo_version_bumped(XORG_VIDEO) - repo_version_bumped(XORG_SERVER) - - repo_updated_index() - - pisi_upgraded(KDELIBS) - pisi_upgraded(XORG_SERVER)