)]}'
{"guidelines/errors-example.json":[{"author":{"_account_id":10239,"name":"Dmitry Tantsur","email":"dtantsur@protonmail.com","username":"dtantsur"},"change_message_id":"18a614c1ac656b2642b82395ddac6e4b4b1dc9a0","unresolved":false,"context_lines":[{"line_number":9,"context_line":"      \"links\": ["},{"line_number":10,"context_line":"        {"},{"line_number":11,"context_line":"          \"rel\": \"help\","},{"line_number":12,"context_line":"          \"href\": \"https://developer.openstack.org/api-ref/orchestration/errors/orchestration.create-failed\""},{"line_number":13,"context_line":"        }"},{"line_number":14,"context_line":"      ]"},{"line_number":15,"context_line":"    },"}],"source_content_type":"application/json","patch_set":2,"id":"5f7c97a3_d9416a0a","line":12,"updated":"2018-07-16 09:14:33.000000000","message":"A good thing about underscores (even though I don\u0027t like how they look) is that they can directly match to some identifiers in the code. Or I can generate code from them without s/-/_/","commit_id":"777732d9c4b0e611ef66c920ebfaaed8420aedc4"},{"author":{"_account_id":11564,"name":"Chris Dent","email":"cdent@anticdent.org","username":"chdent"},"change_message_id":"4d5e397e04e9b70e05e754341bc0ede950453ae7","unresolved":false,"context_lines":[{"line_number":9,"context_line":"      \"links\": ["},{"line_number":10,"context_line":"        {"},{"line_number":11,"context_line":"          \"rel\": \"help\","},{"line_number":12,"context_line":"          \"href\": \"https://developer.openstack.org/api-ref/orchestration/errors/orchestration.create-failed\""},{"line_number":13,"context_line":"        }"},{"line_number":14,"context_line":"      ]"},{"line_number":15,"context_line":"    },"}],"source_content_type":"application/json","patch_set":2,"id":"5f7c97a3_cb33ecc3","line":12,"updated":"2018-07-01 17:41:25.000000000","message":"While working on this I\u0027ve realized that we (maybe just I) have inconsistent about the use of - and _ in these codes. The schema is lowercase alpha, numeric, \u0027.\u0027, and \u0027-\u0027 characters but in placement I\u0027ve already managed to publish one with a _: https://github.com/openstack/nova/blob/master/nova/api/openstack/placement/errors.py#L41\n\nI think placement is one of the few services using the codes (yet) and we said there we\u0027d never change a code, so I\u0027d be inclined to change the schema but that might just be because I hate hyphens. Thoughts?","commit_id":"777732d9c4b0e611ef66c920ebfaaed8420aedc4"},{"author":{"_account_id":1063,"name":"Ed Leafe","email":"ed@leafe.com","username":"ed-leafe"},"change_message_id":"2f0b9ac6ad77ed67d590366cc9f1e234e78e09e5","unresolved":false,"context_lines":[{"line_number":9,"context_line":"      \"links\": ["},{"line_number":10,"context_line":"        {"},{"line_number":11,"context_line":"          \"rel\": \"help\","},{"line_number":12,"context_line":"          \"href\": \"https://developer.openstack.org/api-ref/orchestration/errors/orchestration.create-failed\""},{"line_number":13,"context_line":"        }"},{"line_number":14,"context_line":"      ]"},{"line_number":15,"context_line":"    },"}],"source_content_type":"application/json","patch_set":2,"id":"5f7c97a3_76d5fce5","line":12,"in_reply_to":"5f7c97a3_522899ec","updated":"2018-07-12 16:17:02.000000000","message":"I would be tempted to go so far as to recommend underscores, as I hate hyphens even more. So yeah, let\u0027s expand the schema.","commit_id":"777732d9c4b0e611ef66c920ebfaaed8420aedc4"},{"author":{"_account_id":10670,"name":"Michael McCune","email":"elmiko@redhat.com","username":"mimccune"},"change_message_id":"6bf781ddaad37bd6b4db52410647db0960335a39","unresolved":false,"context_lines":[{"line_number":9,"context_line":"      \"links\": ["},{"line_number":10,"context_line":"        {"},{"line_number":11,"context_line":"          \"rel\": \"help\","},{"line_number":12,"context_line":"          \"href\": \"https://developer.openstack.org/api-ref/orchestration/errors/orchestration.create-failed\""},{"line_number":13,"context_line":"        }"},{"line_number":14,"context_line":"      ]"},{"line_number":15,"context_line":"    },"}],"source_content_type":"application/json","patch_set":2,"id":"5f7c97a3_522899ec","line":12,"in_reply_to":"5f7c97a3_cb33ecc3","updated":"2018-07-05 16:17:48.000000000","message":"hmm, i don\u0027t think we should expand the schema just for placement, but i do think it would be ok to expand the schema for the sake of hyphen-hating underscore users. it seems like a broad enough style that i think it would be ok in this case.","commit_id":"777732d9c4b0e611ef66c920ebfaaed8420aedc4"}],"guidelines/errors.rst":[{"author":{"_account_id":1063,"name":"Ed Leafe","email":"ed@leafe.com","username":"ed-leafe"},"change_message_id":"2f0b9ac6ad77ed67d590366cc9f1e234e78e09e5","unresolved":false,"context_lines":[{"line_number":40,"context_line":"   chain together errors. The example hrefs in the ``links`` are examples"},{"line_number":41,"context_line":"   only, but demonstrate that a service should be responsible for publishing"},{"line_number":42,"context_line":"   and maintaining the documentation associated with the error codes the"},{"line_number":43,"context_line":"   service produces."},{"line_number":44,"context_line":""},{"line_number":45,"context_line":"Errors Documentation"},{"line_number":46,"context_line":"--------------------"}],"source_content_type":"text/x-rst","patch_set":2,"id":"5f7c97a3_d6f17098","line":43,"updated":"2018-07-12 16:17:02.000000000","message":"+1","commit_id":"777732d9c4b0e611ef66c920ebfaaed8420aedc4"}]}
