)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"96ff9c26cad70db71f168e69a6e11cb76637dbc4","unresolved":false,"context_lines":[{"line_number":8,"context_line":""},{"line_number":9,"context_line":"We plan to have all projects that integrate with Neutron use the same"},{"line_number":10,"context_line":"alembic environment (Neutron\u0027s) instead of having a separate alembic"},{"line_number":11,"context_line":"env.py in each repo. This means that each project will need to label"},{"line_number":12,"context_line":"their contract and expand branches uniquely."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"With this patch we add support for branch labels of the form"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"dada55a8_afcc8f89","line":11,"updated":"2016-07-21 12:10:20.000000000","message":"Though the bug describes the rationale behind the change, it could be good to have a brief description of the use case in focus in the commit message too.","commit_id":"fa29858b21336c94bd2a308dc7f6858a426aab7c"}],"neutron/db/migration/cli.py":[{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"96ff9c26cad70db71f168e69a6e11cb76637dbc4","unresolved":false,"context_lines":[{"line_number":96,"context_line":"    project \u003d config.get_main_option(\u0027neutron_project\u0027)"},{"line_number":97,"context_line":"    args \u003d []"},{"line_number":98,"context_line":"    if revision:"},{"line_number":99,"context_line":"        target_branch \u003d revision.split(\u0027@\u0027)[0]"},{"line_number":100,"context_line":"        # Support both common and unique branch labels."},{"line_number":101,"context_line":"        if target_branch not in _get_branch_labels(config):"},{"line_number":102,"context_line":"            if target_branch in MIGRATION_BRANCHES:"}],"source_content_type":"text/x-python","patch_set":2,"id":"dada55a8_2f641fb7","line":99,"range":{"start_line":99,"start_character":24,"end_line":99,"end_character":46},"updated":"2016-07-21 12:10:20.000000000","message":"Which formats do you envision here? Can you give some examples in comments for reader ease? That may go a long way to make the code easy to apprehend.","commit_id":"fa29858b21336c94bd2a308dc7f6858a426aab7c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"96ff9c26cad70db71f168e69a6e11cb76637dbc4","unresolved":false,"context_lines":[{"line_number":103,"context_line":"                # Prepend the project name to the revision."},{"line_number":104,"context_line":"                revision \u003d \u0027-\u0027.join([project, revision])"},{"line_number":105,"context_line":"            else:"},{"line_number":106,"context_line":"                # Remove the project name from the revision."},{"line_number":107,"context_line":"                for branch in MIGRATION_BRANCHES:"},{"line_number":108,"context_line":"                    if target_branch.endswith(branch):"},{"line_number":109,"context_line":"                        revision \u003d revision[revision.index(branch):]"}],"source_content_type":"text/x-python","patch_set":2,"id":"dada55a8_52501c0b","line":106,"updated":"2016-07-21 12:10:20.000000000","message":"Does the case implicitly assume revision does not have @?","commit_id":"fa29858b21336c94bd2a308dc7f6858a426aab7c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"96ff9c26cad70db71f168e69a6e11cb76637dbc4","unresolved":false,"context_lines":[{"line_number":155,"context_line":"    \"\"\"Return the revision(s) for a given milestone.\"\"\""},{"line_number":156,"context_line":"    script \u003d alembic_script.ScriptDirectory.from_config(config)"},{"line_number":157,"context_line":"    milestone_revisions \u003d []"},{"line_number":158,"context_line":"    for m in _get_revisions(script):"},{"line_number":159,"context_line":"        for branch_label in (m.branch_labels or [None]):"},{"line_number":160,"context_line":"            if milestone in getattr(m.module, \u0027neutron_milestone\u0027, []):"},{"line_number":161,"context_line":"                if branch is None or branch_label.endswith(branch):"}],"source_content_type":"text/x-python","patch_set":2,"id":"dada55a8_d26b6cb5","line":158,"updated":"2016-07-21 12:10:20.000000000","message":"(No action required) You love code stairs... :)","commit_id":"fa29858b21336c94bd2a308dc7f6858a426aab7c"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"96ff9c26cad70db71f168e69a6e11cb76637dbc4","unresolved":false,"context_lines":[{"line_number":298,"context_line":"    for label in revision.branch_labels:"},{"line_number":299,"context_line":"        for expected_label in expected_labels:"},{"line_number":300,"context_line":"            if label.endswith(expected_label):"},{"line_number":301,"context_line":"                expected_branch_labels.add(label)"},{"line_number":302,"context_line":"    bad_labels \u003d revision.branch_labels - expected_branch_labels"},{"line_number":303,"context_line":"    if bad_labels:"},{"line_number":304,"context_line":"        script_name \u003d os.path.basename(revision.path)"}],"source_content_type":"text/x-python","patch_set":2,"id":"dada55a8_1206a41f","line":301,"updated":"2016-07-21 12:10:20.000000000","message":"should we break?","commit_id":"fa29858b21336c94bd2a308dc7f6858a426aab7c"}]}
