)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":24,"context_line":"the incubating status."},{"line_number":25,"context_line":"- Separate hacking check factories are provided for adopter and incubating"},{"line_number":26,"context_line":"checks for use with tox.ini."},{"line_number":27,"context_line":"- A simple flake8 extension is provided at adds a \u0027--neutron_lib_incubating\u0027"},{"line_number":28,"context_line":"CLI option to flake8 to run incubating checks. This is intended to be used"},{"line_number":29,"context_line":"with flake8 for a warn-only option of adopter checks."},{"line_number":30,"context_line":"- Usage docs are updated; reflecting this process."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"3a98d1f4_26a18194","line":27,"range":{"start_line":27,"start_character":40,"end_line":27,"end_character":42},"updated":"2016-10-04 11:51:31.000000000","message":"that","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"0f6bb0ca55d0f83c092eee2d62db8ae2d9c1a385","unresolved":false,"context_lines":[{"line_number":24,"context_line":"the incubating status."},{"line_number":25,"context_line":"- Separate hacking check factories are provided for adopter and incubating"},{"line_number":26,"context_line":"checks for use with tox.ini."},{"line_number":27,"context_line":"- A simple flake8 extension is provided at adds a \u0027--neutron_lib_incubating\u0027"},{"line_number":28,"context_line":"CLI option to flake8 to run incubating checks. This is intended to be used"},{"line_number":29,"context_line":"with flake8 for a warn-only option of adopter checks."},{"line_number":30,"context_line":"- Usage docs are updated; reflecting this process."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":13,"id":"1a95cdbc_cfafa492","line":27,"range":{"start_line":27,"start_character":40,"end_line":27,"end_character":42},"in_reply_to":"3a98d1f4_26a18194","updated":"2016-10-06 13:27:45.000000000","message":"Done","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"6d2d6c0fd360568c092d86da7bac4b9035cf7f8e","unresolved":false,"context_lines":[{"line_number":23,"context_line":"This patch plays a part in a longer term hacking check strategy:"},{"line_number":24,"context_line":"- Adopters must run neutron-lib\u0027s hacking check factory() or its"},{"line_number":25,"context_line":"equivalent via their pep8 checks. This is part of their pep8 gate job"},{"line_number":26,"context_line":"once they update their tox.ini to use neutron\u0027s factory()."},{"line_number":27,"context_line":"- Adopters must run a non-voting neutron-lib-pep8-incubating gate job"},{"line_number":28,"context_line":"that runs pep8 with neutron-lib\u0027s incubating_factory(). This is means"},{"line_number":29,"context_line":"to warn adopters of upcoming checks without failing their gates."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"1a6eadb0_f771260d","line":26,"range":{"start_line":26,"start_character":37,"end_line":26,"end_character":47},"updated":"2016-12-16 10:37:33.000000000","message":"you mean neutron-lib\u0027s?","commit_id":"d1a5ea03c28f0da5651c3432072396d1ea6195ba"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"0daf86ba457deeabc4bd56548681a37e22f3c874","unresolved":false,"context_lines":[{"line_number":24,"context_line":"- Adopters must run neutron-lib\u0027s hacking check factory() or its"},{"line_number":25,"context_line":"equivalent via their pep8 checks. This is part of their pep8 gate job"},{"line_number":26,"context_line":"once they update their tox.ini to use neutron\u0027s factory()."},{"line_number":27,"context_line":"- Adopters must run a non-voting neutron-lib-pep8-incubating gate job"},{"line_number":28,"context_line":"that runs pep8 with neutron-lib\u0027s incubating_factory(). This is means"},{"line_number":29,"context_line":"to warn adopters of upcoming checks without failing their gates."},{"line_number":30,"context_line":"This job will be created (by me) assuming reviewers agree to this approach."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"1a6eadb0_bc06e1cb","line":27,"range":{"start_line":27,"start_character":61,"end_line":27,"end_character":65},"updated":"2016-12-15 13:00:49.000000000","message":"should it really be gate, and not e.g. periodic?","commit_id":"d1a5ea03c28f0da5651c3432072396d1ea6195ba"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"d3cf2aa34f1e888764a0b7d95b52109e17c5a8f0","unresolved":false,"context_lines":[{"line_number":24,"context_line":"- Adopters must run neutron-lib\u0027s hacking check factory() or its"},{"line_number":25,"context_line":"equivalent via their pep8 checks. This is part of their pep8 gate job"},{"line_number":26,"context_line":"once they update their tox.ini to use neutron\u0027s factory()."},{"line_number":27,"context_line":"- Adopters must run a non-voting neutron-lib-pep8-incubating gate job"},{"line_number":28,"context_line":"that runs pep8 with neutron-lib\u0027s incubating_factory(). This is means"},{"line_number":29,"context_line":"to warn adopters of upcoming checks without failing their gates."},{"line_number":30,"context_line":"This job will be created (by me) assuming reviewers agree to this approach."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"1a6eadb0_c9803cc2","line":27,"range":{"start_line":27,"start_character":61,"end_line":27,"end_character":65},"in_reply_to":"1a6eadb0_bc06e1cb","updated":"2016-12-15 14:08:44.000000000","message":"Periodic may be fine; can we discuss this detail on the gate job patch itself (forthcoming if this and its dependency lands)?","commit_id":"d1a5ea03c28f0da5651c3432072396d1ea6195ba"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"6d2d6c0fd360568c092d86da7bac4b9035cf7f8e","unresolved":false,"context_lines":[{"line_number":24,"context_line":"- Adopters must run neutron-lib\u0027s hacking check factory() or its"},{"line_number":25,"context_line":"equivalent via their pep8 checks. This is part of their pep8 gate job"},{"line_number":26,"context_line":"once they update their tox.ini to use neutron\u0027s factory()."},{"line_number":27,"context_line":"- Adopters must run a non-voting neutron-lib-pep8-incubating gate job"},{"line_number":28,"context_line":"that runs pep8 with neutron-lib\u0027s incubating_factory(). This is means"},{"line_number":29,"context_line":"to warn adopters of upcoming checks without failing their gates."},{"line_number":30,"context_line":"This job will be created (by me) assuming reviewers agree to this approach."}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"1a6eadb0_97cd5268","line":27,"range":{"start_line":27,"start_character":61,"end_line":27,"end_character":65},"in_reply_to":"1a6eadb0_c9803cc2","updated":"2016-12-16 10:37:33.000000000","message":"If we used the existing periodic job we can piggy-back script [1] to run hacking checks prior to unit testing. That can keep things in one place and save the number of items we need to look at if things go wrong. That said, my suggestion is generally to leave this depth of details out of a commit message, because if we end up doing something different, history for future users can be hard to track.\n\n[1] https://github.com/openstack-infra/project-config/blob/master/jenkins/scripts/run-tox-with-neutron-lib-master.sh","commit_id":"d1a5ea03c28f0da5651c3432072396d1ea6195ba"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"f61c6cb34d5969f70d25b0dd047696b157564d72","unresolved":false,"context_lines":[{"line_number":27,"context_line":"- Adopters must run a non-voting neutron-lib-pep8-incubating gate job"},{"line_number":28,"context_line":"that runs pep8 with neutron-lib\u0027s incubating_factory(). This is means"},{"line_number":29,"context_line":"to warn adopters of upcoming checks without failing their gates."},{"line_number":30,"context_line":"This job will be created (by me) assuming reviewers agree to this approach."},{"line_number":31,"context_line":"- We\u0027ll communicate hacking checks via the standard means (see usage"},{"line_number":32,"context_line":"docs herein)."},{"line_number":33,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":16,"id":"1a6eadb0_b2cc1c8a","line":30,"range":{"start_line":30,"start_character":0,"end_line":30,"end_character":73},"updated":"2016-12-16 10:38:34.000000000","message":"Any patch you propose, don\u0027t forget to add NeutronLibImpact ;)","commit_id":"d1a5ea03c28f0da5651c3432072396d1ea6195ba"}],"doc/source/usage.rst":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":49,"context_line":"To use neutron-lib hacking checks with the ``flake8`` CLI directly, simply use a ``tox.ini``"},{"line_number":50,"context_line":"in the current directory that defines a ``local-check-factory`` as described above."},{"line_number":51,"context_line":"With ``tox.ini`` in the current directory, the checks registered via the defined factory"},{"line_number":52,"context_line":"are avaiable to the ``flake8`` CLI."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Hacking Checks Implemented"}],"source_content_type":"text/x-rst","patch_set":13,"id":"3a98d1f4_664389af","line":52,"range":{"start_line":52,"start_character":4,"end_line":52,"end_character":12},"updated":"2016-10-04 11:51:31.000000000","message":"available","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":49,"context_line":"To use neutron-lib hacking checks with the ``flake8`` CLI directly, simply use a ``tox.ini``"},{"line_number":50,"context_line":"in the current directory that defines a ``local-check-factory`` as described above."},{"line_number":51,"context_line":"With ``tox.ini`` in the current directory, the checks registered via the defined factory"},{"line_number":52,"context_line":"are avaiable to the ``flake8`` CLI."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":""},{"line_number":55,"context_line":"Hacking Checks Implemented"}],"source_content_type":"text/x-rst","patch_set":13,"id":"1a95cdbc_657890f3","line":52,"range":{"start_line":52,"start_character":4,"end_line":52,"end_character":12},"in_reply_to":"3a98d1f4_664389af","updated":"2016-10-05 22:08:46.000000000","message":"Done","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"}],"neutron_lib/hacking/__init__.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"def _neutron_lib_flake8ext(func):"},{"line_number":61,"context_line":"    \"\"\"flake8ext decorator drop-in for neutron-lib only hacking checks.\"\"\""},{"line_number":62,"context_line":"    return _add_flake8ext(func, _Tags.NEUTRON_LIB)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_9ce70546","line":61,"range":{"start_line":61,"start_character":39,"end_line":61,"end_character":55},"updated":"2016-10-04 11:51:31.000000000","message":"it was not clear to me on first read that it\u0027s \u0027neutron-lib internal\u0027 checks. Maybe consider changing the wording here accordingly so that it\u0027s more clear.","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":58,"context_line":""},{"line_number":59,"context_line":""},{"line_number":60,"context_line":"def _neutron_lib_flake8ext(func):"},{"line_number":61,"context_line":"    \"\"\"flake8ext decorator drop-in for neutron-lib only hacking checks.\"\"\""},{"line_number":62,"context_line":"    return _add_flake8ext(func, _Tags.NEUTRON_LIB)"},{"line_number":63,"context_line":""},{"line_number":64,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_a560d836","line":61,"range":{"start_line":61,"start_character":39,"end_line":61,"end_character":55},"in_reply_to":"3a98d1f4_9ce70546","updated":"2016-10-05 22:08:46.000000000","message":"Done","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"}],"neutron_lib/hacking/checks.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":15,"context_line":"import re"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"import pep8"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from debtcollector import moves"},{"line_number":20,"context_line":"from debtcollector import removals"},{"line_number":21,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_e6b79982","line":18,"updated":"2016-10-04 11:51:31.000000000","message":"nit: this newline is probably not needed because both pep8 and debtcollector are 3party libs.","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":15,"context_line":"import re"},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"import pep8"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from debtcollector import moves"},{"line_number":20,"context_line":"from debtcollector import removals"},{"line_number":21,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_c5f1646c","line":18,"in_reply_to":"3a98d1f4_e6b79982","updated":"2016-10-05 22:08:46.000000000","message":"Done","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":256,"context_line":"    :param register: The function to register the check functions with."},{"line_number":257,"context_line":"    :returns: None."},{"line_number":258,"context_line":"    \"\"\""},{"line_number":259,"context_line":"    _register_checks_by_tag(register, hacking._Tags.ADOPTER)"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"def incubating_hacking_check_factory(register):"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_9cfd450b","line":259,"updated":"2016-10-04 11:51:31.000000000","message":"hm. so when I use the factory, I won\u0027t have neutron-lib checks registered for me? is it really the intent here? I was thinking, when using adopter factory, I want both neutron-lib (failing) as well as adopter (warning) checks executed.","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":256,"context_line":"    :param register: The function to register the check functions with."},{"line_number":257,"context_line":"    :returns: None."},{"line_number":258,"context_line":"    \"\"\""},{"line_number":259,"context_line":"    _register_checks_by_tag(register, hacking._Tags.ADOPTER)"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"def incubating_hacking_check_factory(register):"}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_c892594b","line":259,"in_reply_to":"3a98d1f4_9cfd450b","updated":"2016-10-05 22:08:46.000000000","message":"So there are really 3 sets of checks that are each registered by a corresponding factory function:\n- neutron-lib project internal checks. No consumers should be using this factory.\n- Adopter (non-incubating) checks. This is the set of checks consumers need to comply with (via our factory()). As we\u0027ve learned we shouldn\u0027t just popping in new checks here as it breaks consumers. They need time to comply. To help them comply we provide the incubating checks (see below) that they can run in \u0027warn-only\u0027 mode.\n- Incubating checks. These are new adopter checks that we are rolling out. To not break consumers we incubate these checks for 2 releases (our deprecation policy) before moving them into adopter non-incubating checks. These checks can be run in warn-only mode by consumers allowing them time to prep for upcoming check \"release\" (e.g. finish incubation and move to non-incubating adopter checks).\n\n\nSo if adopter_hacking_check_factory() (note I\u0027ve renamed this back to factory() in my working patch) registered both incubating and non-incubating checks; it\u0027s effectively what factory() does today and would give us no way to incubate new checks.\n\n\n... Clear as mud?","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":259,"context_line":"    _register_checks_by_tag(register, hacking._Tags.ADOPTER)"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"def incubating_hacking_check_factory(register):"},{"line_number":263,"context_line":"    \"\"\"Hacking check factory for neutron-lib incubating checks."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"    Hacking check factory for use with tox.ini. This factory registers all"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_3c36f1e7","line":262,"updated":"2016-10-04 11:51:31.000000000","message":"when should a consumer use this factory? I mean, should it be public?","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"190546bc2766fa2ff72ec865656ec51dea1b7aaf","unresolved":false,"context_lines":[{"line_number":259,"context_line":"    _register_checks_by_tag(register, hacking._Tags.ADOPTER)"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"def incubating_hacking_check_factory(register):"},{"line_number":263,"context_line":"    \"\"\"Hacking check factory for neutron-lib incubating checks."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"    Hacking check factory for use with tox.ini. This factory registers all"}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_8f64bc49","line":262,"in_reply_to":"1a95cdbc_457394e7","updated":"2016-10-06 13:29:58.000000000","message":"Turns out I wanted to use this function for testing this patch, so I changed my mind on public vs private. As a result IMO consumers should be able to access the incubating factory method via public API. That said in the latest patch I\u0027ve renamed this to incubating_factory() and left if public.","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":259,"context_line":"    _register_checks_by_tag(register, hacking._Tags.ADOPTER)"},{"line_number":260,"context_line":""},{"line_number":261,"context_line":""},{"line_number":262,"context_line":"def incubating_hacking_check_factory(register):"},{"line_number":263,"context_line":"    \"\"\"Hacking check factory for neutron-lib incubating checks."},{"line_number":264,"context_line":""},{"line_number":265,"context_line":"    Hacking check factory for use with tox.ini. This factory registers all"}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_457394e7","line":262,"in_reply_to":"3a98d1f4_3c36f1e7","updated":"2016-10-05 22:08:46.000000000","message":"Theoretically its a general purpose factory that can be used programmatically (via tox, py code, etc.), but I agree we can make it private until we have a need/reason not to in order to reduce the surface area of our public API.","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":272,"context_line":"    _register_checks_by_tag(register, hacking._Tags.INCUBATING)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"factory \u003d moves.moved_function(adopter_hacking_check_factory,"},{"line_number":276,"context_line":"                               \u0027factory\u0027, __name__,"},{"line_number":277,"context_line":"                               message\u003d\u0027function renamed to reflect \u0027"},{"line_number":278,"context_line":"                                       \u0027explicit usage\u0027,"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_5c549dc9","line":275,"updated":"2016-10-04 11:51:31.000000000","message":"If I assume correctly, this is the only factory actually designed to be consumed by external entities. If that\u0027s the case, what\u0027s the problem with keeping the name as-is?","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":272,"context_line":"    _register_checks_by_tag(register, hacking._Tags.INCUBATING)"},{"line_number":273,"context_line":""},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"factory \u003d moves.moved_function(adopter_hacking_check_factory,"},{"line_number":276,"context_line":"                               \u0027factory\u0027, __name__,"},{"line_number":277,"context_line":"                               message\u003d\u0027function renamed to reflect \u0027"},{"line_number":278,"context_line":"                                       \u0027explicit usage\u0027,"}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_858f5ccb","line":275,"in_reply_to":"3a98d1f4_5c549dc9","updated":"2016-10-05 22:08:46.000000000","message":"The intent was to rename the generic \u0027factory\u0027 to something that better (more explicitly) reflected the roll-out scheme. But I\u0027m fine with leaving the name as factory()","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"}],"neutron_lib/tests/_base.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            # This makes sys.exit(0) still a failure"},{"line_number":203,"context_line":"            self.force_failure \u003d True"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"    def assertSortedEqual(self, expected, actual):"},{"line_number":206,"context_line":"        return self.assertEqual(sorted(expected), sorted(actual))"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"    def assertSortedEqualFunctions(self, expected, actual):"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_5c057d12","line":205,"range":{"start_line":205,"start_character":8,"end_line":205,"end_character":25},"updated":"2016-10-04 11:51:31.000000000","message":"assertItemsEqual? Doesn\u0027t it do the same thing for you?","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":202,"context_line":"            # This makes sys.exit(0) still a failure"},{"line_number":203,"context_line":"            self.force_failure \u003d True"},{"line_number":204,"context_line":""},{"line_number":205,"context_line":"    def assertSortedEqual(self, expected, actual):"},{"line_number":206,"context_line":"        return self.assertEqual(sorted(expected), sorted(actual))"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"    def assertSortedEqualFunctions(self, expected, actual):"}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_c8d3395e","line":205,"range":{"start_line":205,"start_character":8,"end_line":205,"end_character":25},"in_reply_to":"3a98d1f4_5c057d12","updated":"2016-10-05 22:08:46.000000000","message":"Lets see when I submit the new patch; I want to make sure it passes on all venvs.","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":206,"context_line":"        return self.assertEqual(sorted(expected), sorted(actual))"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"    def assertSortedEqualFunctions(self, expected, actual):"},{"line_number":209,"context_line":"        # py27 + py3x complaint assertSortedEqual() for comparing functions"},{"line_number":210,"context_line":"        return self.assertSortedEqual([f.__name__ for f in expected],"},{"line_number":211,"context_line":"                                      [f.__name__ for f in actual])"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_9f4b775f","line":209,"range":{"start_line":209,"start_character":22,"end_line":209,"end_character":31},"updated":"2016-10-04 11:51:31.000000000","message":"compliant","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"36ffb5834be9fe46eb9332a1054caaa3ce8214ce","unresolved":false,"context_lines":[{"line_number":206,"context_line":"        return self.assertEqual(sorted(expected), sorted(actual))"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"    def assertSortedEqualFunctions(self, expected, actual):"},{"line_number":209,"context_line":"        # py27 + py3x complaint assertSortedEqual() for comparing functions"},{"line_number":210,"context_line":"        return self.assertSortedEqual([f.__name__ for f in expected],"},{"line_number":211,"context_line":"                                      [f.__name__ for f in actual])"},{"line_number":212,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"1a95cdbc_e8cab5a0","line":209,"range":{"start_line":209,"start_character":22,"end_line":209,"end_character":31},"in_reply_to":"3a98d1f4_9f4b775f","updated":"2016-10-05 22:08:46.000000000","message":"Done","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"}],"neutron_lib/tests/unit/hacking/test_checks.py":[{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"dfef3e3eb7942717420e9339892ad5efbe4e5812","unresolved":false,"context_lines":[{"line_number":219,"context_line":"                              \u0027neutron_lib/db/utils.py\u0027,"},{"line_number":220,"context_line":"                              dummy_noqa)"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"    def test_check_eventlet_imports(self):"},{"line_number":223,"context_line":"        f \u003d checks.check_no_eventlet_imports"},{"line_number":224,"context_line":"        self.assertLineFails(f, \"import eventlet\")"},{"line_number":225,"context_line":"        self.assertLineFails(f, \"import eventlet.timeout\")"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_0e3cecc6","line":222,"range":{"start_line":222,"start_character":8,"end_line":222,"end_character":35},"updated":"2016-08-29 20:32:18.000000000","message":"I was trying to figure out how I added this.\n\n\nLooks like it was accidentally pulled on a revert: https://github.com/openstack/neutron-lib/commit/27cfad92102b4f54b4dbea175fcf944b46397289#diff-f8d50ee8f7928145d126ae36c0d16900L259\n\n\n\nI\u0027ll pull this into a different patch for clarity.","commit_id":"00791be8bfd35b27b2f38adde9e91ec572417089"},{"author":{"_account_id":5367,"name":"boden","email":"bodenvmw@gmail.com","username":"boden"},"change_message_id":"bfd30077f105007263732896be26f5090bc121d8","unresolved":false,"context_lines":[{"line_number":219,"context_line":"                              \u0027neutron_lib/db/utils.py\u0027,"},{"line_number":220,"context_line":"                              dummy_noqa)"},{"line_number":221,"context_line":""},{"line_number":222,"context_line":"    def test_check_eventlet_imports(self):"},{"line_number":223,"context_line":"        f \u003d checks.check_no_eventlet_imports"},{"line_number":224,"context_line":"        self.assertLineFails(f, \"import eventlet\")"},{"line_number":225,"context_line":"        self.assertLineFails(f, \"import eventlet.timeout\")"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa7ab95a_ee0ee88a","line":222,"range":{"start_line":222,"start_character":8,"end_line":222,"end_character":35},"in_reply_to":"fa7ab95a_0e3cecc6","updated":"2016-08-29 20:38:22.000000000","message":"Moved to separate patch: https://review.openstack.org/#/c/362422/","commit_id":"00791be8bfd35b27b2f38adde9e91ec572417089"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bd7b8237607aa3b5f3ee2e7b72e1ed16d8c261fb","unresolved":false,"context_lines":[{"line_number":10,"context_line":"#    License for the specific language governing permissions and limitations"},{"line_number":11,"context_line":"#    under the License."},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"import mock"},{"line_number":14,"context_line":"import re"},{"line_number":15,"context_line":""},{"line_number":16,"context_line":"import testtools"}],"source_content_type":"text/x-python","patch_set":13,"id":"3a98d1f4_7f514bd8","line":13,"updated":"2016-10-04 11:51:31.000000000","message":"some people say it\u0027s a 3party library, so it goes into the next section. but since it\u0027s in stdlib in py3, meh.","commit_id":"6b1d9cf9a3d2d2927a8c4418204af1d2cf854b7f"}]}
