)]}'
{"files/log_archive_maintenance.sh":[{"author":{"_account_id":7118,"name":"Ian Wienand","email":"iwienand@redhat.com","username":"iwienand"},"change_message_id":"2797edc047de15f9765048dc2dd49da2090c4d89","unresolved":false,"context_lines":[{"line_number":2,"context_line":"sleep $((RANDOM%600)) \u0026\u0026 \\"},{"line_number":3,"context_line":"flock -n /var/run/gziplogs.lock \\"},{"line_number":4,"context_line":"find -O3 /srv/static/logs/ -depth -not -name robots.txt -not -name lost+found \\"},{"line_number":5,"context_line":"        -not -wholename /srv/static/logs/help/\\* \\( \\"},{"line_number":6,"context_line":"    \\( -type f -mmin +10 -not -name \\*\\[.-\\]gz -not -name \\*\\[._-\\]\\[zZ\\] \\"},{"line_number":7,"context_line":"        \\( -name \\*.txt -or -name \\*.html -or -name tmp\\* \\) \\"},{"line_number":8,"context_line":"        -exec gzip \\{\\} \\; \\) \\"}],"source_content_type":"text/x-sh","patch_set":1,"id":"7faddb67_1a94388a","line":5,"updated":"2019-08-06 20:03:51.000000000","message":"i was thinking maybe the \"-not -name robots.txt\" (and maybe lost+found) should be replaced with -wholename argument like this to /srv/static/logs/robots.txt ... then it should not touch the top level one and could all be done in one step? (untested :)","commit_id":"96a897774f541906e987ccfd84c7fd000f892543"},{"author":{"_account_id":5263,"name":"Jeremy Stanley","display_name":"fungi","email":"fungi@yuggoth.org","username":"fungi","status":"missing, presumed fed"},"change_message_id":"6e7de7fff9d6df6982efcd4e0f104aa593692b5a","unresolved":false,"context_lines":[{"line_number":3,"context_line":"flock -n /var/run/gziplogs.lock \\"},{"line_number":4,"context_line":"find -O3 /srv/static/logs/ -depth -not -name lost+found \\"},{"line_number":5,"context_line":"        -not -wholename /srv/static/logs/help/\\* \\"},{"line_number":6,"context_line":"        -not -wholename /srv/static/robots.txt \\( \\"},{"line_number":7,"context_line":"    \\( -type f -mmin +10 -not -name \\*\\[.-\\]gz -not -name \\*\\[._-\\]\\[zZ\\] \\"},{"line_number":8,"context_line":"        \\( -name \\*.txt -or -name \\*.html -or -name tmp\\* \\) \\"},{"line_number":9,"context_line":"        -exec gzip \\{\\} \\; \\) \\"}],"source_content_type":"text/x-sh","patch_set":3,"id":"7faddb67_ed7396e7","line":6,"updated":"2019-08-07 14:03:30.000000000","message":"Should be /srv/static/logs/robots.txt instead.","commit_id":"80cf010ede4a2ed1d5329b0728492e7db025859d"}]}
