)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6072,"name":"Eugene Nikanorov","email":"enikanorov@mirantis.com","username":"enikanorov"},"change_message_id":"8ea9ce6dc102072b5feb8b99a67d7c21993d58b6","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix db upgrade (migration) of brocadenetworks"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Fixes bug: #1271276"},{"line_number":10,"context_line":""},{"line_number":11,"context_line":"Change-Id: Ia5581f86d13e88df68b2c3eb283d3fe745a9d7c9"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"AAAAUH%2F%2Bx4Y%3D","line":9,"updated":"2014-01-22 08:14:58.000000000","message":"nit:\n Closes-Bug: #1271276","commit_id":"b8860e61311b705240347a4bd613c29bbdd6db9e"},{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"88bc3acdf951fc6f6dd11fc9cfe334c194d90693","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Shiv Haris \u003csharis@brocade.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-01-22 18:46:13 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix db upgrade (migration) of brocadenetworks"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Closes-Bug: #1271276"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"AAAAUH%2F%2Bk9I%3D","line":7,"updated":"2014-01-24 08:01:10.000000000","message":"Please fix the commit message accordingly (not fixing existing but creating a new migration)","commit_id":"f4c64f6f240aeb004c11d2dd21c4ea5e33afd884"},{"author":{"_account_id":5217,"name":"Shiv Haris","email":"shivharis@hotmail.com","username":"shh"},"change_message_id":"ed5e1d755898dc0ad135fce783c14f2d0d12012f","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Shiv Haris \u003csharis@brocade.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2014-01-22 18:46:13 -0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix db upgrade (migration) of brocadenetworks"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Closes-Bug: #1271276"},{"line_number":10,"context_line":""}],"source_content_type":"text/x-gerrit-commit-message","patch_set":4,"id":"AAAAUH%2F%2BhqA%3D","line":7,"in_reply_to":"AAAAUH%2F%2Bk9I%3D","updated":"2014-01-24 18:29:37.000000000","message":"Done","commit_id":"f4c64f6f240aeb004c11d2dd21c4ea5e33afd884"}],"neutron/db/migration/alembic_migrations/versions/2917f1430aad_change_type_of_field.py":[{"author":{"_account_id":5948,"name":"Oleg Bondarev","email":"obondarev@mirantis.com","username":"obondarev"},"change_message_id":"88bc3acdf951fc6f6dd11fc9cfe334c194d90693","unresolved":false,"context_lines":[{"line_number":43,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":44,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":45,"context_line":"        return"},{"line_number":46,"context_line":"    op.drop_table(\u0027brocadenetworks\u0027)"},{"line_number":47,"context_line":"    op.create_table("},{"line_number":48,"context_line":"        \u0027brocadenetworks\u0027,"},{"line_number":49,"context_line":"        sa.Column(\u0027id\u0027, sa.String(36), nullable\u003dFalse),"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAUH%2F%2Bk80%3D","line":46,"updated":"2014-01-24 08:01:10.000000000","message":"Dropping table seems an overkill. Probably column type is better to be updated with op.alter_column().","commit_id":"f4c64f6f240aeb004c11d2dd21c4ea5e33afd884"},{"author":{"_account_id":5217,"name":"Shiv Haris","email":"shivharis@hotmail.com","username":"shh"},"change_message_id":"ed5e1d755898dc0ad135fce783c14f2d0d12012f","unresolved":false,"context_lines":[{"line_number":43,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":44,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"},{"line_number":45,"context_line":"        return"},{"line_number":46,"context_line":"    op.drop_table(\u0027brocadenetworks\u0027)"},{"line_number":47,"context_line":"    op.create_table("},{"line_number":48,"context_line":"        \u0027brocadenetworks\u0027,"},{"line_number":49,"context_line":"        sa.Column(\u0027id\u0027, sa.String(36), nullable\u003dFalse),"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAUH%2F%2BhqQ%3D","line":46,"in_reply_to":"AAAAUH%2F%2Bk80%3D","updated":"2014-01-24 18:29:37.000000000","message":"Upgrade: Going from int to a string may be possible but confusing to the code (data populated will not be relevant). Downgrade: Going from string to int may not work. Hence alter_column may not be a good idea.\n\nSuggestions?","commit_id":"f4c64f6f240aeb004c11d2dd21c4ea5e33afd884"},{"author":{"_account_id":2592,"name":"Mark McClain","email":"mark@mcclain.xyz","username":"markmcclain"},"change_message_id":"640988e368baf5149642aa10893a36b68d35fc1b","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"from neutron.db import migration"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":44,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAAUH%2F9m%2BY%3D","line":41,"updated":"2014-02-05 17:39:37.000000000","message":"Seems like a you\u0027d want to preserve the data in some manner.  Or the upgrade in Icehouse going to require that the deployer reset the entire cluster?","commit_id":"34807088a2da17753778955746c1edd6d156bec7"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"b32d156968b38df9ae4b0a345fa5e8ffcf967dbd","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"from neutron.db import migration"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":44,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAAUH%2F9Uv8%3D","line":41,"in_reply_to":"AAAAUH%2F9dc0%3D","updated":"2014-02-07 18:27:34.000000000","message":"It seems the only fk relationship is with brocade port.\nI think there might a migration path which won\u0027t require you to do so.\n\nOn the other hand, if you just drop this table you will likely have orphan record on brocadeport, is that right?\n\nHow are you going to handle those, especially since the FK relationship is enforced by the model class but not created with the initial folsom migration, which probably makes things even more confusing?","commit_id":"34807088a2da17753778955746c1edd6d156bec7"},{"author":{"_account_id":5217,"name":"Shiv Haris","email":"shivharis@hotmail.com","username":"shh"},"change_message_id":"72ec26bea7e2e5d807778966ff84572f992a6d91","unresolved":false,"context_lines":[{"line_number":38,"context_line":""},{"line_number":39,"context_line":""},{"line_number":40,"context_line":"from neutron.db import migration"},{"line_number":41,"context_line":""},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"def upgrade(active_plugins\u003dNone, options\u003dNone):"},{"line_number":44,"context_line":"    if not migration.should_run(active_plugins, migration_for_plugins):"}],"source_content_type":"text/x-python","patch_set":7,"id":"AAAAUH%2F9dc0%3D","line":41,"in_reply_to":"AAAAUH%2F9m%2BY%3D","updated":"2014-02-06 19:05:34.000000000","message":"This is quite unfortunate and we will have to bite the bullet. We were planning on \"release noting\" this in our documentation.\n\nAny suggestions?","commit_id":"34807088a2da17753778955746c1edd6d156bec7"}]}
