)]}'
{"doc/source/conf.py":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"180955a0d9676b75a3348a905e79b9091a618796","unresolved":false,"context_lines":[{"line_number":328,"context_line":"       upgrade_backup_dir,"},{"line_number":329,"context_line":"       latest_tag)"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"branch_name \u003d os.popen(\u0027git branch | grep \"*\"\u0027).read()"},{"line_number":332,"context_line":"branch_name \u003d branch_name.replace(\"* \",\"\")"},{"line_number":333,"context_line":"branch_name \u003d branch_name.strip(\u0027 \\n\\t\u0027)"},{"line_number":334,"context_line":"if branch_name \u003d\u003d \"master\":"},{"line_number":335,"context_line":"        branch_name \u003d \"unreleased\""},{"line_number":336,"context_line":"else:"},{"line_number":337,"context_line":"        branch_name \u003d branch_name.replace(\"stable/\",\"\")"},{"line_number":338,"context_line":"print branch_name"},{"line_number":339,"context_line":""},{"line_number":340,"context_line":"# -- Options for sphinxmark -----------------------------------------------"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a8ec9b2_7a4cc476","line":337,"range":{"start_line":331,"start_character":0,"end_line":337,"end_character":55},"updated":"2016-09-20 11:43:50.000000000","message":"This whole thing could be simplified down to:\n\nwatermark \u003d os.popen(\"git branch | awk \u0027/\\*/ {print $2}\u0027\").read().strip(\u0027 \\n\\t\u0027).replace(\"stable/\",\"\")\nif watermark \u003d\u003d \"master\":\n        watermark \u003d \"unreleased\"\n\nI\u0027d prefer to avoid setting this as \u0027branch_name\u0027 because technically that is not what it is - and I expect that we may end up using \u0027branch_name\u0027 for other purposes later.","commit_id":"efc1517c6812bad30ace8677bb312bf176f2b00b"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"180955a0d9676b75a3348a905e79b9091a618796","unresolved":false,"context_lines":[{"line_number":341,"context_line":"sphinxmark_enable \u003d True"},{"line_number":342,"context_line":"sphinxmark_div \u003d \u0027docs-body\u0027"},{"line_number":343,"context_line":"sphinxmark_image \u003d \u0027text\u0027"},{"line_number":344,"context_line":"sphinxmark_text \u003d branch_name"}],"source_content_type":"text/x-python","patch_set":11,"id":"7a8ec9b2_b9b9f317","line":344,"range":{"start_line":344,"start_character":0,"end_line":344,"end_character":15},"updated":"2016-09-20 11:43:50.000000000","message":"I\u0027m not sure why, but this doesn\u0027t appear to be working right now. The watermark simply says \u0027no branch\u0027.","commit_id":"efc1517c6812bad30ace8677bb312bf176f2b00b"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"894f5698513f8d4dc9514de909407573d7d1995a","unresolved":false,"context_lines":[{"line_number":328,"context_line":"       upgrade_backup_dir,"},{"line_number":329,"context_line":"       latest_tag)"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"branch_name \u003d os.popen(\"git branch | awk \u0027/\\*/ {print $2}\u0027\").read().strip(\u0027 \\n\\t\u0027)"},{"line_number":332,"context_line":"if branch_name.startswith(\"stable/\"):"},{"line_number":333,"context_line":"  watermark \u003d branch_name.replace(\"stable/\",\"\").capitalize()"},{"line_number":334,"context_line":"else:"},{"line_number":335,"context_line":"  watermark \u003d \"Pre-release\""},{"line_number":336,"context_line":""},{"line_number":337,"context_line":"# -- Options for sphinxmark -----------------------------------------------"},{"line_number":338,"context_line":"sphinxmark_enable \u003d True"}],"source_content_type":"text/x-python","patch_set":12,"id":"7a8ec9b2_aa818f91","line":335,"range":{"start_line":331,"start_character":0,"end_line":335,"end_character":27},"updated":"2016-09-20 12:33:19.000000000","message":"This logic is a bit more bulletproof, but I\u0027m not sure what the results will actually look like for a stable branch. The post job which actually publishes it should publish from the stable/* branch, but it also publishes from tags. Whatever we use needs to cater for all proper cases.","commit_id":"46d19ee6dd8aee7251654facbcabb316cdb397a0"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"d83eea78e7d7b1071c0fe66f52e4e715ebc6f3a5","unresolved":false,"context_lines":[{"line_number":328,"context_line":"       upgrade_backup_dir,"},{"line_number":329,"context_line":"       latest_tag)"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"watermark \u003d os.popen(\"git branch --contains $(git rev-parse HEAD) | awk -F/ \u0027/stable/ {print $2}\u0027\").read().strip(\u0027 \\n\\t\u0027).capitalize()"},{"line_number":332,"context_line":"if watermark \u003d\u003d \"\":"},{"line_number":333,"context_line":"  watermark \u003d \"Pre-release\""},{"line_number":334,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_33825701","line":331,"range":{"start_line":331,"start_character":22,"end_line":331,"end_character":97},"updated":"2016-09-20 13:44:15.000000000","message":"I\u0027m open to more reliable ways of getting the current branch, regardless of whether a tag, branch or a detached head of any kind is used. So far this appears to be the most reliable way I can come up with.","commit_id":"ea87af4fc958f40dfe6ce7e4d77e3275664652d7"},{"author":{"_account_id":22778,"name":"Nish Patwa(nishpatwa007)","email":"nish.patwa@intel.com","username":"npatwa"},"change_message_id":"e5aa2ea81742b5530378e760549bc694c6ec85d7","unresolved":false,"context_lines":[{"line_number":328,"context_line":"       upgrade_backup_dir,"},{"line_number":329,"context_line":"       latest_tag)"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"watermark \u003d os.popen(\"git branch --contains $(git rev-parse HEAD) | awk -F/ \u0027/stable/ {print $2}\u0027\").read().strip(\u0027 \\n\\t\u0027).capitalize()"},{"line_number":332,"context_line":"if watermark \u003d\u003d \"\":"},{"line_number":333,"context_line":"  watermark \u003d \"Pre-release\""},{"line_number":334,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_a720ddb1","line":331,"range":{"start_line":331,"start_character":22,"end_line":331,"end_character":97},"in_reply_to":"7a8ec9b2_33825701","updated":"2016-09-20 14:41:32.000000000","message":"Works good. Thanks for the solution. :)","commit_id":"ea87af4fc958f40dfe6ce7e4d77e3275664652d7"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"45836e4bd0e7bf2fef2b30d76457d55d6cfca166","unresolved":false,"context_lines":[{"line_number":328,"context_line":"       upgrade_backup_dir,"},{"line_number":329,"context_line":"       latest_tag)"},{"line_number":330,"context_line":""},{"line_number":331,"context_line":"watermark \u003d os.popen(\"git branch --contains $(git rev-parse HEAD) | awk -F/ \u0027/stable/ {print $2}\u0027\").read().strip(\u0027 \\n\\t\u0027).capitalize()"},{"line_number":332,"context_line":"if watermark \u003d\u003d \"\":"},{"line_number":333,"context_line":"  watermark \u003d \"Pre-release\""},{"line_number":334,"context_line":""}],"source_content_type":"text/x-python","patch_set":13,"id":"7a8ec9b2_a29e0b52","line":331,"range":{"start_line":331,"start_character":22,"end_line":331,"end_character":97},"in_reply_to":"7a8ec9b2_a720ddb1","updated":"2016-09-20 14:44:42.000000000","message":":) apologies for taking over the patch without speaking to you first","commit_id":"ea87af4fc958f40dfe6ce7e4d77e3275664652d7"}],"releasenotes/source/conf.py":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"180955a0d9676b75a3348a905e79b9091a618796","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":11,"id":"7a8ec9b2_baf2cc04","updated":"2016-09-20 11:43:50.000000000","message":"I think we can safely leave releasenotes out of the watermark process needs - they are already very clearly separated through the way that they\u0027re published.\n\nIn other words, remove these changes and leave release notes out of the watermarking process.","commit_id":"efc1517c6812bad30ace8677bb312bf176f2b00b"}],"test-requirements.txt":[{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"180955a0d9676b75a3348a905e79b9091a618796","unresolved":false,"context_lines":[{"line_number":17,"context_line":"openstackdocstheme\u003e\u003d1.5.0 # Apache-2.0"},{"line_number":18,"context_line":"doc8 # Apache-2.0"},{"line_number":19,"context_line":"reno\u003e\u003d1.8.0 # Apache2"},{"line_number":20,"context_line":"sphinxmark"}],"source_content_type":"text/plain","patch_set":11,"id":"7a8ec9b2_d9e87f19","line":20,"range":{"start_line":20,"start_character":0,"end_line":20,"end_character":10},"updated":"2016-09-20 11:43:50.000000000","message":"Before we can merge this - the requirement has to be present in global-requirements. I\u0027ve submitted https://review.openstack.org/373192 for that.","commit_id":"efc1517c6812bad30ace8677bb312bf176f2b00b"}]}
