{"push_id":2154603771,"size":2,"distinct_size":1,"ref":"refs/heads/master","head":"156d9aa10c3f12ef94afb21d6354817298dbbce1","before":"284f1091431018593b55764a7e51904ad8799813","commits":[{"sha":"074d353fd80bc61d42507ea068b2b3a9b0064dd1","author":{"name":"David Thompson","email":"dc99377e52a8b32a88b872bc577a683a1260c8e7@hypothes.is"},"message":"Add a command-line tool to convert annotation IDs\n\nThere are a few occasions where we need to convert between the encoded\nURL-safe versions of our annotation IDs (e.g. '3jgSANNlEeebpLMf36MACw')\nand their UUID versions (e.g. 'de381200-d365-11e7-9ba4-b31fdfa3000b').\nThis tool lets us do that without having to mess around importing bits\nof Python.\n\nThis tool currently relies on private functionality within the\n`h.db.types` module. While this isn't great, it seems better to have it\nthis way and keep the functions private to discourage their use\nelsewhere, than to remove the underscores and risk having them used more\nwidely across the codebase. To mitigate against the risk that someone\nwill change these functions (fairly assuming that they're not used\noutside the module) and break this functionality, I've used the real\nimplementations of `_get_urlsafe_from_hex` and `_get_hex_from_urlsafe`\nin the tests, rather than mocking them out.","distinct":false,"url":"https://api.github.com/repos/hypothesis/h/commits/074d353fd80bc61d42507ea068b2b3a9b0064dd1"},{"sha":"156d9aa10c3f12ef94afb21d6354817298dbbce1","author":{"name":"Robert Knight","email":"d3a75f012596346a1e294e73943b7403ef1e26c3@gmail.com"},"message":"Merge pull request #4703 from hypothesis/uuid-conversion\n\nAdd a command-line tool to convert annotation IDs","distinct":true,"url":"https://api.github.com/repos/hypothesis/h/commits/156d9aa10c3f12ef94afb21d6354817298dbbce1"}]}
{"actor":{"display_login":"robertknight"}}