)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":14826,"name":"Mark Goddard","email":"markgoddard86@gmail.com","username":"mgoddard"},"change_message_id":"5cb50bdeb550c8ca6afcf95ae27aff9b7fed0d63","unresolved":false,"context_lines":[{"line_number":5,"context_line":"CommitDate: 2020-11-12 01:11:39 +0800"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix kolla-ansible to work with pyenv."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Change-Id: I2fe6eb13ce7be68d346b1b3b7036859f34c896c4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":1,"id":"1f621f24_32dfcc69","line":8,"updated":"2020-11-13 17:03:33.000000000","message":"Please add:\n\nCloses-Bug: #1903887","commit_id":"45d88156b5c4b51bbf14b2bb1a5f6033e3865eb2"},{"author":{"_account_id":30491,"name":"Radosław Piliszek","display_name":"Radek","email":"radek@piliszek.it","username":"yoctozepto","status":"self-employed techologist, collaborating mostly with 7bulls.com"},"change_message_id":"d9a3339cc88c4257236287f203df8529a717b6e8","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     zengchen \u003czengchen228@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2020-11-14 14:25:15 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix kolla-ansible to work with pyenv."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Closes-Bug: #1903887"},{"line_number":10,"context_line":"Change-Id: I2fe6eb13ce7be68d346b1b3b7036859f34c896c4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f621f24_ebdefa3b","line":7,"range":{"start_line":7,"start_character":31,"end_line":7,"end_character":37},"updated":"2020-11-15 11:11:28.000000000","message":"did not you mean pyenv-virtualenv?","commit_id":"4aa438fa3ebade3e22188499a2dfd4758e90a641"},{"author":{"_account_id":32662,"name":"Kevin","email":"kevin666166@gmail.com","username":"zengchen228"},"change_message_id":"282c7e1ad48cac3414ca019a1f7f8b55d9b7e071","unresolved":false,"context_lines":[{"line_number":4,"context_line":"Commit:     zengchen \u003czengchen228@gmail.com\u003e"},{"line_number":5,"context_line":"CommitDate: 2020-11-14 14:25:15 +0000"},{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix kolla-ansible to work with pyenv."},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"Closes-Bug: #1903887"},{"line_number":10,"context_line":"Change-Id: I2fe6eb13ce7be68d346b1b3b7036859f34c896c4"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"1f621f24_4bd3ae04","line":7,"range":{"start_line":7,"start_character":31,"end_line":7,"end_character":37},"in_reply_to":"1f621f24_ebdefa3b","updated":"2020-11-15 13:35:40.000000000","message":"Yes, the pyenv-virtualenv；\nI use it to switch kolla-ansible verions for diff deployment.\neg: \npyenv local kolla-train\nor\npyenv local kolla-stein","commit_id":"4aa438fa3ebade3e22188499a2dfd4758e90a641"}],"tools/kolla-ansible":[{"author":{"_account_id":30491,"name":"Radosław Piliszek","display_name":"Radek","email":"radek@piliszek.it","username":"yoctozepto","status":"self-employed techologist, collaborating mostly with 7bulls.com"},"change_message_id":"d9a3339cc88c4257236287f203df8529a717b6e8","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"function find_base_dir {"},{"line_number":68,"context_line":"    local dir_name"},{"line_number":69,"context_line":"    dir_name\u003d$(readlink -f $(cd \"$(dirname \"$0\")\" \u0026\u003e/dev/null \u0026\u0026 pwd))"},{"line_number":70,"context_line":"    if [ -z \"$SNAP\" ]; then"},{"line_number":71,"context_line":"        if [[ ${dir_name} \u003d\u003d \"/usr/bin\" ]]; then"},{"line_number":72,"context_line":"            BASEDIR\u003d/usr/share/kolla-ansible"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1f621f24_4be9eee3","line":69,"updated":"2020-11-15 11:11:28.000000000","message":"hmm, from your report I got the impression that it\u0027s VIRTUAL_ENV that is set to a symbolic link path, not the other way around; could you clarify?","commit_id":"4aa438fa3ebade3e22188499a2dfd4758e90a641"},{"author":{"_account_id":32662,"name":"Kevin","email":"kevin666166@gmail.com","username":"zengchen228"},"change_message_id":"282c7e1ad48cac3414ca019a1f7f8b55d9b7e071","unresolved":false,"context_lines":[{"line_number":66,"context_line":""},{"line_number":67,"context_line":"function find_base_dir {"},{"line_number":68,"context_line":"    local dir_name"},{"line_number":69,"context_line":"    dir_name\u003d$(readlink -f $(cd \"$(dirname \"$0\")\" \u0026\u003e/dev/null \u0026\u0026 pwd))"},{"line_number":70,"context_line":"    if [ -z \"$SNAP\" ]; then"},{"line_number":71,"context_line":"        if [[ ${dir_name} \u003d\u003d \"/usr/bin\" ]]; then"},{"line_number":72,"context_line":"            BASEDIR\u003d/usr/share/kolla-ansible"}],"source_content_type":"application/x-shellscript","patch_set":2,"id":"1f621f24_6bd4aae9","line":69,"in_reply_to":"1f621f24_4be9eee3","updated":"2020-11-15 13:35:40.000000000","message":"when use pyenv local \u003cenv name\u003e，it will auto set the VIRTUAL_ENV to a symbolic link\nyou could try ti like this:\n$ pyenv virtualenv 3.7.9 kolla-stein\n$ pyenv local kolla-stein","commit_id":"4aa438fa3ebade3e22188499a2dfd4758e90a641"}]}
