Comment 6 for bug 1193049

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-novaclient (master)

Reviewed: https://review.openstack.org/136379
Committed: https://git.openstack.org/cgit/openstack/python-novaclient/commit/?id=9a6a7664c2709023390e49447545799d5c7ca805
Submitter: Jenkins
Branch: master

commit 9a6a7664c2709023390e49447545799d5c7ca805
Author: Ikuo Kumagai <email address hidden>
Date: Fri Nov 21 13:47:30 2014 +0000

    Change the unsuitable item caching for completion

    This fix changes the item that cached for completion from
    "human_id" to "name".
    A string for completion shoud not be changed in any way,
    because changed keyword can not use as command line parameter.
    But the "human_id" means "human readable id" that is
    changed from "name" by method "to_slug". "to_slug" is meant to
    create a valid path name from a string.

    The tools/nova.bash_completion take the completion string from
    the file ".novaclient/*/*-cache". The file is created when client
    call "list" command. For example , "nova list","nova image-list",
    and the others.
    Currently, items that are written to the cache file is the "id"
    and "human_id".

    Closes-Bug: #1193049

    Change-Id: I241ec8b7c8729274ee43db6e360141fd381b265e