)]}'
{"jenkins/scripts/common_translation_update.sh":[{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"56215d8084ddd8ad192ab1563b040ca6f5bb7e1a","unresolved":false,"context_lines":[{"line_number":304,"context_line":"    if [ \"$trans\" \u003d \"0 translated messages.\" ] ; then"},{"line_number":305,"context_line":"        rm $pot"},{"line_number":306,"context_line":"        # Remove file from git if it\u0027s under version control."},{"line_number":307,"context_line":"        git rm --ignore-unmatch $pot"},{"line_number":308,"context_line":"    fi"},{"line_number":309,"context_line":"}"},{"line_number":310,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a71b18c_7242df11","side":"PARENT","line":307,"updated":"2016-12-04 09:03:00.000000000","message":"It\u0027s fine to remove this indeed, cleanup_pot files will handle this.","commit_id":"bae7979c3446b2b19f83b9b9519183ca8cc31143"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"7aebb61a27452ecc9d517bfff6f3f3f2166e0fd6","unresolved":false,"context_lines":[{"line_number":304,"context_line":"    if [ \"$trans\" \u003d \"0 translated messages.\" ] ; then"},{"line_number":305,"context_line":"        rm $pot"},{"line_number":306,"context_line":"        # Remove file from git if it\u0027s under version control."},{"line_number":307,"context_line":"        git rm --ignore-unmatch $pot"},{"line_number":308,"context_line":"    fi"},{"line_number":309,"context_line":"}"},{"line_number":310,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a71b18c_8872eeab","side":"PARENT","line":307,"in_reply_to":"3a71b18c_7242df11","updated":"2016-12-04 13:18:35.000000000","message":"Yep, that\u0027s right, although I just thought that pot files would not be managed by git.","commit_id":"bae7979c3446b2b19f83b9b9519183ca8cc31143"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"56215d8084ddd8ad192ab1563b040ca6f5bb7e1a","unresolved":false,"context_lines":[{"line_number":521,"context_line":""},{"line_number":522,"context_line":"# Remove all pot files, we publish them to"},{"line_number":523,"context_line":"# http://tarballs.openstack.org/translation-source/{name}/VERSION ,"},{"line_number":524,"context_line":"# let\u0027s not store them in git at all."},{"line_number":525,"context_line":"function cleanup_pot_files {"},{"line_number":526,"context_line":"    local modulename\u003d$1"},{"line_number":527,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a71b18c_b2c5578f","side":"PARENT","line":524,"range":{"start_line":524,"start_character":1,"end_line":524,"end_character":37},"updated":"2016-12-04 09:03:00.000000000","message":"We have projects that stored pot files in the repos in the past, we need to delete them in case they are still in the repositories. Let\u0027s leave this function as is.","commit_id":"bae7979c3446b2b19f83b9b9519183ca8cc31143"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"7aebb61a27452ecc9d517bfff6f3f3f2166e0fd6","unresolved":false,"context_lines":[{"line_number":521,"context_line":""},{"line_number":522,"context_line":"# Remove all pot files, we publish them to"},{"line_number":523,"context_line":"# http://tarballs.openstack.org/translation-source/{name}/VERSION ,"},{"line_number":524,"context_line":"# let\u0027s not store them in git at all."},{"line_number":525,"context_line":"function cleanup_pot_files {"},{"line_number":526,"context_line":"    local modulename\u003d$1"},{"line_number":527,"context_line":""}],"source_content_type":"text/x-sh","patch_set":1,"id":"3a71b18c_08317eec","side":"PARENT","line":524,"range":{"start_line":524,"start_character":1,"end_line":524,"end_character":37},"in_reply_to":"3a71b18c_b2c5578f","updated":"2016-12-04 13:18:35.000000000","message":"Agreed, done.","commit_id":"bae7979c3446b2b19f83b9b9519183ca8cc31143"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"25dbc6b828005eed2e8278cba6b7e58566963e06","unresolved":false,"context_lines":[{"line_number":302,"context_line":"    # We don\u0027t need to add or send around empty source files."},{"line_number":303,"context_line":"    trans\u003d$(msgfmt --statistics -o /dev/null ${pot} 2\u003e\u00261)"},{"line_number":304,"context_line":"    if [ \"$trans\" \u003d \"0 translated messages.\" ] ; then"},{"line_number":305,"context_line":"        rm $pot"},{"line_number":306,"context_line":"    fi"},{"line_number":307,"context_line":"}"},{"line_number":308,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"3a71b18c_08909eeb","line":305,"range":{"start_line":305,"start_character":8,"end_line":305,"end_character":15},"updated":"2016-12-04 14:39:00.000000000","message":"We need the git rm in case that the file was under version control.","commit_id":"8d882b8ab78fcfbb359f2480f8731bd82bd14efb"},{"author":{"_account_id":6547,"name":"Andreas Jaeger","email":"jaegerandi@gmail.com","username":"jaegerandi"},"change_message_id":"5ba41488db6dba3908776f16f558d25b6ae820c6","unresolved":false,"context_lines":[{"line_number":525,"context_line":""},{"line_number":526,"context_line":"    for i in $(find $modulename -name *.pot) ; do"},{"line_number":527,"context_line":"        # Remove file"},{"line_number":528,"context_line":"        rm $i"},{"line_number":529,"context_line":"    done"},{"line_number":530,"context_line":"}"},{"line_number":531,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"3a71b18c_c8fea637","line":528,"range":{"start_line":528,"start_character":8,"end_line":528,"end_character":10},"updated":"2016-12-04 14:34:57.000000000","message":"The git rm needs to stay to remove files already in repos","commit_id":"8d882b8ab78fcfbb359f2480f8731bd82bd14efb"},{"author":{"_account_id":14482,"name":"Ian Y. Choi","email":"ianyrchoi@gmail.com","username":"ianychoi"},"change_message_id":"14daa767bc6743c9135bc717e471338f206dd471","unresolved":false,"context_lines":[{"line_number":525,"context_line":""},{"line_number":526,"context_line":"    for i in $(find $modulename -name *.pot) ; do"},{"line_number":527,"context_line":"        # Remove file"},{"line_number":528,"context_line":"        rm $i"},{"line_number":529,"context_line":"    done"},{"line_number":530,"context_line":"}"},{"line_number":531,"context_line":""}],"source_content_type":"text/x-sh","patch_set":2,"id":"3a71b18c_88baee6c","line":528,"range":{"start_line":528,"start_character":8,"end_line":528,"end_character":10},"in_reply_to":"3a71b18c_c8fea637","updated":"2016-12-04 14:40:43.000000000","message":"I thought that there will be no like \"git add *.pot\" and git rm would be unneeded, but leaving git rm has no problem for the scripts and even it is better to leave if some repositories may have pot files.","commit_id":"8d882b8ab78fcfbb359f2480f8731bd82bd14efb"}]}
