)]}'
{"id":"openstack%2Fpython-tackerclient~344198","triplet_id":"openstack%2Fpython-tackerclient~master~Ibbe38d051ebf2a1beac89485aa163108eaa3cfec","project":"openstack/python-tackerclient","branch":"master","topic":"add_comma_for_dics/lists","hashtags":[],"change_id":"Ibbe38d051ebf2a1beac89485aa163108eaa3cfec","subject":"Add comma to dicts/lists","status":"NEW","created":"2016-07-19 12:14:35.000000000","updated":"2017-12-18 04:57:03.000000000","submit_type":"MERGE_IF_NECESSARY","mergeable":false,"submittable":false,"total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"f4f1464324d28f3f09934e5b087ec26b20a2380d","_number":344198,"virtual_id_number":344198,"owner":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"actions":{},"labels":{"Verified":{"all":[{"date":"2016-08-11 02:03:47.000000000","_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"}],"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":{"disliked":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"all":[{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},{"value":-1,"date":"2016-08-11 01:31:00.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},{"value":0,"permitted_voting_range":{"min":-2,"max":2},"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"}],"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":"","value":-1,"default_value":0,"optional":true},"Workflow":{"rejected":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"all":[{"value":-1,"date":"2016-08-11 09:19:49.000000000","permitted_voting_range":{"min":-1,"max":0},"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2016-07-20 05:47:18.000000000","updated_by":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"reviewer":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"state":"REVIEWER"},{"updated":"2016-08-11 01:31:00.000000000","updated_by":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"reviewer":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"state":"REVIEWER"}],"messages":[{"id":"e9ca6cd1e9e004016ea4365cf912470a7597c9a2","author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"date":"2016-07-19 12:14:35.000000000","message":"Uploaded patch set 1.","accounts_in_message":[],"_revision_number":1},{"id":"5c14c6175d7b336e36e284085fa1e0fa14d9bcdf","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-07-19 12:58:42.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-tackerclient-docs http://docs-draft.openstack.org/98/344198/1/check/gate-python-tackerclient-docs/8084be0//doc/build/html/ : SUCCESS in 2m 38s\n- gate-python-tackerclient-pep8 http://logs.openstack.org/98/344198/1/check/gate-python-tackerclient-pep8/11cb957/ : FAILURE in 2m 21s\n- gate-python-tackerclient-python27 http://logs.openstack.org/98/344198/1/check/gate-python-tackerclient-python27/8e48d62/ : SUCCESS in 2m 41s\n- gate-python-tackerclient-python34 http://logs.openstack.org/98/344198/1/check/gate-python-tackerclient-python34/70f328c/ : FAILURE in 3m 14s (non-voting)","accounts_in_message":[],"_revision_number":1},{"id":"ae7d2f8dd36c320d1f6765ae2c70a9b60a71de0c","author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"date":"2016-07-20 01:53:51.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"3853bc1ae5d219446aa2b2ed172f097ff5b7a8a6","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-07-20 01:59:53.000000000","message":"Patch Set 2: Verified+1\n\nBuild succeeded (check pipeline).\n\n- gate-python-tackerclient-docs http://docs-draft.openstack.org/98/344198/2/check/gate-python-tackerclient-docs/3a77a51//doc/build/html/ : SUCCESS in 3m 47s\n- gate-python-tackerclient-pep8 http://logs.openstack.org/98/344198/2/check/gate-python-tackerclient-pep8/e71323e/ : SUCCESS in 3m 23s\n- gate-python-tackerclient-python27 http://logs.openstack.org/98/344198/2/check/gate-python-tackerclient-python27/2f7b6ef/ : SUCCESS in 2m 49s\n- gate-python-tackerclient-python34 http://logs.openstack.org/98/344198/2/check/gate-python-tackerclient-python34/b0fc0e6/ : FAILURE in 2m 38s (non-voting)","accounts_in_message":[],"_revision_number":2},{"id":"76e85b2be634b2d60b15b6eb5870e23e016c7709","author":{"_account_id":18955,"name":"dharmendra","email":"dharmendra.kushwaha@gmail.com","username":"dharmendra"},"date":"2016-07-20 05:47:18.000000000","message":"Patch Set 2: Code-Review-1\n\nThis fix looks fine. But what is the rational of fixing this.\n\nThe code constantly going added, and anyone who adding a new item in dict may forget to add trailing comma.\nThere is no way to enforce a developer to keep it in that way. So this is a task which will never be actually completed.\n\nIf we follow this approach, every time reviewer needs to manually keep it in mind for each review, and that adds extra mental overhead in review.","accounts_in_message":[],"_revision_number":2},{"id":"978ec6573ca76cdc5f0baa11c0abbb81b604c5fb","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-07-23 02:31:55.000000000","message":"Patch Set 2: Verified-1\n\nMerge Failed.\n\nThis change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.","accounts_in_message":[],"_revision_number":2},{"id":"eef4443e7474ad3f2711638a894caee3a2188bee","author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"date":"2016-07-26 11:52:24.000000000","message":"Patch Set 2:\n\n\u003e This fix looks fine. But what is the rational of fixing this.\n \u003e \n \u003e The code constantly going added, and anyone who adding a new item\n \u003e in dict may forget to add trailing comma.\n \u003e There is no way to enforce a developer to keep it in that way. So\n \u003e this is a task which will never be actually completed.\n \u003e \n \u003e If we follow this approach, every time reviewer needs to manually\n \u003e keep it in mind for each review, and that adds extra mental\n \u003e overhead in review.\nok, you are right. Thank you, But there too many to fix. I just hope we have a good style to write code in OpenStack.","accounts_in_message":[],"_revision_number":2},{"id":"e779a906f0918165d75fc89e053667348e70e6e8","author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"date":"2016-07-27 05:17:49.000000000","message":"Patch Set 2:\n\nrecheck","accounts_in_message":[],"_revision_number":2},{"id":"84ba9b7782f7c001769c451847b344e5d4370f1b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-07-27 05:18:02.000000000","message":"Patch Set 2:\n\nMerge Failed.\n\nThis change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset.","accounts_in_message":[],"_revision_number":2},{"id":"602d3465ef0b89837c6533416eced00a3daa1833","author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"date":"2016-08-04 05:42:34.000000000","message":"Uploaded patch set 3.","accounts_in_message":[],"_revision_number":3},{"id":"b4a7deb842cb1ea330407ee633921f5e72679ed9","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2016-08-04 05:56:17.000000000","message":"Patch Set 3: 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-tackerclient-docs-ubuntu-xenial http://docs-draft.openstack.org/98/344198/3/check/gate-python-tackerclient-docs-ubuntu-xenial/9940652//doc/build/html/ : SUCCESS in 4m 36s\n- gate-python-tackerclient-pep8-ubuntu-xenial http://logs.openstack.org/98/344198/3/check/gate-python-tackerclient-pep8-ubuntu-xenial/cd7f860/ : FAILURE in 12m 56s\n- gate-python-tackerclient-python27-ubuntu-xenial http://logs.openstack.org/98/344198/3/check/gate-python-tackerclient-python27-ubuntu-xenial/951088b/ : FAILURE in 11m 40s\n- gate-python-tackerclient-python34 http://logs.openstack.org/98/344198/3/check/gate-python-tackerclient-python34/185f553/ : FAILURE in 7m 25s (non-voting)","accounts_in_message":[],"_revision_number":3},{"id":"fafbb32c6ab955b6b8d52bf65ee61d4999302b8f","author":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"},"date":"2016-08-11 01:31:00.000000000","message":"Patch Set 3: Code-Review-1\n\nIs there a pep8 check to enforce this ? Also, do you\u0027ve a reference to openstack style guide suggesting this ?","accounts_in_message":[],"_revision_number":3},{"id":"275d875c637e40836efd4c0465a44860c3a7c264","author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"date":"2016-08-11 02:03:47.000000000","message":"Patch Set 3:\n\n\u003e Is there a pep8 check to enforce this ? Also, do you\u0027ve a reference\n \u003e to openstack style guide suggesting this ?\n\nyes, pep8 don\u0027t enforce this. And the openstack style guide links:http://docs.openstack.org/developer/hacking/#dictionaries-lists.","accounts_in_message":[],"_revision_number":3},{"id":"f147728e6f3623c096918be3bbdbb4c82f0959e6","author":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"date":"2016-08-11 09:19:49.000000000","message":"Patch Set 3: Workflow-1","accounts_in_message":[],"_revision_number":3},{"id":"b468466d9e6c47a4188f3810edebd815bc7e1e49","author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"date":"2017-12-18 04:57:03.000000000","message":"Removed reviewer Jenkins with the following votes:\n\n* Verified-1 by Jenkins (3)\n","accounts_in_message":[],"_revision_number":3}],"current_revision_number":3,"current_revision":"65fee799226ff1bf013f98d70e571722a30ff573","revisions":{"b5a3ead2bcbb7b8eb9b4529afa688745c3aad23d":{"kind":"REWORK","_number":1,"created":"2016-07-19 12:14:35.000000000","uploader":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"ref":"refs/changes/98/344198/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-tackerclient","ref":"refs/changes/98/344198/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/1"}}},"commit":{"parents":[{"commit":"431a79ba3de18a869533de83ae0a6f85d6f5fbbd","subject":"Merge \"remove unused LOG\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/431a79ba3de18a869533de83ae0a6f85d6f5fbbd"}]}],"author":{"name":"Lu lei","email":"lei.lu@easystack.cn","date":"2016-07-19 12:06:37.000000000","tz":480},"committer":{"name":"Lu lei","email":"lei.lu@easystack.cn","date":"2016-07-19 12:13:56.000000000","tz":480},"subject":"Add comma to dicts/lists","message":"Add comma to dicts/lists\n\nThe last item in the dictionary should have a\ntrailing comma. This increases readability and simplifies\nfuture diffs.I think this is a good OpenStack style.I have\ntried my best to modify it.\n\nChange-Id: Ibbe38d051ebf2a1beac89485aa163108eaa3cfec\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/b5a3ead2bcbb7b8eb9b4529afa688745c3aad23d"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/b5a3ead2bcbb7b8eb9b4529afa688745c3aad23d"}]},"branch":"refs/heads/master"},"2ca43a870817495daeac0ed6e67229476705113a":{"kind":"REWORK","_number":2,"created":"2016-07-20 01:53:51.000000000","uploader":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"ref":"refs/changes/98/344198/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-tackerclient","ref":"refs/changes/98/344198/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/2"}}},"commit":{"parents":[{"commit":"431a79ba3de18a869533de83ae0a6f85d6f5fbbd","subject":"Merge \"remove unused LOG\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/431a79ba3de18a869533de83ae0a6f85d6f5fbbd"}]}],"author":{"name":"Lu lei","email":"lei.lu@easystack.cn","date":"2016-07-19 12:06:37.000000000","tz":480},"committer":{"name":"Lu lei","email":"lei.lu@easystack.cn","date":"2016-07-20 01:53:03.000000000","tz":480},"subject":"Add comma to dicts/lists","message":"Add comma to dicts/lists\n\nThe last item in the dictionary should have a\ntrailing comma. This increases readability and simplifies\nfuture diffs.So I think this is a good OpenStack style.\n\nChange-Id: Ibbe38d051ebf2a1beac89485aa163108eaa3cfec\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/2ca43a870817495daeac0ed6e67229476705113a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/2ca43a870817495daeac0ed6e67229476705113a"}]},"branch":"refs/heads/master"},"65fee799226ff1bf013f98d70e571722a30ff573":{"kind":"REWORK","_number":3,"created":"2016-08-04 05:42:34.000000000","uploader":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"},"ref":"refs/changes/98/344198/3","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/python-tackerclient","ref":"refs/changes/98/344198/3","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/3 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/3 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/3 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/python-tackerclient refs/changes/98/344198/3"}}},"commit":{"parents":[{"commit":"1cbf0ba295e183417a84c2d2273a60f345a74bab","subject":"Merge \"Remove discover from test-requirements\"","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/1cbf0ba295e183417a84c2d2273a60f345a74bab"}]}],"author":{"name":"Lu lei","email":"lei.lu@easystack.cn","date":"2016-07-19 12:06:37.000000000","tz":480},"committer":{"name":"Lu lei","email":"lei.lu@easystack.cn","date":"2016-08-04 05:42:14.000000000","tz":480},"subject":"Add comma to dicts/lists","message":"Add comma to dicts/lists\n\nThe last item in the dictionary should have a\ntrailing comma. This increases readability and simplifies\nfuture diffs.So I think this is a good OpenStack style.\n\nChange-Id: Ibbe38d051ebf2a1beac89485aa163108eaa3cfec\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/65fee799226ff1bf013f98d70e571722a30ff573"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/python-tackerclient/commit/65fee799226ff1bf013f98d70e571722a30ff573"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[{"rule_name":"gerrit~DefaultSubmitRule","status":"OK","labels":[{"label":"Verified","status":"MAY"},{"label":"Code-Review","status":"MAY","applied_by":{"_account_id":13380,"name":"Sridhar Ramaswamy","email":"srics.r@gmail.com","username":"srics-r"}},{"label":"Workflow","status":"MAY","applied_by":{"_account_id":22132,"name":"Lu lei","email":"lei.lu@easystack.cn","username":"Lulei"}}]}],"submit_requirements":[{"name":"Verified","description":"Verified in gate by CI","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Verified\u003dMAX AND -label:Verified\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Verified\u003dMAX","label:Verified\u003dMIN"],"atom_explanations":{"label:Verified\u003dMAX":"","label:Verified\u003dMIN":""}}},{"name":"Code-Review","description":"Code reviewed by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Code-Review\u003dMAX AND -label:Code-Review\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":[],"failing_atoms":["label:Code-Review\u003dMAX","label:Code-Review\u003dMIN"],"atom_explanations":{"label:Code-Review\u003dMAX":"","label:Code-Review\u003dMIN":""}}},{"name":"Workflow","description":"Approved for gate by core reviewer","status":"UNSATISFIED","is_legacy":false,"submittability_expression_result":{"expression":"label:Workflow\u003dMAX AND -label:Workflow\u003dMIN","fulfilled":false,"status":"FAIL","passing_atoms":["label:Workflow\u003dMIN"],"failing_atoms":["label:Workflow\u003dMAX"],"atom_explanations":{"label:Workflow\u003dMAX":"","label:Workflow\u003dMIN":""}}}]}
