)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"change_message_id":"e26a9ae3d8d20773a5f873948a1d961411ea578d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"This patch add a new column \u0027command\u0027 for container, and user can"},{"line_number":15,"context_line":"choose to pass it when creating a container."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Partial bug: #1445504"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: Icdd47b2343fd1ebc6ebc376764cedd0340407721"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"dac4157f_65f83fe6","line":17,"updated":"2015-04-21 02:56:12.000000000","message":"Why partial bug? Do you still have other patches? I see that all issues have been resolved.","commit_id":"a6b29377eb6f42914f9d1c6cbb6c2055a6690083"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"e77a89261d2ca8c5fef585f40284e518c78e9227","unresolved":false,"context_lines":[{"line_number":14,"context_line":"This patch add a new column \u0027command\u0027 for container, and user can"},{"line_number":15,"context_line":"choose to pass it when creating a container."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Partial bug: #1445504"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: Icdd47b2343fd1ebc6ebc376764cedd0340407721"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":5,"id":"dac4157f_850fd3e0","line":17,"in_reply_to":"dac4157f_65f83fe6","updated":"2015-04-21 03:00:19.000000000","message":"Done","commit_id":"a6b29377eb6f42914f9d1c6cbb6c2055a6690083"},{"author":{"_account_id":7494,"name":"Guangya Liu","email":"gyliu513@gmail.com","username":"JayLau"},"change_message_id":"7c5b218463494fc45a210d011eff0faeec7ff20d","unresolved":false,"context_lines":[{"line_number":14,"context_line":"This patch add a new column \u0027command\u0027 for container, and user can"},{"line_number":15,"context_line":"choose to pass it when creating a container."},{"line_number":16,"context_line":""},{"line_number":17,"context_line":"Closes-bug: #1445504"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"Change-Id: Icdd47b2343fd1ebc6ebc376764cedd0340407721"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":6,"id":"dac4157f_c5ba6be1","line":17,"updated":"2015-04-21 03:07:59.000000000","message":"Actually I prefer: Closes-Bug: #1445504\n\nBut this commit message should not block your patch ;-)","commit_id":"6d892857cd6be0172f2698889099ffd1943a6db9"}],"magnum/api/controllers/v1/container.py":[{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"72885226e696ec9fa8c4bfb6c6a7dffc72a1e14e","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    \"\"\"A list containing a self link and associated container links\"\"\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    command \u003d wtypes.text"},{"line_number":63,"context_line":"    \"\"\"The command execute when container boot\"\"\""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def __init__(self, **kwargs):"},{"line_number":66,"context_line":"        self.fields \u003d []"}],"source_content_type":"text/x-python","patch_set":2,"id":"fabf19d9_fdcf83b1","line":63,"updated":"2015-04-18 05:02:21.000000000","message":"Consider:\n\n\"\"\"The command execute when container starts\"\"\"","commit_id":"8adf160b7d5a9beae1863cda31efa5d8451ae704"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"85e3b295032f9b9b8b6c5f8b09fa2c4bf7df6a66","unresolved":false,"context_lines":[{"line_number":60,"context_line":"    \"\"\"A list containing a self link and associated container links\"\"\""},{"line_number":61,"context_line":""},{"line_number":62,"context_line":"    command \u003d wtypes.text"},{"line_number":63,"context_line":"    \"\"\"The command execute when container boot\"\"\""},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"    def __init__(self, **kwargs):"},{"line_number":66,"context_line":"        self.fields \u003d []"}],"source_content_type":"text/x-python","patch_set":2,"id":"dac4157f_f0867812","line":63,"in_reply_to":"fabf19d9_fdcf83b1","updated":"2015-04-20 09:28:58.000000000","message":"Done","commit_id":"8adf160b7d5a9beae1863cda31efa5d8451ae704"}],"magnum/tests/unit/api/controllers/v1/test_container.py":[{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"72885226e696ec9fa8c4bfb6c6a7dffc72a1e14e","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        mock_container_logs.return_value \u003d None"},{"line_number":45,"context_line":"        mock_container_execute.return_value \u003d None"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        # Create a container"},{"line_number":48,"context_line":"        params \u003d (\u0027{\"name\": \"My Docker\", \"image_id\": \"ubuntu\",\u0027"},{"line_number":49,"context_line":"                  \u0027\"command\": \"env\"}\u0027)"},{"line_number":50,"context_line":"        response \u003d self.app.post(\u0027/v1/containers\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"fabf19d9_7dc49391","line":47,"updated":"2015-04-18 05:02:21.000000000","message":"Please leave the previous test, and add a new test to check the usage where a command is supplied","commit_id":"8adf160b7d5a9beae1863cda31efa5d8451ae704"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"85e3b295032f9b9b8b6c5f8b09fa2c4bf7df6a66","unresolved":false,"context_lines":[{"line_number":44,"context_line":"        mock_container_logs.return_value \u003d None"},{"line_number":45,"context_line":"        mock_container_execute.return_value \u003d None"},{"line_number":46,"context_line":""},{"line_number":47,"context_line":"        # Create a container"},{"line_number":48,"context_line":"        params \u003d (\u0027{\"name\": \"My Docker\", \"image_id\": \"ubuntu\",\u0027"},{"line_number":49,"context_line":"                  \u0027\"command\": \"env\"}\u0027)"},{"line_number":50,"context_line":"        response \u003d self.app.post(\u0027/v1/containers\u0027,"}],"source_content_type":"text/x-python","patch_set":2,"id":"dac4157f_50bc046c","line":47,"in_reply_to":"fabf19d9_7dc49391","updated":"2015-04-20 09:28:58.000000000","message":"Done","commit_id":"8adf160b7d5a9beae1863cda31efa5d8451ae704"},{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"0f455270907fa4477e6108658b41e4724248c930","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        self.assertEqual(0, len(c))"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    @patch(\u0027magnum.conductor.api.API.container_create\u0027)"},{"line_number":110,"context_line":"    def test_create_container_with_command(self, mock_container_create):"},{"line_number":111,"context_line":"        mock_container_create.side_effect \u003d lambda x, y, z: z"},{"line_number":112,"context_line":"        # Create a container with a command"},{"line_number":113,"context_line":"        params \u003d (\u0027{\"name\": \"My Docker\", \"image_id\": \"ubuntu\",\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_89a49757","line":110,"updated":"2015-04-20 22:46:38.000000000","message":"Shouldn\u0027t we delete this container too once we are done, like we delete the other container above?","commit_id":"8b3b32f1f3b84c731e4be24fcdcbbb344fabd686"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"cc5ce8c311c4d61ef28ccd1e5d6b15862639667d","unresolved":false,"context_lines":[{"line_number":107,"context_line":"        self.assertEqual(0, len(c))"},{"line_number":108,"context_line":""},{"line_number":109,"context_line":"    @patch(\u0027magnum.conductor.api.API.container_create\u0027)"},{"line_number":110,"context_line":"    def test_create_container_with_command(self, mock_container_create):"},{"line_number":111,"context_line":"        mock_container_create.side_effect \u003d lambda x, y, z: z"},{"line_number":112,"context_line":"        # Create a container with a command"},{"line_number":113,"context_line":"        params \u003d (\u0027{\"name\": \"My Docker\", \"image_id\": \"ubuntu\",\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_5d0d193d","line":110,"in_reply_to":"dac4157f_89a49757","updated":"2015-04-20 23:43:15.000000000","message":"Done","commit_id":"8b3b32f1f3b84c731e4be24fcdcbbb344fabd686"}],"magnum/tests/unit/conductor/handlers/test_docker_conductor.py":[{"author":{"_account_id":668,"name":"Adrian Otto","email":"aotto@aotto.com","username":"aotto"},"change_message_id":"0f455270907fa4477e6108658b41e4724248c930","unresolved":false,"context_lines":[{"line_number":29,"context_line":"            self.conductor \u003d docker_conductor.Handler()"},{"line_number":30,"context_line":"            self.mock_client \u003d self.conductor.docker"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def test_container_create(self):"},{"line_number":33,"context_line":"        mock_container \u003d mock.MagicMock()"},{"line_number":34,"context_line":"        mock_container.image_id \u003d \u0027test_image:some_tag\u0027"},{"line_number":35,"context_line":"        mock_container.command \u003d \u0027env\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_09a8871e","line":32,"updated":"2015-04-20 22:46:38.000000000","message":"Might it be better to test this both with a command and without?","commit_id":"8b3b32f1f3b84c731e4be24fcdcbbb344fabd686"},{"author":{"_account_id":12927,"name":"Lan Qi song","email":"lqs933@foxmail.com","username":"lqisong"},"change_message_id":"cc5ce8c311c4d61ef28ccd1e5d6b15862639667d","unresolved":false,"context_lines":[{"line_number":29,"context_line":"            self.conductor \u003d docker_conductor.Handler()"},{"line_number":30,"context_line":"            self.mock_client \u003d self.conductor.docker"},{"line_number":31,"context_line":""},{"line_number":32,"context_line":"    def test_container_create(self):"},{"line_number":33,"context_line":"        mock_container \u003d mock.MagicMock()"},{"line_number":34,"context_line":"        mock_container.image_id \u003d \u0027test_image:some_tag\u0027"},{"line_number":35,"context_line":"        mock_container.command \u003d \u0027env\u0027"}],"source_content_type":"text/x-python","patch_set":3,"id":"dac4157f_dd180987","line":32,"in_reply_to":"dac4157f_09a8871e","updated":"2015-04-20 23:43:15.000000000","message":"Done","commit_id":"8b3b32f1f3b84c731e4be24fcdcbbb344fabd686"}]}
