)]}'
{"functions.sh":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"8145400b31df6b17017613523f0dd4f584a97038","unresolved":false,"context_lines":[{"line_number":353,"context_line":"    sudo cp /etc/sudoers $BASE/logs/sudoers.txt"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    # Archive config files"},{"line_number":356,"context_line":"    sudo mkdir $BASE/etc/"},{"line_number":357,"context_line":"    for PROJECT in $PROJECTS; do"},{"line_number":358,"context_line":"        if [ -d /etc/$PROJECT ]; then"},{"line_number":359,"context_line":"            sudo cp -r /etc/$PROJECT $BASE/etc/"}],"source_content_type":"text/x-sh","patch_set":2,"id":"AAAAUX%2F%2Fyl0%3D","line":356,"updated":"2014-02-10 19:49:51.000000000","message":"I think this needs to go in $BASE/logs/etc because \"$BASE/logs\" is actually the directory that gets sent to the log server.","commit_id":"e2edd5ed0a90312b7ebb5513597e0cfb0831e124"},{"author":{"_account_id":6159,"name":"Flavio Percoco Premoli","display_name":"flaper87","email":"flavio.percoco@flyrlabs.com","username":"flaper87"},"change_message_id":"69ee08c1aa99eead8114be18d55f1dd68fe70b1c","unresolved":false,"context_lines":[{"line_number":353,"context_line":"    sudo cp /etc/sudoers $BASE/logs/sudoers.txt"},{"line_number":354,"context_line":""},{"line_number":355,"context_line":"    # Archive config files"},{"line_number":356,"context_line":"    sudo mkdir $BASE/etc/"},{"line_number":357,"context_line":"    for PROJECT in $PROJECTS; do"},{"line_number":358,"context_line":"        if [ -d /etc/$PROJECT ]; then"},{"line_number":359,"context_line":"            sudo cp -r /etc/$PROJECT $BASE/etc/"}],"source_content_type":"text/x-sh","patch_set":2,"id":"AAAAUX%2F%2B6gQ%3D","line":356,"in_reply_to":"AAAAUX%2F%2Fyl0%3D","updated":"2014-02-18 08:34:04.000000000","message":"Done","commit_id":"e2edd5ed0a90312b7ebb5513597e0cfb0831e124"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"062091c38018fa49c759bacca45cd752c8b15231","unresolved":false,"context_lines":[{"line_number":358,"context_line":"    # Archive config files"},{"line_number":359,"context_line":"    sudo mkdir $BASE/logs/etc/"},{"line_number":360,"context_line":"    for PROJECT in $PROJECTS; do"},{"line_number":361,"context_line":"        if [ -d /etc/$PROJECT ]; then"},{"line_number":362,"context_line":"            sudo cp -r /etc/$PROJECT $BASE/logs/etc/"},{"line_number":363,"context_line":"        fi"},{"line_number":364,"context_line":"    done"}],"source_content_type":"text/x-sh","patch_set":3,"id":"AAAAU3%2F%2FirA%3D","line":361,"updated":"2014-02-26 01:50:40.000000000","message":"This conditional isn\u0027t working as expected because PROJECT inculdes the openstack/ prefix. You should use basename on PROJECT before using it in the path.","commit_id":"4ff8b1a051b833095845fcf6fc284b101b0407dd"},{"author":{"_account_id":4146,"name":"Clark Boylan","email":"cboylan@sapwetik.org","username":"cboylan"},"change_message_id":"062091c38018fa49c759bacca45cd752c8b15231","unresolved":false,"context_lines":[{"line_number":422,"context_line":"    sudo chown -R jenkins:jenkins $BASE/logs/etc/"},{"line_number":423,"context_line":"    sudo chmod a+r $BASE/logs/etc/"},{"line_number":424,"context_line":""},{"line_number":425,"context_line":"    rename \u0027s/(.*)/$1.txt/\u0027 $BASE/logs/etc/*/*"},{"line_number":426,"context_line":""},{"line_number":427,"context_line":"    # Make sure jenkins can read all the logs and configs"},{"line_number":428,"context_line":"    sudo chown -R jenkins:jenkins $BASE/logs/"}],"source_content_type":"text/x-sh","patch_set":5,"id":"AAAAVn%2F%2FoW8%3D","line":425,"updated":"2014-03-04 23:30:12.000000000","message":"Looking at http://logs.openstack.org/44/69344/5/check/check-dg-tempest-dsvm-full/9956587/logs/etc/nova/rootwrap.d.txt/ I think we need to use find to exec rename so that we only rename files and leave dirs alone. But this is working now we can see stuff which I think is excellent.","commit_id":"466f1df800d2e1c74f6a26e01b5b19773546016d"}]}
