Wrongly apply --exists-action option for all dependencies

Bug #1582631 reported by Sergey Kraynev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-muranoclient
Fix Released
Wishlist
Valerii Kovalchuk

Bug Description

murano client allows to import packages with dependencies and it works fine, when I try to upload one package without any extra option.
In this case Murano client will ask me about action for all existing packages separately (for main package and his dependencies).

However it does not work if I try to use --exists-action flag.
In this case option, which I set with this flag will be applied for main package and also for all dependencies (if they are exists in my catalog).

So as result I have not ability to write simple script, which update only main package without affecting all his dependencies.

Changed in python-muranoclient:
status: New → Confirmed
assignee: nobody → Valerii Kovalchuk (vakovalchuk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-muranoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/317543

Changed in python-muranoclient:
status: Confirmed → In Progress
Revision history for this message
Kirill Zaitsev (kzaitsev) wrote :

Looks a bit opinionated to me. `pip install` or `apt-get` or `npm` do not allow anything like that AFAIK

Changed in python-muranoclient:
importance: Undecided → Medium
milestone: none → 0.9.0
Changed in python-muranoclient:
importance: Medium → Wishlist
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-muranoclient (master)

Reviewed: https://review.openstack.org/317543
Committed: https://git.openstack.org/cgit/openstack/python-muranoclient/commit/?id=8b5c564b210e13ba858416197113c23aedcb4f1a
Submitter: Jenkins
Branch: master

commit 8b5c564b210e13ba858416197113c23aedcb4f1a
Author: Valerii Kovalchuk <email address hidden>
Date: Tue May 17 16:47:57 2016 +0300

    Add '--dep-exists-action' argument to murano CLI

    It allows to apply different default actions for existing main
    package and existing dependencies. In case of specifying just
    '--exists-action', action for dependencies equals to that like it
    was previously.
    Unit tests to check new functionality are added.

    Change-Id: I7b5d3b5b40b7bceae7afc407b64ecd8da77443e7
    Closes-bug: #1582631

Changed in python-muranoclient:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/python-muranoclient 0.9.0

This issue was fixed in the openstack/python-muranoclient 0.9.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.