)]}'
{"releasenotes/notes/add-validation-for-queue-name-6e417870cc257308.yaml":[{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"c59a759a260274dbcac10d61ed3ec7de46ee8e22","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    with the name has created successfully, but in zaqar server side,"},{"line_number":7,"context_line":"    the name is not as same as the client side."},{"line_number":8,"context_line":"    Add the check for some special meanings words, it will raise error message"},{"line_number":9,"context_line":"    when using those workd in queue name."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"7f231b9d_ed43bbae","line":9,"range":{"start_line":9,"start_character":21,"end_line":9,"end_character":26},"updated":"2017-06-20 08:13:56.000000000","message":"words","commit_id":"77a773193c5f38162015325a9c3adc0cab094969"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"cf31ab1133ccbe9670e1679f9c33a86918e0ab93","unresolved":false,"context_lines":[{"line_number":6,"context_line":"    with the name has created successfully, but in zaqar server side,"},{"line_number":7,"context_line":"    the name is not as same as the client side."},{"line_number":8,"context_line":"    Add the check for some special meanings words, it will raise error message"},{"line_number":9,"context_line":"    when using those workd in queue name."}],"source_content_type":"text/x-yaml","patch_set":3,"id":"7f231b9d_d8baff08","line":9,"range":{"start_line":9,"start_character":21,"end_line":9,"end_character":26},"in_reply_to":"7f231b9d_ed43bbae","updated":"2017-06-20 08:30:48.000000000","message":"Done","commit_id":"77a773193c5f38162015325a9c3adc0cab094969"}],"zaqarclient/queues/v1/queues.py":[{"author":{"_account_id":21387,"name":"gecong","email":"ge.cong@zte.com.cn","username":"gecong"},"change_message_id":"a7832ea70ba2f3bde0998c991092f98756abace0","unresolved":false,"context_lines":[{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        if not QUEUE_NAME_REGEX.match(name):"},{"line_number":53,"context_line":"            raise ValueError(_(\u0027Queue names may only contain ASCII letters, \u0027"},{"line_number":54,"context_line":"                               \u0027digits, underscores, and dashes.\u0027))"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        # NOTE(flaper87) Queue Info"},{"line_number":57,"context_line":"        self._name \u003d name"}],"source_content_type":"text/x-python","patch_set":2,"id":"7f231b9d_787059dd","line":54,"range":{"start_line":54,"start_character":51,"end_line":54,"end_character":52},"updated":"2017-06-13 03:14:31.000000000","message":"underscores and dashes.","commit_id":"831e90a348ad8962d623164a4357366ce48ddc06"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"c59a759a260274dbcac10d61ed3ec7de46ee8e22","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from zaqarclient.queues.v1 import iterator"},{"line_number":23,"context_line":"from zaqarclient.queues.v1 import message"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"QUEUE_NAME_REGEX \u003d re.compile(\u0027^[a-zA-Z0-9_\\-]+$\u0027)"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"class Queue(object):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f231b9d_4df86f7b","line":25,"updated":"2017-06-20 08:13:56.000000000","message":"This is copied from server side. So I think we should add a comment here to remind developers that this should keep the same with server side. Such as one day if we support . for queue name. We should update the code here as well.","commit_id":"77a773193c5f38162015325a9c3adc0cab094969"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"cf31ab1133ccbe9670e1679f9c33a86918e0ab93","unresolved":false,"context_lines":[{"line_number":22,"context_line":"from zaqarclient.queues.v1 import iterator"},{"line_number":23,"context_line":"from zaqarclient.queues.v1 import message"},{"line_number":24,"context_line":""},{"line_number":25,"context_line":"QUEUE_NAME_REGEX \u003d re.compile(\u0027^[a-zA-Z0-9_\\-]+$\u0027)"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""},{"line_number":28,"context_line":"class Queue(object):"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f231b9d_f8c7fb63","line":25,"in_reply_to":"7f231b9d_4df86f7b","updated":"2017-06-20 08:30:48.000000000","message":"yes, good suggestion here.","commit_id":"77a773193c5f38162015325a9c3adc0cab094969"},{"author":{"_account_id":15054,"name":"wangxiyuan","email":"wangxiyuan1007@gmail.com","username":"wangxiyuan"},"change_message_id":"c59a759a260274dbcac10d61ed3ec7de46ee8e22","unresolved":false,"context_lines":[{"line_number":50,"context_line":"            raise ValueError(_(\u0027Queue name does not have a value\u0027))"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        if not QUEUE_NAME_REGEX.match(str(name)):"},{"line_number":53,"context_line":"            raise ValueError(_(\u0027Queue names may only contain ASCII letters, \u0027"},{"line_number":54,"context_line":"                               \u0027digits, underscores and dashes.\u0027))"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        # NOTE(flaper87) Queue Info"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f231b9d_6d868bde","line":53,"range":{"start_line":53,"start_character":32,"end_line":53,"end_character":43},"updated":"2017-06-20 08:13:56.000000000","message":"The queue name","commit_id":"77a773193c5f38162015325a9c3adc0cab094969"},{"author":{"_account_id":8846,"name":"Hao Wang","display_name":"Hao Wang","email":"sxmatch1986@gmail.com","username":"sxmatch"},"change_message_id":"cf31ab1133ccbe9670e1679f9c33a86918e0ab93","unresolved":false,"context_lines":[{"line_number":50,"context_line":"            raise ValueError(_(\u0027Queue name does not have a value\u0027))"},{"line_number":51,"context_line":""},{"line_number":52,"context_line":"        if not QUEUE_NAME_REGEX.match(str(name)):"},{"line_number":53,"context_line":"            raise ValueError(_(\u0027Queue names may only contain ASCII letters, \u0027"},{"line_number":54,"context_line":"                               \u0027digits, underscores and dashes.\u0027))"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        # NOTE(flaper87) Queue Info"}],"source_content_type":"text/x-python","patch_set":3,"id":"7f231b9d_d8c43f62","line":53,"range":{"start_line":53,"start_character":32,"end_line":53,"end_character":43},"in_reply_to":"7f231b9d_6d868bde","updated":"2017-06-20 08:30:48.000000000","message":"Done","commit_id":"77a773193c5f38162015325a9c3adc0cab094969"}]}
