)]}'
{"id":"openstack%2Fhacking~77950","triplet_id":"openstack%2Fhacking~master~I06ab02e8a0b5ae9cd30734d2286bd147f7477f3d","project":"openstack/hacking","branch":"master","topic":"inline-comment","hashtags":[],"change_id":"I06ab02e8a0b5ae9cd30734d2286bd147f7477f3d","subject":"Add hacking check for inline comments with spaces","status":"ABANDONED","created":"2014-03-04 18:03:40.000000000","updated":"2014-03-11 05:23:47.000000000","total_comment_count":0,"unresolved_comment_count":0,"has_review_started":true,"meta_rev_id":"619ba85d89c8422735e3e40abeef0e5a022c3544","_number":77950,"virtual_id_number":77950,"owner":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"actions":{},"labels":{"Verified":{"disliked":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"all":[{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},{"value":-1,"date":"2014-03-04 18:33:39.000000000","_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"}],"values":{"-2":"Fails","-1":"Doesn\u0027t seem to work"," 0":"No score","+1":"Works for me","+2":"Verified"},"description":"","value":-1,"default_value":0,"optional":true},"Code-Review":{"rejected":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"disliked":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"all":[{"value":-1,"date":"2014-03-04 18:05:48.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},{"value":-1,"date":"2014-03-04 18:10:25.000000000","permitted_voting_range":{"min":-2,"max":2},"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":3,"name":"Jenkins","username":"jenkins"},{"value":0,"date":"2014-03-04 18:12:29.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},{"value":0,"permitted_voting_range":{"min":-1,"max":1},"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},{"value":-2,"date":"2014-03-04 19:38:49.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"}],"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":{"all":[{"value":0,"date":"2014-03-04 18:05:48.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},{"value":0,"date":"2014-03-04 18:10:25.000000000","permitted_voting_range":{"min":-1,"max":1},"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},{"value":0,"date":"2014-03-04 18:05:06.000000000","permitted_voting_range":{"min":-1,"max":0},"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},{"date":"2014-03-04 19:38:49.000000000","_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"}],"values":{"-1":"Work in progress"," 0":"Ready for reviews","+1":"Approved"},"description":"","default_value":0,"optional":true}},"removable_reviewers":[],"reviewers":{"REVIEWER":[{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},{"_account_id":3,"name":"Jenkins","username":"jenkins"},{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"}]},"pending_reviewers":{},"reviewer_updates":[{"updated":"2014-03-04 18:05:48.000000000","updated_by":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"reviewer":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"state":"REVIEWER"},{"updated":"2014-03-04 18:10:25.000000000","updated_by":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"reviewer":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"state":"REVIEWER"},{"updated":"2014-03-04 18:12:29.000000000","updated_by":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"reviewer":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"state":"REVIEWER"},{"updated":"2014-03-04 18:33:39.000000000","updated_by":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"reviewer":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"state":"REVIEWER"},{"updated":"2014-03-04 19:38:49.000000000","updated_by":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"reviewer":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"state":"REVIEWER"}],"messages":[{"id":"5398d527d56c9cfe5dd86003002cfbd038a79f04","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-03-04 18:03:40.000000000","message":"Patch Set 1:\n\nStarting check jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":1},{"id":"875feceb6cfadc8afc2390f42e6b1bca774995c8","author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"date":"2014-03-04 18:05:06.000000000","message":"Uploaded patch set 2.","accounts_in_message":[],"_revision_number":2},{"id":"6e2d9b9c92c78d472220f2946dcbdfe6a3345b9f","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-03-04 18:05:07.000000000","message":"Patch Set 2:\n\nStarting check jobs.\nhttp://status.openstack.org/zuul/","accounts_in_message":[],"_revision_number":2},{"id":"0304f500d04e77f8db63faa5d616c9d4c06173b7","author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"date":"2014-03-04 18:05:48.000000000","message":"Patch Set 2: I would prefer that you didn\u0027t merge this\n\nIsn\u0027t this already a pep8 check?","accounts_in_message":[],"_revision_number":2},{"id":"2520ad0e50213048f7b734083a0639ae28986b08","author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"date":"2014-03-04 18:10:25.000000000","message":"Patch Set 2: I would prefer that you didn\u0027t merge this\n\nIt isn\u0027t already a pep8 check. pep8 ensures you have:\n\n  code  #foo\n\nThis change makes you do:\n\n  code  # foo\n\nWhich seems to be inconsistent because this change allows #TODO and #NOTE and #FIXME. Consistency is more important here imo.\n\nWhat is the motivation for this change?","accounts_in_message":[],"_revision_number":2},{"id":"a2c35393019d72cbb5b118d66ba277c5c0d8a1a6","author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"date":"2014-03-04 18:12:29.000000000","message":"Patch Set 2:\n\njeblair: PEP8 has \"E261 at least two spaces before inline comment\", but not quite this.","accounts_in_message":[],"_revision_number":2},{"id":"e82583a8201ac14468a22b0f343e96c0eb0eea9b","author":{"_account_id":3,"name":"Jenkins","username":"jenkins"},"date":"2014-03-04 18:33:39.000000000","message":"Patch Set 2: Doesn\u0027t seem to work\n\nBuild failed.  For information on how to proceed, see https://wiki.openstack.org/wiki/GerritJenkinsGit#Test_Failures\n\n- gate-hacking-pep8 http://logs.openstack.org/50/77950/2/check/gate-hacking-pep8/dabd500 : FAILURE in 50s\n- gate-hacking-docs http://docs-draft.openstack.org/50/77950/2/check/gate-hacking-docs/fb569aa/doc/build/html/ : SUCCESS in 59s\n- gate-hacking-python26 http://logs.openstack.org/50/77950/2/check/gate-hacking-python26/52db246 : SUCCESS in 50s\n- gate-hacking-python27 http://logs.openstack.org/50/77950/2/check/gate-hacking-python27/82faf5c : SUCCESS in 1m 15s\n- gate-hacking-python33 http://logs.openstack.org/50/77950/2/check/gate-hacking-python33/be81146 : FAILURE in 2m 34s (non-voting)\n- gate-hacking-pypy http://logs.openstack.org/50/77950/2/check/gate-hacking-pypy/b11879e : SUCCESS in 1m 34s (non-voting)\n- gate-hacking-integration-nova http://logs.openstack.org/50/77950/2/check/gate-hacking-integration-nova/f1b798a : SUCCESS in 3m 32s (non-voting)\n","accounts_in_message":[],"_revision_number":2},{"id":"b8fa411c66e6ae00bc7639298570f5e1e47c6ce1","author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"date":"2014-03-04 18:52:00.000000000","message":"Patch Set 2:\n\n@clark: the motivation is simply consistency in favor of the prevailing (and I\u0027d argue: easier to read) style.\n\nOn that note, I\u0027d rather support for #TODO and #NOTE and #FIXME dropped in favor of # TODO and # NOTE and # FIXME as part of this change, if that\u0027s possible.","accounts_in_message":[],"_revision_number":2},{"id":"5ba608b7c2263b18c3d4ec0ad84726208ab1e233","author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"date":"2014-03-04 19:38:49.000000000","message":"Patch Set 2: Do not merge\n\n\"An inline comment is a comment on the same line as a statement. Inline comments should be separated by at least two spaces from the statement. They should start with a # and a single space.\" http://legacy.python.org/dev/peps/pep-0008/\n\nIt sounds like this should be enforced upstream in pep8, since its a pep8 rule.","accounts_in_message":[],"_revision_number":2},{"id":"7660344a58d459baece2d732528a709c39951d1b","author":{"_account_id":4,"name":"Dolph Mathews","email":"dolph.mathews@gmail.com","username":"dolph"},"date":"2014-03-04 20:42:28.000000000","message":"Patch Set 2:\n\n\"They should start with a # and a single space.\" that\u0027s not enforced upstream, so why not enforce it here?","accounts_in_message":[],"_revision_number":2},{"id":"2b6cf227d141c9fad832a86e4663e618d3fb7068","author":{"_account_id":1849,"name":"Joe Gordon","email":"joe.gordon0@gmail.com","username":"jogo"},"date":"2014-03-04 20:50:29.000000000","message":"Patch Set 2:\n\nBecause pep8 enforces pep8, and hacking is for hacking.","accounts_in_message":[],"_revision_number":2},{"id":"b0783f6bae45b484910f709fc5e065618a987c66","author":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"date":"2014-03-11 05:23:47.000000000","message":"Patch Set 2: Abandoned","accounts_in_message":[],"_revision_number":2}],"current_revision_number":2,"current_revision":"db5abf7f6e0abca7ef9f62dc2d0632fc0f585ed5","revisions":{"7484d05ac608cb12f6332bbccaf0fa5dde5af58a":{"kind":"REWORK","_number":1,"created":"2014-03-04 18:03:40.000000000","uploader":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"ref":"refs/changes/50/77950/1","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/hacking","ref":"refs/changes/50/77950/1","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/hacking refs/changes/50/77950/1 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/hacking refs/changes/50/77950/1 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/hacking refs/changes/50/77950/1 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/hacking refs/changes/50/77950/1"}}},"commit":{"parents":[{"commit":"8e2e7063f28cc0b57f4dda1f2292625b52218561","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/hacking/commit/8e2e7063f28cc0b57f4dda1f2292625b52218561"}]}],"author":{"name":"Lance Bragstad","email":"ldbragst@us.ibm.com","date":"2014-03-04 17:29:57.000000000","tz":0},"committer":{"name":"Lance Bragstad","email":"ldbragst@us.ibm.com","date":"2014-03-04 18:02:59.000000000","tz":0},"subject":"Add hacking check for inline comments with spaces","message":"Add hacking check for inline comments with spaces\n\nAdd a hacking check to ensure inline comments are started with a space,\nlike \u0027# my comment\u0027 instead of \u0027#my comment\u0027.\n\nChange-Id: I06ab02e8a0b5ae9cd30734d2286bd147f7477f3d\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/hacking/commit/7484d05ac608cb12f6332bbccaf0fa5dde5af58a"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/hacking/commit/7484d05ac608cb12f6332bbccaf0fa5dde5af58a"}]},"branch":"refs/heads/master"},"db5abf7f6e0abca7ef9f62dc2d0632fc0f585ed5":{"kind":"REWORK","_number":2,"created":"2014-03-04 18:05:06.000000000","uploader":{"_account_id":5046,"name":"Lance Bragstad","email":"lbragstad@redhat.com","username":"ldbragst"},"ref":"refs/changes/50/77950/2","fetch":{"anonymous http":{"url":"https://review.opendev.org/openstack/hacking","ref":"refs/changes/50/77950/2","commands":{"Checkout":"git fetch https://review.opendev.org/openstack/hacking refs/changes/50/77950/2 \u0026\u0026 git checkout FETCH_HEAD","Cherry Pick":"git fetch https://review.opendev.org/openstack/hacking refs/changes/50/77950/2 \u0026\u0026 git cherry-pick FETCH_HEAD","Format Patch":"git fetch https://review.opendev.org/openstack/hacking refs/changes/50/77950/2 \u0026\u0026 git format-patch -1 --stdout FETCH_HEAD","Pull":"git pull https://review.opendev.org/openstack/hacking refs/changes/50/77950/2"}}},"commit":{"parents":[{"commit":"8e2e7063f28cc0b57f4dda1f2292625b52218561","subject":"Updated from global requirements","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/hacking/commit/8e2e7063f28cc0b57f4dda1f2292625b52218561"}]}],"author":{"name":"Lance Bragstad","email":"ldbragst@us.ibm.com","date":"2014-03-04 17:29:57.000000000","tz":0},"committer":{"name":"Lance Bragstad","email":"ldbragst@us.ibm.com","date":"2014-03-04 18:04:56.000000000","tz":0},"subject":"Add hacking check for inline comments with spaces","message":"Add hacking check for inline comments with spaces\n\nAdd a hacking check to ensure inline comments are started with a space,\nlike \u0027# my comment\u0027 instead of \u0027#my comment\u0027.\n\nChange-Id: I06ab02e8a0b5ae9cd30734d2286bd147f7477f3d\n","web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/hacking/commit/db5abf7f6e0abca7ef9f62dc2d0632fc0f585ed5"}],"resolve_conflicts_web_links":[{"name":"gitea","tooltip":"Open in GitWeb","url":"https://opendev.org/openstack/hacking/commit/db5abf7f6e0abca7ef9f62dc2d0632fc0f585ed5"}]},"branch":"refs/heads/master"}},"requirements":[],"submit_records":[],"submit_requirements":[]}
