)]}'
{"id":"openstack%2Fpython-novaclient~284186","triplet_id":"openstack%2Fpython-novaclient~master~I59f155675e2aae642a5b90cb70008eb5647ffe79","project":"openstack/python-novaclient","branch":"master","topic":"api_versions","hashtags":[],"change_id":"I59f155675e2aae642a5b90cb70008eb5647ffe79","subject":"[microversions] fix help msg for versioned args","status":"MERGED","created":"2016-02-24 15:20:35.000000000","updated":"2016-02-24 20:52:07.000000000","submitted":"2016-02-24 20:52:07.000000000","submitter":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"6ccac1b22e17fd76f94f199c5deaf41d8dec5d77","_number":284186,"virtual_id_number":284186,"owner":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"actions":{},"labels":{"Verified":{"approved":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"value":2,"date":"2016-02-24 20:52:07.000000000","post_submit":true,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","default_value":0,"optional":true},"Code-Review":{"approved":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},{"value":2,"date":"2016-02-24 18:17:33.000000000","permitted_voting_range":{"min":2,"max":2},"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":2,"date":"2016-02-24 18:39:01.000000000","_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"}],"values":{"-2":"Do not merge","-1":"This patch needs further work before it can be merged"," 0":"No score","+1":"Looks good to me, but someone else must approve","+2":"Looks good to me (core reviewer)"},"description":"","default_value":0,"optional":true},"Workflow":{"approved":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":1,"date":"2016-02-24 18:39:01.000000000","_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true},"Review-Priority":{"all":[{"value":0,"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},{"value":0,"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"value":0,"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"}],"values":{" 0":"Default Priority","+1":"Contributor Review Promise","+2":"Core Review Promise"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-02-24 17:46:26.000000000","updated_by":{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},"reviewer":{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},"state":"REVIEWER"},{"updated":"2016-02-24 18:17:33.000000000","updated_by":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"reviewer":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"state":"REVIEWER"},{"updated":"2016-02-24 18:39:01.000000000","updated_by":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"reviewer":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"state":"REVIEWER"},{"updated":"2016-02-24 20:52:07.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"}],"messages":[{"id":"e72510b0171ace147f250629f3ec08b4094f50ce","author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"date":"2016-02-24 15:20:35.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"66c6df51a2650597fcb6e6b5788f3349220c1967","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-02-24 16:20:40.000000000","message":"Patch Set 1: Code-Review+2","accounts_in_message":[],"_revision_number":1},{"id":"5fe4c50bedf06ea4259992f42718a4e4d7cedaf4","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2016-02-24 17:43:51.000000000","message":"Patch Set 1: Code-Review-1\n\nHow about a test for this?","accounts_in_message":[],"_revision_number":1},{"id":"71083ca529140487527286afee3807fba1de951e","author":{"_account_id":7461,"name":"Paul Murray","email":"pmurray@hpe.com","username":"ptm"},"date":"2016-02-24 17:46:26.000000000","message":"Patch Set 1: Code-Review-1\n\nThis is a good improvement - agree it needs a test","accounts_in_message":[],"_revision_number":1},{"id":"d062203d1b1f498592497f1d457aa60cbc1d4a00","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-24 17:48:21.000000000","message":"Patch Set 1: Verified-1\n\nBuild failed (check pipeline).  For information on how to proceed, see http://docs.openstack.org/infra/manual/developers.html#automated-testing\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/86/284186/1/check/gate-python-novaclient-pep8/bf5dd44/ : SUCCESS in 56s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/86/284186/1/check/gate-python-novaclient-docs/5d45c8f//doc/build/html/ : SUCCESS in 1m 00s\n- gate-python-novaclient-python27 http://logs.openstack.org/86/284186/1/check/gate-python-novaclient-python27/68a6c20/ : FAILURE in 1m 44s\n- gate-python-novaclient-python34 http://logs.openstack.org/86/284186/1/check/gate-python-novaclient-python34/8f184d2/ : FAILURE in 2m 24s\n- gate-python-novaclient-pypy http://logs.openstack.org/86/284186/1/check/gate-python-novaclient-pypy/fe04545/ : FAILURE in 3m 16s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/86/284186/1/check/gate-tempest-dsvm-neutron-src-python-novaclient/e281d0e/ : FAILURE in 1h 59m 41s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/86/284186/1/check/gate-novaclient-dsvm-functional/b9be784/ : SUCCESS in 25m 20s","accounts_in_message":[],"_revision_number":1},{"id":"1dd67f007a62044a934e41845e7e6437ba1f4bb8","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2016-02-24 17:50:15.000000000","message":"Patch Set 1:\n\nSo I pulled this change down and then https://review.openstack.org/#/c/278454/ on top of it, and when I do the help for instance-action-list, I only get the 2.21 help:\n\nstack@neutron:~/python-novaclient$ nova help instance-action-list\nusage: nova instance-action-list \u003cserver\u003e\n\nList actions on a server.\n\nPositional arguments:\n  \u003cserver\u003e  Name or UUID of the server to list actions for. Only UUID can be\n            used to list actions on a deleted server. (Supported by API\n            versions \u00272.21\u0027 - \u00272.latest\u0027)\nstack@neutron:~/python-novaclient$\n\n\nSo how do we see the 2.0-2.20 help?","accounts_in_message":[],"_revision_number":1},{"id":"e245ddc4150c4e014c2a8b5c6680967cb45e145e","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2016-02-24 17:53:47.000000000","message":"Patch Set 1:\n\nOK, so you have to specify --os-compute-api-version in the help call to get the \u003c2.21 help message:\n\nhttp://paste.openstack.org/show/488067/","accounts_in_message":[],"_revision_number":1},{"id":"0c800ee08e910495010fd651adcbb0d961ec22d8","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2016-02-24 17:54:55.000000000","message":"Patch Set 1:\n\nOK, I\u0027m good with this if we can add a test.","accounts_in_message":[],"_revision_number":1},{"id":"ab62a83462e6a188a5bc8eb4ff994845bbf7e82a","author":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"date":"2016-02-24 18:11:00.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"16a9e9033b989570ca45c063b4de4ff7b450c6bc","author":{"_account_id":679,"name":"Kevin L. Mitchell","email":"klmitch@mit.edu","username":"klmitch"},"date":"2016-02-24 18:17:33.000000000","message":"Patch Set 2: Code-Review+2","accounts_in_message":[],"_revision_number":2},{"id":"dac44930dc1fd66941e53a6cc909e75a8a13b85e","author":{"_account_id":6873,"name":"Matt Riedemann","email":"mriedem.os@gmail.com","username":"mriedem"},"date":"2016-02-24 18:39:01.000000000","message":"Patch Set 2: Code-Review+2 Workflow+1\n\nCool, LGTM, nice test too.","accounts_in_message":[],"_revision_number":2},{"id":"b3b945921348d9237391f72a83da2ea5ae4ad13f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-24 19:53:33.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-novaclient-pep8 http://logs.openstack.org/86/284186/2/check/gate-python-novaclient-pep8/bfcd2ab/ : SUCCESS in 1m 05s\n- gate-python-novaclient-docs http://docs-draft.openstack.org/86/284186/2/check/gate-python-novaclient-docs/5193163//doc/build/html/ : SUCCESS in 1m 02s\n- gate-python-novaclient-python27 http://logs.openstack.org/86/284186/2/check/gate-python-novaclient-python27/056b52d/ : SUCCESS in 1m 33s\n- gate-python-novaclient-python34 http://logs.openstack.org/86/284186/2/check/gate-python-novaclient-python34/07b09e0/ : SUCCESS in 2m 12s\n- gate-python-novaclient-pypy http://logs.openstack.org/86/284186/2/check/gate-python-novaclient-pypy/c3daaab/ : SUCCESS in 2m 37s (non-voting)\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/86/284186/2/check/gate-tempest-dsvm-neutron-src-python-novaclient/5d8e046/ : SUCCESS in 57m 52s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/86/284186/2/check/gate-novaclient-dsvm-functional/00189b4/ : SUCCESS in 30m 43s","accounts_in_message":[],"_revision_number":2},{"id":"cbe59726be1188bf74c3e33a691226da97026bd8","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-24 19:53:39.000000000","message":"Patch Set 2: -Verified\n\nStarting gate jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"024c7ed75ea99bed0c645abaee42b72e48d75f3b","date":"2016-02-24 20:52:07.000000000","message":"Change has been successfully merged into the git repository by Jenkins","accounts_in_message":[],"_revision_number":2},{"id":"84c66e8bd9d813d50a7cfc9ee181214cdb2acc7e","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-02-24 20:52:07.000000000","message":"Patch Set 2: Verified+2\n\nBuild succeeded (gate pipeline).\n\n- gate-python-novaclient-docs http://docs-draft.openstack.org/86/284186/2/gate/gate-python-novaclient-docs/6b4299f//doc/build/html/ : SUCCESS in 1m 10s\n- gate-python-novaclient-pep8 http://logs.openstack.org/86/284186/2/gate/gate-python-novaclient-pep8/1eef642/ : SUCCESS in 1m 17s\n- gate-python-novaclient-python27 http://logs.openstack.org/86/284186/2/gate/gate-python-novaclient-python27/7d69deb/ : SUCCESS in 1m 20s\n- gate-python-novaclient-python34 http://logs.openstack.org/86/284186/2/gate/gate-python-novaclient-python34/90b56c4/ : SUCCESS in 2m 05s\n- gate-tempest-dsvm-neutron-src-python-novaclient http://logs.openstack.org/86/284186/2/gate/gate-tempest-dsvm-neutron-src-python-novaclient/387b700/ : SUCCESS in 58m 07s\n- gate-novaclient-dsvm-functional http://logs.openstack.org/86/284186/2/gate/gate-novaclient-dsvm-functional/49af954/ : SUCCESS in 43m 04s","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"ca5b06f6ae9426eb20ee9e58022c49c219d4a067","revisions":{"6724092564ad96e6a101b292de5614fb9951381e":{"kind":"REWORK","_number":1,"created":"2016-02-24 15:20:35.000000000","uploader":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"ref":"refs/changes/86/284186/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/86/284186/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/1"}}},"commit":{"parents":[{"commit":"0fcfa02841220afe0187aab989b68cc560406323","subject":"Merge \"Updated from global requirements\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/0fcfa02841220afe0187aab989b68cc560406323"}]}],"author":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-02-24 15:11:41.000000000","tz":120},"committer":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-02-24 15:18:08.000000000","tz":120},"subject":"[microversions] fix help msg for versioned args","message":"[microversions] fix help msg for versioned args\n\nIf command has arguments with one name, but for different versions(see an\nexample below), both arguments will be displayed. This patch fixes this\nissue.\n\nExample of arguments:\n\n    @cliutils.args(\"name\",\n                   help\u003d\"Name of a good action.\",\n                   start_version\u003d\"2.1\",\n                   end_version\u003d\"2.20\")\n    @cliutils.args(\"name\",\n                   help\u003d\"Name of a very good action.\",\n                   start_version\u003d\"2.21\")\n    def do_something_good(cs, args):\n        pass\n\nExample of helpoutput before patch:\n\n    Positional arguments:\n      \u003cname\u003e    Name of a good action. (Supported by API versions \u00272.0\u0027 - \u00272.20\u0027)\n      \u003cname\u003e    Name of a very good action. (Supported by API versions \u00272.21\u0027 -\n                \u00272.latest\u0027)\n\nChange-Id: I59f155675e2aae642a5b90cb70008eb5647ffe79\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/6724092564ad96e6a101b292de5614fb9951381e"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/6724092564ad96e6a101b292de5614fb9951381e"}]},"branch":"refs/heads/master"},"ca5b06f6ae9426eb20ee9e58022c49c219d4a067":{"kind":"REWORK","_number":2,"created":"2016-02-24 18:11:00.000000000","uploader":{"_account_id":9545,"name":"Andriy Kurilin","email":"andr.kurilin@gmail.com","username":"akurilin"},"ref":"refs/changes/86/284186/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-novaclient","ref":"refs/changes/86/284186/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-novaclient refs/changes/86/284186/2"}}},"commit":{"parents":[{"commit":"0fcfa02841220afe0187aab989b68cc560406323","subject":"Merge \"Updated from global requirements\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/0fcfa02841220afe0187aab989b68cc560406323"}]}],"author":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-02-24 15:11:41.000000000","tz":120},"committer":{"name":"Andrey Kurilin","email":"akurilin@mirantis.com","date":"2016-02-24 18:10:31.000000000","tz":120},"subject":"[microversions] fix help msg for versioned args","message":"[microversions] fix help msg for versioned args\n\nIf command has arguments with one name, but for different versions(see an\nexample below), both arguments will be displayed. This patch fixes this\nissue.\n\nExample of arguments:\n\n    @cliutils.args(\"name\",\n                   help\u003d\"Name of a good action.\",\n                   start_version\u003d\"2.1\",\n                   end_version\u003d\"2.20\")\n    @cliutils.args(\"name\",\n                   help\u003d\"Name of a very good action.\",\n                   start_version\u003d\"2.21\")\n    def do_something_good(cs, args):\n        pass\n\nExample of helpoutput before patch:\n\n    Positional arguments:\n      \u003cname\u003e    Name of a good action. (Supported by API versions \u00272.0\u0027 - \u00272.20\u0027)\n      \u003cname\u003e    Name of a very good action. (Supported by API versions \u00272.21\u0027 -\n                \u00272.latest\u0027)\n\nChange-Id: I59f155675e2aae642a5b90cb70008eb5647ffe79\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/ca5b06f6ae9426eb20ee9e58022c49c219d4a067"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-novaclient/commit/ca5b06f6ae9426eb20ee9e58022c49c219d4a067"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
