)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"4106c82a44aa35889afc9871a03c71ceea68ea91","unresolved":false,"context_lines":[{"line_number":13,"context_line":"- contract (contraction changes, including data migration)"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Make \u0027neutron-db-manage revision\u0027 generate three separate migration"},{"line_number":16,"context_line":"scripts, one per subtree."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Now that we support multiple heads, renamed HEAD file in HEADS. We still"},{"line_number":19,"context_line":"don\u0027t allow more branching, so keep validation for the number of"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":18,"id":"ba3cc151_e7c2c684","line":16,"updated":"2015-07-08 20:11:58.000000000","message":"How many? ;)","commit_id":"e734bc794cc28e4ab63529f3b260ab96e50846e6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bea1a751bcd9fc3113fd0ddd7121da82631bdee5","unresolved":false,"context_lines":[{"line_number":13,"context_line":"- contract (contraction changes, including data migration)"},{"line_number":14,"context_line":""},{"line_number":15,"context_line":"Make \u0027neutron-db-manage revision\u0027 generate three separate migration"},{"line_number":16,"context_line":"scripts, one per subtree."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Now that we support multiple heads, renamed HEAD file in HEADS. We still"},{"line_number":19,"context_line":"don\u0027t allow more branching, so keep validation for the number of"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":18,"id":"ba3cc151_499da7ba","line":16,"in_reply_to":"ba3cc151_e7c2c684","updated":"2015-07-09 09:58:01.000000000","message":"Ah!.. I initially did it for three, but then it seemed like YAGNI.","commit_id":"e734bc794cc28e4ab63529f3b260ab96e50846e6"}],"doc/source/devref/db_layer.rst":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"4106c82a44aa35889afc9871a03c71ceea68ea91","unresolved":false,"context_lines":[{"line_number":40,"context_line":"or modifying constraints, etc."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"The intent of the split is to allow invoking those safe migrations from"},{"line_number":43,"context_line":"\u0027expand\u0027 subtree while neutron-server is running, reducing downtime needed to"},{"line_number":44,"context_line":"upgrade the service."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"To apply just expansion rules, execute:"}],"source_content_type":"text/x-rst","patch_set":18,"id":"ba3cc151_070c8aea","line":43,"updated":"2015-07-08 20:11:58.000000000","message":"subtree? You mean sub-branch? I think it\u0027s just a branch, so just call it a branch.","commit_id":"e734bc794cc28e4ab63529f3b260ab96e50846e6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bea1a751bcd9fc3113fd0ddd7121da82631bdee5","unresolved":false,"context_lines":[{"line_number":40,"context_line":"or modifying constraints, etc."},{"line_number":41,"context_line":""},{"line_number":42,"context_line":"The intent of the split is to allow invoking those safe migrations from"},{"line_number":43,"context_line":"\u0027expand\u0027 subtree while neutron-server is running, reducing downtime needed to"},{"line_number":44,"context_line":"upgrade the service."},{"line_number":45,"context_line":""},{"line_number":46,"context_line":"To apply just expansion rules, execute:"}],"source_content_type":"text/x-rst","patch_set":18,"id":"ba3cc151_492e0744","line":43,"in_reply_to":"ba3cc151_070c8aea","updated":"2015-07-09 09:58:01.000000000","message":"Yeah, I\u0027ll replace subtrees with branches everywhere, both in docs and in the code.","commit_id":"e734bc794cc28e4ab63529f3b260ab96e50846e6"},{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"4106c82a44aa35889afc9871a03c71ceea68ea91","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"- neutron-db-manage upgrade head[s]"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"It will apply all the rules from both subtrees, in proper order."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Tests to verify that database migrations and models are in sync"}],"source_content_type":"text/x-rst","patch_set":18,"id":"ba3cc151_87009aac","line":63,"updated":"2015-07-08 20:11:58.000000000","message":"s/both subtrees/both the expand and the contract branch/","commit_id":"e734bc794cc28e4ab63529f3b260ab96e50846e6"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"bea1a751bcd9fc3113fd0ddd7121da82631bdee5","unresolved":false,"context_lines":[{"line_number":60,"context_line":""},{"line_number":61,"context_line":"- neutron-db-manage upgrade head[s]"},{"line_number":62,"context_line":""},{"line_number":63,"context_line":"It will apply all the rules from both subtrees, in proper order."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"Tests to verify that database migrations and models are in sync"}],"source_content_type":"text/x-rst","patch_set":18,"id":"ba3cc151_c9221752","line":63,"in_reply_to":"ba3cc151_87009aac","updated":"2015-07-09 09:58:01.000000000","message":"Done","commit_id":"e734bc794cc28e4ab63529f3b260ab96e50846e6"}],"neutron/db/migration/alembic_migrations/versions/HEADS":[{"author":{"_account_id":6524,"name":"Henry Gessau","email":"HenryG@gessau.net","username":"gessau"},"change_message_id":"0fa0cbf467936056683def061d996570d70e67ce","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":14,"id":"ba3cc151_36a54946","updated":"2015-07-02 01:15:13.000000000","message":"I wonder if it might be clearer to have separate HEAD_contractions, HEAD_expansions, etc. files? If an expand-only change is made then just the HEAD_expansions file would need to update.\n\nYou could even organize by directory, like\n\n  neutron/db/migration/alembic_migrations/versions/expand/HEAD\n  neutron/db/migration/alembic_migrations/versions/contract/HEAD\n  etc.","commit_id":"27698a7669ef9fff46e742335fb6644bccbdafe0"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"84bfe34338194f0f8406cec0337ba547ecced6c0","unresolved":false,"context_lines":[{"line_number":1,"context_line":"30018084ec99"},{"line_number":2,"context_line":"562089b1399f"},{"line_number":3,"context_line":"599c6a226151"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"ba3cc151_6a8c967f","line":2,"updated":"2015-06-30 18:17:14.000000000","message":"Does the order matter here? Can you add some comments here?","commit_id":"27698a7669ef9fff46e742335fb6644bccbdafe0"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"4d40ecf0ea8322a95bc7755dddf5e66673ca033b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"30018084ec99"},{"line_number":2,"context_line":"562089b1399f"},{"line_number":3,"context_line":"599c6a226151"}],"source_content_type":"application/octet-stream","patch_set":14,"id":"ba3cc151_8f855a08","line":2,"in_reply_to":"ba3cc151_6a8c967f","updated":"2015-07-07 15:57:12.000000000","message":"I don\u0027t think the order makes any sense here. The file is used for validation of heads only to avoid situation when a migration rule is merged to some place in the migration chain that is different from the very top of a (sub)tree.","commit_id":"27698a7669ef9fff46e742335fb6644bccbdafe0"},{"author":{"_account_id":8124,"name":"cbrandily","email":"zzelle@gmail.com","username":"cbrandily"},"change_message_id":"22f156829ba7f1b996c87af5b9a056cd4c1f0f1b","unresolved":false,"context_lines":[{"line_number":1,"context_line":"30018084ec99"},{"line_number":2,"context_line":"562089b1399f"},{"line_number":3,"context_line":"599c6a226151"}],"source_content_type":"application/octet-stream","patch_set":15,"id":"ba3cc151_362fd3a2","line":3,"updated":"2015-07-07 12:36:33.000000000","message":"it should be:\n\n 30018084ec99\n 52c5312f6baf\n 562089b1399f","commit_id":"c94fca12cdd9bef1d7afd4b7659afa83367361da"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"436819181c2c6b126e4f298e2a601a5cec94be8c","unresolved":false,"context_lines":[{"line_number":1,"context_line":"30018084ec99"},{"line_number":2,"context_line":"52c5312f6baf"},{"line_number":3,"context_line":"kilo"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"9a41bdd9_8de7dfe3","line":3,"updated":"2015-07-13 07:37:04.000000000","message":"I missed something, what does kilo means here? Expand offline is removed, so what is it about?","commit_id":"1bcf45d286184b67cf358ff87d67b102c751dd40"},{"author":{"_account_id":7249,"name":"Ann Taraday","email":"akamyshnikova@mirantis.com","username":"AKamyshnikova"},"change_message_id":"d41a5015e2e500528665136a50c54f6241748da7","unresolved":false,"context_lines":[{"line_number":1,"context_line":"30018084ec99"},{"line_number":2,"context_line":"52c5312f6baf"},{"line_number":3,"context_line":"kilo"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"9a41bdd9_8fb90aec","line":3,"in_reply_to":"9a41bdd9_5c70a372","updated":"2015-07-13 11:09:35.000000000","message":"OK, thanks for explanation.\n\nHenry left comment on the 14th patch set about having separate HEAD in contact and expand directories, what about that?","commit_id":"1bcf45d286184b67cf358ff87d67b102c751dd40"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"145bdb1ebc2c42db0986920b2ab937e6cef0b259","unresolved":false,"context_lines":[{"line_number":1,"context_line":"30018084ec99"},{"line_number":2,"context_line":"52c5312f6baf"},{"line_number":3,"context_line":"kilo"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"9a41bdd9_5c70a372","line":3,"in_reply_to":"9a41bdd9_8de7dfe3","updated":"2015-07-13 09:15:40.000000000","message":"Well, I\u0027ve walked thru Mike\u0027s spec again and noted that he suggests to untangle each branch from old revisions, by setting down_revision to None and only depends_on \u003d (\u0027kilo\u0027,). In that way, our db ends up with three heads:\n\n- kilo (the last one in old chain);\n- expand\n- contract.\n\nkilo will be here forever.","commit_id":"1bcf45d286184b67cf358ff87d67b102c751dd40"},{"author":{"_account_id":9656,"name":"Ihar Hrachyshka","email":"ihrachys@redhat.com","username":"ihrachys","status":"Red Hat Networking Systems Engineer"},"change_message_id":"6e4897c8280c5a3fe5b9959d7eb5aa25ba15da9d","unresolved":false,"context_lines":[{"line_number":1,"context_line":"30018084ec99"},{"line_number":2,"context_line":"52c5312f6baf"},{"line_number":3,"context_line":"kilo"}],"source_content_type":"application/octet-stream","patch_set":19,"id":"9a41bdd9_943b249c","line":3,"in_reply_to":"9a41bdd9_8fb90aec","updated":"2015-07-14 10:19:37.000000000","message":"I believe it will belong to separate patch. I\u0027ve added TODO to tackle that one.","commit_id":"1bcf45d286184b67cf358ff87d67b102c751dd40"}]}
