)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"a5f8bf8a110526d9b2f73a78e2189320354a80a3","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Makes use of new Alembic 0.8 features to allow"},{"line_number":10,"context_line":"altering of the \"alembic revision\" stream such"},{"line_number":11,"context_line":"that operations for expand and contract are"},{"line_number":12,"context_line":"directed into separate branches."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Ifa743e2f5b90e59a8de8f4e7a67c4bbe46686804"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"fa1b9901_811487f5","line":12,"updated":"2015-08-18 11:13:02.000000000","message":"Add line: Partially-Implements: blueprint online-schema-migrations","commit_id":"daa3a28a6260130615a2690f838c6fc32607328d"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"22a1be2ba440fe9645663b641ddac662dfd7fca8","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Makes use of new Alembic 0.8 features to allow"},{"line_number":10,"context_line":"altering of the \"alembic revision\" stream such"},{"line_number":11,"context_line":"that operations for expand and contract are"},{"line_number":12,"context_line":"directed into separate branches."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Ifa743e2f5b90e59a8de8f4e7a67c4bbe46686804"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"da20952f_4867a7b7","line":12,"updated":"2015-09-08 10:55:41.000000000","message":"You need also to add line in commit message:\nPartially-Implements: blueprint online-schema-migrations","commit_id":"7244fa7a6f1ccab55011319f4efcb3cadb6c70cf"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"15da2db0ef16caeec204e5ded8f19c0c961ca66b","unresolved":false,"context_lines":[{"line_number":9,"context_line":"Makes use of new Alembic 0.8 features to allow"},{"line_number":10,"context_line":"altering of the \"alembic revision\" stream such"},{"line_number":11,"context_line":"that operations for expand and contract are"},{"line_number":12,"context_line":"directed into separate branches."},{"line_number":13,"context_line":""},{"line_number":14,"context_line":"Change-Id: Ifa743e2f5b90e59a8de8f4e7a67c4bbe46686804"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":11,"id":"da20952f_ea5545c2","line":12,"in_reply_to":"da20952f_4867a7b7","updated":"2015-09-08 15:07:43.000000000","message":"yup","commit_id":"7244fa7a6f1ccab55011319f4efcb3cadb6c70cf"}],"neutron/db/migration/autogen.py":[{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"0ecb301ef9e3c4209f8f723e3cdf6038d05cfaa1","unresolved":false,"context_lines":[{"line_number":5,"context_line":""},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"def process_revision_directives(context, revision, directives):"},{"line_number":8,"context_line":"    #_separate_migration_branches_supported(CONF)"},{"line_number":9,"context_line":"    directives[:] \u003d ["},{"line_number":10,"context_line":"        directive for directive in _assign_directives(directives)"},{"line_number":11,"context_line":"    ]"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_0ee4f038","line":8,"updated":"2015-07-21 15:23:56.000000000","message":"so over here, when this is called, \"directives\" is a single-element list that contains an object ops.MigrationScript().  It\u0027s a command that says to create a single revision file.  We rewrite this list to deliver *two* ops.MigrationScript() objects, one in \"expand\" and one in \"contract\".  So we get the two files for one \"alembic revision\" command.   If we run \"alembic revision\" without autogenerate, there\u0027s an extra directive I need to stick in so that the \"env.py\" still runs our extension here.","commit_id":"ed09688af975cb73f33efb9b7c08863507149aa1"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"0ecb301ef9e3c4209f8f723e3cdf6038d05cfaa1","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        version_path\u003dversion_path"},{"line_number":94,"context_line":"    )"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"    if not op.upgrade_ops.is_empty():"},{"line_number":97,"context_line":"        return op"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_4e48b82d","line":96,"updated":"2015-07-21 15:23:56.000000000","message":"over here, I need to make sure this delivers an empty MigrationScript if we ran without autogenerate.","commit_id":"ed09688af975cb73f33efb9b7c08863507149aa1"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"a5f8bf8a110526d9b2f73a78e2189320354a80a3","unresolved":false,"context_lines":[{"line_number":1,"context_line":"from alembic.util import Dispatcher, rev_id as new_rev_id"},{"line_number":2,"context_line":"from alembic.operations import ops"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"from neutron.db.migration import cli"}],"source_content_type":"text/x-python","patch_set":6,"id":"fa1b9901_41ad0fe8","line":1,"updated":"2015-08-18 11:13:02.000000000","message":"License header is missing.","commit_id":"daa3a28a6260130615a2690f838c6fc32607328d"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e81f7a57e9a5abf74366a89bfd785be4ee3be396","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"fa1b9901_087021db","updated":"2015-08-20 12:44:08.000000000","message":"Seems like we have no test coverage for the code. Do you think it\u0027s reasonable to have some tests that target it?","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"f5d7bfc00a0f8fc83c5313706ff33ea6ed833872","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"fa1b9901_aac9e25a","in_reply_to":"fa1b9901_087021db","updated":"2015-08-20 15:05:17.000000000","message":"I do, but also im even wondering do neutron devs even use the autogenerate feature in the first place?","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a2f2d338efcdee77e4317e5c84aff45e1324a781","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":7,"id":"fa1b9901_45f03791","in_reply_to":"fa1b9901_aac9e25a","updated":"2015-08-20 15:19:56.000000000","message":"Yes, many try.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e81f7a57e9a5abf74366a89bfd785be4ee3be396","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_68a8bd20","line":1,"updated":"2015-08-20 12:44:08.000000000","message":"I don\u0027t think you work for the foundation.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"cd3e8c4c89c04c281290f31b1e0b03f2e45a7e86","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_aac32288","line":1,"in_reply_to":"fa1b9901_68a8bd20","updated":"2015-08-20 15:03:39.000000000","message":"i have no idea how thats supposed to work, a person writes a new .py file and puts their company name as the \"copyright\".  but then 20 people from different companies make changes.   how does that work ?","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"a2f2d338efcdee77e4317e5c84aff45e1324a781","unresolved":false,"context_lines":[{"line_number":1,"context_line":"# Copyright (c) 2015 OpenStack Foundation."},{"line_number":2,"context_line":"#"},{"line_number":3,"context_line":"#    Licensed under the Apache License, Version 2.0 (the \"License\"); you may"},{"line_number":4,"context_line":"#    not use this file except in compliance with the License. You may obtain"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_e5e94bb8","line":1,"in_reply_to":"fa1b9901_aac32288","updated":"2015-08-20 15:19:56.000000000","message":"I am not a lawyer, but these copyrights seem to matter as much as the points in Whose Line Is It Anyway.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e81f7a57e9a5abf74366a89bfd785be4ee3be396","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    cli._check_bootstrap_new_branch(phase, version_path, autogen_kwargs)"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    op \u003d ops.MigrationScript("},{"line_number":60,"context_line":"        directive.rev_id if phase \u003d\u003d \u0027expand\u0027 else new_rev_id(),"},{"line_number":61,"context_line":"        ops.UpgradeOps(ops\u003d["},{"line_number":62,"context_line":"            d for d in _assign_directives("},{"line_number":63,"context_line":"                context, directive.upgrade_ops.ops, phase)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_68f0bd91","line":60,"updated":"2015-08-20 12:44:08.000000000","message":"I am not sure I follow that if-else. Can you elaborate what it does?","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"2a16faa8b751190a62f2046f23c69c19e2b39b8a","unresolved":false,"context_lines":[{"line_number":57,"context_line":"    cli._check_bootstrap_new_branch(phase, version_path, autogen_kwargs)"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"    op \u003d ops.MigrationScript("},{"line_number":60,"context_line":"        directive.rev_id if phase \u003d\u003d \u0027expand\u0027 else new_rev_id(),"},{"line_number":61,"context_line":"        ops.UpgradeOps(ops\u003d["},{"line_number":62,"context_line":"            d for d in _assign_directives("},{"line_number":63,"context_line":"                context, directive.upgrade_ops.ops, phase)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_60e20931","line":60,"in_reply_to":"fa1b9901_68f0bd91","updated":"2015-08-20 15:32:02.000000000","message":"so, autogenerate runs, it creates an object called ops.MigrationScript(), and it has a rev id created from new_rev_id().   Our extension here then jumps in; what we want to do is throw away that ops.MigrationScript() object, and make a series of new ones, one for each branch in cli.MIGRATION_BRANCHES.   Each of these needs to have an independent rev_id.   So this conditional is only attempting to re-use the *first* rev_id that we already had.   It is possible that we can throw that number away and just use new_rev_id() for all revisions, I don\u0027t think that first number is special, though I\u0027d have to check.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e81f7a57e9a5abf74366a89bfd785be4ee3be396","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    if phase \u003d\u003d \u0027expand\u0027:"},{"line_number":80,"context_line":"        return directive"},{"line_number":81,"context_line":"    else:"},{"line_number":82,"context_line":"        return None"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"@_ec_dispatcher.dispatch_for(ops.DropConstraintOp)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_c8254909","line":82,"updated":"2015-08-20 12:44:08.000000000","message":"nit: return None is implicit in python, so you can avoid else: ...","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"2a16faa8b751190a62f2046f23c69c19e2b39b8a","unresolved":false,"context_lines":[{"line_number":79,"context_line":"    if phase \u003d\u003d \u0027expand\u0027:"},{"line_number":80,"context_line":"        return directive"},{"line_number":81,"context_line":"    else:"},{"line_number":82,"context_line":"        return None"},{"line_number":83,"context_line":""},{"line_number":84,"context_line":""},{"line_number":85,"context_line":"@_ec_dispatcher.dispatch_for(ops.DropConstraintOp)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_400105ae","line":82,"in_reply_to":"fa1b9901_c8254909","updated":"2015-08-20 15:32:02.000000000","message":"IMHO without an explicit \"return None\" the intent is not clear; it looks like a coding mistake.   I\u0027d want to ask the larger community about this one.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d7ee650dacaa5e31cf7403cf01abe557d10d0453","unresolved":false,"context_lines":[{"line_number":49,"context_line":"    and an expand/contract phase name, produce a new ops.MigrationScript()"},{"line_number":50,"context_line":"    which contains only those sub-directives appropriate to \"expand\" or"},{"line_number":51,"context_line":"    \"contract\".  Also ensure that the branch directory exists and that"},{"line_number":52,"context_line":"    the correct branch labels/depends_on/head revision are set up."},{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    \"\"\""},{"line_number":55,"context_line":"    version_path \u003d cli._get_version_branch_path(context.config, phase)"}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_4c91c851","line":52,"updated":"2015-09-09 11:21:14.000000000","message":"depends_on is not used anymore.","commit_id":"6576bea07c6c268b16e6c1f118b858e698452e2b"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d7ee650dacaa5e31cf7403cf01abe557d10d0453","unresolved":false,"context_lines":[{"line_number":76,"context_line":"@_ec_dispatcher.dispatch_for(ops.CreateTableOp)"},{"line_number":77,"context_line":"@_ec_dispatcher.dispatch_for(ops.AddColumnOp)"},{"line_number":78,"context_line":"def _expands(context, directive, phase):"},{"line_number":79,"context_line":"    if phase \u003d\u003d \u0027expand\u0027:"},{"line_number":80,"context_line":"        return directive"},{"line_number":81,"context_line":"    else:"},{"line_number":82,"context_line":"        return None"}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_8c38403f","line":79,"updated":"2015-09-09 11:21:14.000000000","message":"Those branch names are defined in cli module.","commit_id":"6576bea07c6c268b16e6c1f118b858e698452e2b"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d7ee650dacaa5e31cf7403cf01abe557d10d0453","unresolved":false,"context_lines":[{"line_number":87,"context_line":"@_ec_dispatcher.dispatch_for(ops.DropTableOp)"},{"line_number":88,"context_line":"@_ec_dispatcher.dispatch_for(ops.DropColumnOp)"},{"line_number":89,"context_line":"def _contracts(context, directive, phase):"},{"line_number":90,"context_line":"    if phase \u003d\u003d \u0027contract\u0027:"},{"line_number":91,"context_line":"        return directive"},{"line_number":92,"context_line":"    else:"},{"line_number":93,"context_line":"        return None"}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_4c3b0839","line":90,"updated":"2015-09-09 11:21:14.000000000","message":"ditto","commit_id":"6576bea07c6c268b16e6c1f118b858e698452e2b"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d7ee650dacaa5e31cf7403cf01abe557d10d0453","unresolved":false,"context_lines":[{"line_number":95,"context_line":""},{"line_number":96,"context_line":"@_ec_dispatcher.dispatch_for(ops.AlterColumnOp)"},{"line_number":97,"context_line":"def _alter_column(context, directive, phase):"},{"line_number":98,"context_line":"    is_expand \u003d phase \u003d\u003d \u0027expand\u0027"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    if is_expand and ("},{"line_number":101,"context_line":"        directive.modify_nullable is True"}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_cc2e38fa","line":98,"updated":"2015-09-09 11:21:14.000000000","message":"ditto","commit_id":"6576bea07c6c268b16e6c1f118b858e698452e2b"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"d7ee650dacaa5e31cf7403cf01abe557d10d0453","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        return directive"},{"line_number":108,"context_line":"    else:"},{"line_number":109,"context_line":"        raise NotImplementedError("},{"line_number":110,"context_line":"            \"Don\u0027t know if operation is an expand or \""},{"line_number":111,"context_line":"            \"contract at the moment: %s\" % directive)"},{"line_number":112,"context_line":""},{"line_number":113,"context_line":""}],"source_content_type":"text/x-python","patch_set":14,"id":"da20952f_ac8d042c","line":110,"updated":"2015-09-09 11:21:14.000000000","message":"should it be translatable?","commit_id":"6576bea07c6c268b16e6c1f118b858e698452e2b"}],"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":"887265be7d1965aab5879184e9c41a874700b6a6","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"def do_revision(config, cmd):"},{"line_number":134,"context_line":"    \u0027\u0027\u0027Generate new revision files, one per branch.\u0027\u0027\u0027"},{"line_number":135,"context_line":"    if _separate_migration_branches_supported(CONF):"},{"line_number":136,"context_line":"        for branch in MIGRATION_BRANCHES:"},{"line_number":137,"context_line":"            version_path \u003d _get_version_branch_path(CONF, branch)"},{"line_number":138,"context_line":"            head \u003d _get_branch_head(branch)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_4f4a0fae","side":"PARENT","line":135,"updated":"2015-07-21 08:28:59.000000000","message":"Why do we kill that? We want to support older branch less scheme. Doesn\u0027t it break it?","commit_id":"11c0900dea4d4e691c0c68cd7b0c9cff656ce7a2"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"0ecb301ef9e3c4209f8f723e3cdf6038d05cfaa1","unresolved":false,"context_lines":[{"line_number":132,"context_line":""},{"line_number":133,"context_line":"def do_revision(config, cmd):"},{"line_number":134,"context_line":"    \u0027\u0027\u0027Generate new revision files, one per branch.\u0027\u0027\u0027"},{"line_number":135,"context_line":"    if _separate_migration_branches_supported(CONF):"},{"line_number":136,"context_line":"        for branch in MIGRATION_BRANCHES:"},{"line_number":137,"context_line":"            version_path \u003d _get_version_branch_path(CONF, branch)"},{"line_number":138,"context_line":"            head \u003d _get_branch_head(branch)"}],"source_content_type":"text/x-python","patch_set":1,"id":"3a50d1a3_8e7240ac","side":"PARENT","line":135,"in_reply_to":"3a50d1a3_4f4a0fae","updated":"2015-07-21 15:23:56.000000000","message":"so the way this was here doesn\u0027t work, because when you run \"revision --autogenerate\" it runs autogen for \"expand\", creates a new revision file, the runs autogen a second time for \"contract\", and fails, because you can\u0027t run autogen if all branches aren\u0027t at HEAD.  Now if you ran *without* autogen, you get the two files in expand/contract like you\u0027d want.  But the extension I\u0027ve added here does this as well (I have to fix one tweak in it for it to work).   I\u0027ll comment over there...","commit_id":"11c0900dea4d4e691c0c68cd7b0c9cff656ce7a2"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e81f7a57e9a5abf74366a89bfd785be4ee3be396","unresolved":false,"context_lines":[{"line_number":30,"context_line":"# TODO(ihrachyshka): maintain separate HEAD files per branch"},{"line_number":31,"context_line":"HEAD_FILENAME \u003d \u0027HEAD\u0027"},{"line_number":32,"context_line":"HEADS_FILENAME \u003d \u0027HEADS\u0027"},{"line_number":33,"context_line":"PREVIOUS_RELEASE \u003d \"kilo\""},{"line_number":34,"context_line":"CURRENT_RELEASE \u003d \"liberty\""},{"line_number":35,"context_line":"RELEASES \u003d (CURRENT_RELEASE,)"},{"line_number":36,"context_line":"MIGRATION_BRANCHES \u003d (\u0027expand\u0027, \u0027contract\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_68fafd44","line":33,"updated":"2015-08-20 12:44:08.000000000","message":"If I would need the previous release name, I would better have a tuple of release names + a helper function to iterate thru it. But see below.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"cd3e8c4c89c04c281290f31b1e0b03f2e45a7e86","unresolved":false,"context_lines":[{"line_number":30,"context_line":"# TODO(ihrachyshka): maintain separate HEAD files per branch"},{"line_number":31,"context_line":"HEAD_FILENAME \u003d \u0027HEAD\u0027"},{"line_number":32,"context_line":"HEADS_FILENAME \u003d \u0027HEADS\u0027"},{"line_number":33,"context_line":"PREVIOUS_RELEASE \u003d \"kilo\""},{"line_number":34,"context_line":"CURRENT_RELEASE \u003d \"liberty\""},{"line_number":35,"context_line":"RELEASES \u003d (CURRENT_RELEASE,)"},{"line_number":36,"context_line":"MIGRATION_BRANCHES \u003d (\u0027expand\u0027, \u0027contract\u0027)"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_2adab24c","line":33,"in_reply_to":"fa1b9901_68fafd44","updated":"2015-08-20 15:03:39.000000000","message":"well this is based on the notion that you wanted to automatically make new directories for a new release branch the first time someone calls autogenerate.  I think this would be better as a manual step.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"e81f7a57e9a5abf74366a89bfd785be4ee3be396","unresolved":false,"context_lines":[{"line_number":179,"context_line":"    return \u0027%s@head\u0027 % _get_branch_label(branch, release\u003drelease)"},{"line_number":180,"context_line":""},{"line_number":181,"context_line":""},{"line_number":182,"context_line":"def _get_depends_on(branch):"},{"line_number":183,"context_line":"    if PREVIOUS_RELEASE \u003d\u003d \u0027kilo\u0027:"},{"line_number":184,"context_line":"        # kilo is the last release to not use expand/contract"},{"line_number":185,"context_line":"        return \u0027kilo\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"fa1b9901_881511e6","line":182,"updated":"2015-08-20 12:44:08.000000000","message":"We may actually want to avoid depends_on between independent branches and instead link them into a single expand/contract chain. See: https://review.openstack.org/215048","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"04e40db8384b88ca8ed04a2709a352c817d9f51c","unresolved":false,"context_lines":[{"line_number":185,"context_line":"def _get_branch_label(branch, release\u003dNone):"},{"line_number":186,"context_line":"    \u0027\u0027\u0027Get the latest branch label corresponding to release cycle."},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    e.g. liberty_expand"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    \u0027\u0027\u0027"},{"line_number":191,"context_line":"    return \u0027%s_%s\u0027 % (release or CURRENT_RELEASE, branch)"}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_7def4f1e","line":188,"updated":"2015-09-03 19:44:50.000000000","message":"branches now don\u0027t have per-releases names (they are always \u0027contract\u0027 or \u0027expand\u0027).","commit_id":"0a49fc6db42d2089950d949bd589d89434a14f04"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"044896944f63a5e491534b11f1b04cd3965d8d4a","unresolved":false,"context_lines":[{"line_number":185,"context_line":"def _get_branch_label(branch, release\u003dNone):"},{"line_number":186,"context_line":"    \u0027\u0027\u0027Get the latest branch label corresponding to release cycle."},{"line_number":187,"context_line":""},{"line_number":188,"context_line":"    e.g. liberty_expand"},{"line_number":189,"context_line":""},{"line_number":190,"context_line":"    \u0027\u0027\u0027"},{"line_number":191,"context_line":"    return \u0027%s_%s\u0027 % (release or CURRENT_RELEASE, branch)"}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_58893925","line":188,"in_reply_to":"da20952f_7def4f1e","updated":"2015-09-03 20:26:13.000000000","message":"Done","commit_id":"0a49fc6db42d2089950d949bd589d89434a14f04"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"04e40db8384b88ca8ed04a2709a352c817d9f51c","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        addn_kwargs[\u0027branch_label\u0027] \u003d _get_branch_label(branch)"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        # mark the branch to depend on the head of the previous release stream"},{"line_number":222,"context_line":"        addn_kwargs[\u0027depends_on\u0027] \u003d _get_depends_on(branch)"},{"line_number":223,"context_line":"    else:"},{"line_number":224,"context_line":"        addn_kwargs[\u0027head\u0027] \u003d _get_branch_head(branch)"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_9d8d837e","line":222,"updated":"2015-09-03 19:44:50.000000000","message":"we don\u0027t link branches with depends_on anymore (overall, we won\u0027t have new per-release branches).","commit_id":"0a49fc6db42d2089950d949bd589d89434a14f04"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"044896944f63a5e491534b11f1b04cd3965d8d4a","unresolved":false,"context_lines":[{"line_number":219,"context_line":"        addn_kwargs[\u0027branch_label\u0027] \u003d _get_branch_label(branch)"},{"line_number":220,"context_line":""},{"line_number":221,"context_line":"        # mark the branch to depend on the head of the previous release stream"},{"line_number":222,"context_line":"        addn_kwargs[\u0027depends_on\u0027] \u003d _get_depends_on(branch)"},{"line_number":223,"context_line":"    else:"},{"line_number":224,"context_line":"        addn_kwargs[\u0027head\u0027] \u003d _get_branch_head(branch)"},{"line_number":225,"context_line":""}],"source_content_type":"text/x-python","patch_set":10,"id":"da20952f_989cb16b","line":222,"in_reply_to":"da20952f_9d8d837e","updated":"2015-09-03 20:26:13.000000000","message":"Done","commit_id":"0a49fc6db42d2089950d949bd589d89434a14f04"}],"requirements.txt":[{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"171eaddac6b90c4f341e24b199e1c06a644f98f3","unresolved":false,"context_lines":[{"line_number":20,"context_line":"SQLAlchemy\u003c1.1.0,\u003e\u003d0.9.7"},{"line_number":21,"context_line":"WebOb\u003e\u003d1.2.3"},{"line_number":22,"context_line":"python-keystoneclient\u003e\u003d1.6.0"},{"line_number":23,"context_line":"alembic\u003e\u003d0.8.0"},{"line_number":24,"context_line":"six\u003e\u003d1.9.0"},{"line_number":25,"context_line":"stevedore\u003e\u003d1.5.0 # Apache-2.0"},{"line_number":26,"context_line":"oslo.concurrency\u003e\u003d2.1.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":1,"id":"3a50d1a3_8cc0257e","line":23,"updated":"2015-07-21 07:48:10.000000000","message":"We need to update this in requirements project, not here. I will push change there for this.","commit_id":"ed09688af975cb73f33efb9b7c08863507149aa1"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"23bc4e8294898e5185ea80588ef436930ead87b2","unresolved":false,"context_lines":[{"line_number":20,"context_line":"SQLAlchemy\u003c1.1.0,\u003e\u003d0.9.7"},{"line_number":21,"context_line":"WebOb\u003e\u003d1.2.3"},{"line_number":22,"context_line":"python-keystoneclient\u003e\u003d1.6.0"},{"line_number":23,"context_line":"alembic\u003e\u003d0.8.0"},{"line_number":24,"context_line":"six\u003e\u003d1.9.0"},{"line_number":25,"context_line":"stevedore\u003e\u003d1.5.0 # Apache-2.0"},{"line_number":26,"context_line":"oslo.concurrency\u003e\u003d2.1.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":1,"id":"3a50d1a3_ec04497f","line":23,"in_reply_to":"3a50d1a3_8cc0257e","updated":"2015-07-21 07:58:19.000000000","message":"https://review.openstack.org/203960 after it will be merged there, it will be automatically updated in all projects.","commit_id":"ed09688af975cb73f33efb9b7c08863507149aa1"},{"author":{"_account_id":11816,"name":"mike bayer","display_name":"Mike Bayer","email":"mike_mp@zzzcomputing.com","username":"zzzeek","status":"Red Hat"},"change_message_id":"0ecb301ef9e3c4209f8f723e3cdf6038d05cfaa1","unresolved":false,"context_lines":[{"line_number":20,"context_line":"SQLAlchemy\u003c1.1.0,\u003e\u003d0.9.7"},{"line_number":21,"context_line":"WebOb\u003e\u003d1.2.3"},{"line_number":22,"context_line":"python-keystoneclient\u003e\u003d1.6.0"},{"line_number":23,"context_line":"alembic\u003e\u003d0.8.0"},{"line_number":24,"context_line":"six\u003e\u003d1.9.0"},{"line_number":25,"context_line":"stevedore\u003e\u003d1.5.0 # Apache-2.0"},{"line_number":26,"context_line":"oslo.concurrency\u003e\u003d2.1.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":1,"id":"3a50d1a3_6ea6d411","line":23,"in_reply_to":"3a50d1a3_ec04497f","updated":"2015-07-21 15:23:56.000000000","message":"OK, I only put it here as documentation for reviewers, this is all not ready to go yet anyway","commit_id":"ed09688af975cb73f33efb9b7c08863507149aa1"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"115fee8bcc33cf30991ac415d20964c11b8f8881","unresolved":false,"context_lines":[{"line_number":20,"context_line":"SQLAlchemy\u003c1.1.0,\u003e\u003d0.9.7"},{"line_number":21,"context_line":"WebOb\u003e\u003d1.2.3"},{"line_number":22,"context_line":"python-keystoneclient\u003e\u003d1.6.0"},{"line_number":23,"context_line":"alembic\u003e\u003d0.8.0"},{"line_number":24,"context_line":"six\u003e\u003d1.9.0"},{"line_number":25,"context_line":"stevedore\u003e\u003d1.5.0 # Apache-2.0"},{"line_number":26,"context_line":"oslo.concurrency\u003e\u003d2.3.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":7,"id":"fa1b9901_ef3097ea","line":23,"updated":"2015-08-19 10:13:14.000000000","message":"We don\u0027t need this as https://review.openstack.org/213913 got merged","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"79dd25e0c6dd63c8f4fb77316d98b5710af93f86","unresolved":false,"context_lines":[{"line_number":20,"context_line":"SQLAlchemy\u003c1.1.0,\u003e\u003d0.9.7"},{"line_number":21,"context_line":"WebOb\u003e\u003d1.2.3"},{"line_number":22,"context_line":"python-keystoneclient\u003e\u003d1.6.0"},{"line_number":23,"context_line":"alembic\u003e\u003d0.8.0"},{"line_number":24,"context_line":"six\u003e\u003d1.9.0"},{"line_number":25,"context_line":"stevedore\u003e\u003d1.5.0 # Apache-2.0"},{"line_number":26,"context_line":"oslo.concurrency\u003e\u003d2.3.0 # Apache-2.0"}],"source_content_type":"text/plain","patch_set":7,"id":"fa1b9901_2833a515","line":23,"in_reply_to":"fa1b9901_ef3097ea","updated":"2015-08-20 12:45:19.000000000","message":"It\u0027s ok to have it here: it shows that the patch is one of the reasons we bump it.","commit_id":"628a489a4d92c5518ee728852be3fcafc3d875ad"}]}
