)]}'
{"tools/validate.py":[{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"92033631b6c543b11423bb80d3d0d16174dc6499","unresolved":false,"context_lines":[{"line_number":75,"context_line":"                                         project[\u0027hash\u0027]),"},{"line_number":76,"context_line":"                          end\u003d\u0027\u0027)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"                    if project[\u0027hash\u0027] in COMMON_NAMES:"},{"line_number":79,"context_line":"                        print(\u0027NOT A SHA HASH\u0027)"},{"line_number":80,"context_line":"                        num_errors +\u003d 1"},{"line_number":81,"context_line":"                    else:"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_d93a6e34","line":78,"updated":"2015-07-17 19:07:56.000000000","message":"So there are a billion ways to be not a hash. hashes are always 20 chars long and 0-9a-fA-F. If we\u0027re going to insist on hashes, lets really do it.","commit_id":"9531272b9780bdeb628da122c78a281e826fcf20"},{"author":{"_account_id":4190,"name":"lifeless","email":"robertc@robertcollins.net","username":"lifeless"},"change_message_id":"92033631b6c543b11423bb80d3d0d16174dc6499","unresolved":false,"context_lines":[{"line_number":76,"context_line":"                          end\u003d\u0027\u0027)"},{"line_number":77,"context_line":""},{"line_number":78,"context_line":"                    if project[\u0027hash\u0027] in COMMON_NAMES:"},{"line_number":79,"context_line":"                        print(\u0027NOT A SHA HASH\u0027)"},{"line_number":80,"context_line":"                        num_errors +\u003d 1"},{"line_number":81,"context_line":"                    else:"},{"line_number":82,"context_line":"                        url \u003d CGIT_TEMPLATE % (project[\u0027repo\u0027], project[\u0027hash\u0027])"}],"source_content_type":"text/x-python","patch_set":1,"id":"9a41bdd9_b96d2a34","line":79,"updated":"2015-07-17 19:07:56.000000000","message":"It might ease testing if rather than IO (print) + logic (num_errors) this accumulated a description of the failures:\nreleases[project][\u0027errors\u0027].append(\u0027NOT A SHA HASH\u0027) etc, and then print + return non-zero can be consolidated.\n\nof course its just one routine right now, but it will grow :)","commit_id":"9531272b9780bdeb628da122c78a281e826fcf20"}]}
