)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":11105,"name":"Swapnil Kulkarni","email":"coolsvap@gmail.com","username":"coolsvap"},"change_message_id":"686fd6aa38d8d74e798719ca35e6421adfa36def","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     Sajauddin \u003csajauddin_mohammad@persistent.co.in\u003e"},{"line_number":5,"context_line":"CommitDate: 2016-09-22 06:48:28 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Added script to cleanup the orphaned volumes"},{"line_number":8,"context_line":"The script removes all the unused volumes which are not attached to"},{"line_number":9,"context_line":"any container."},{"line_number":10,"context_line":"Closes-Bug: #1531407"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"5a8bc5a2_b1878811","line":7,"updated":"2016-09-22 06:54:17.000000000","message":"please add a newline after the commit status.","commit_id":"366af7db049ed397b00604dc5c2fb3f936421055"}],"tools/cleanup-volumes":[{"author":{"_account_id":7488,"name":"Jeffrey Zhang","email":"zhang.lei.fly@gmail.com","username":"Jeffrey4l"},"change_message_id":"1556ac8f0be8db56514bbdd853554127dba695fa","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"volumes_to_remove\u003d$(docker volume ls -qf dangling\u003dtrue)"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"echo \"Removing unused volumes ...\""},{"line_number":5,"context_line":"(docker volume rm ${volumes_to_remove} 2\u003e\u00261) \u003e /dev/null"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"5a8bc5a2_1272fae5","line":2,"updated":"2016-09-22 08:19:49.000000000","message":"please do use this. it will remove my personal volume, which is not created by kolla.","commit_id":"d86383e9e7d9d67b584f7179b176d02583a13866"},{"author":{"_account_id":11869,"name":"zhubingbing","email":"zhu.bingbing@99cloud.net","username":"zhubingbing"},"change_message_id":"655b3ed2766ab267ea896489863cb1a5e3fd53cf","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"volumes_to_remove\u003d$(docker volume ls -qf dangling\u003dtrue)"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"echo \"Removing unused volumes ...\""},{"line_number":5,"context_line":"(docker volume rm ${volumes_to_remove} 2\u003e\u00261) \u003e /dev/null"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"5a8bc5a2_d55f9773","line":2,"range":{"start_line":2,"start_character":20,"end_line":2,"end_character":54},"updated":"2016-09-22 09:56:08.000000000","message":"this only remove dangling vlomes","commit_id":"d86383e9e7d9d67b584f7179b176d02583a13866"},{"author":{"_account_id":16244,"name":"Sajauddin","email":"sajauddin_mohammad@persistent.co.in","username":"Sajauddin"},"change_message_id":"902d08814be0108096774f984947c74bd0db6542","unresolved":false,"context_lines":[{"line_number":1,"context_line":"#!/bin/bash"},{"line_number":2,"context_line":"volumes_to_remove\u003d$(docker volume ls -qf dangling\u003dtrue)"},{"line_number":3,"context_line":""},{"line_number":4,"context_line":"echo \"Removing unused volumes ...\""},{"line_number":5,"context_line":"(docker volume rm ${volumes_to_remove} 2\u003e\u00261) \u003e /dev/null"}],"source_content_type":"application/x-shellscript","patch_set":3,"id":"5a8bc5a2_d0c6c515","line":2,"range":{"start_line":2,"start_character":20,"end_line":2,"end_character":54},"in_reply_to":"5a8bc5a2_d55f9773","updated":"2016-09-26 10:32:49.000000000","message":"This script is meant to remove only the volumes which are not being used by any containers, as the tools/cleanup-containers deletes all the containers as well as the volumes attached to it.","commit_id":"d86383e9e7d9d67b584f7179b176d02583a13866"}]}
