)]}'
{"doc/source/admin/drivers/bitbucket.rst":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"0b1777ebbac8acd5df84aa7096e0eec974834f3b","unresolved":false,"context_lines":[{"line_number":60,"context_line":"per pipeline basis. This feature is based on the Bitbucket build"},{"line_number":61,"context_line":"status API. Build status can be used to set conditions in Bitbucket"},{"line_number":62,"context_line":"like all other build information can be used. Reporting includes"},{"line_number":63,"context_line":"the pipeline name and the string \"Zuul\"."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"There are no configuration items right now."}],"source_content_type":"text/x-rst","patch_set":10,"id":"dfbec78f_2c4fc934","line":63,"updated":"2019-05-14 13:06:22.000000000","message":"For the future, it might be good to make this string a config option, that defaults to \"Zuul\".","commit_id":"2791f06cfc85d2b84b1799e11de46c896771ac84"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"1e0f3c92118a91179debb650a6cb475e61353a33","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    Password for the user to log in to the server."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Connection configuration"},{"line_number":57,"context_line":"------------------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Zuul can report back build status to Bitbucket, it will do this on a"}],"source_content_type":"text/x-rst","patch_set":11,"id":"dfbec78f_4769aaf6","line":56,"updated":"2019-05-15 08:36:22.000000000","message":"Probably you mean reporter here.","commit_id":"a09dd3821f378205f8907f9c822c19a75deda90e"},{"author":{"_account_id":30404,"name":"Mark Meyer","email":"mark@ofosos.org","username":"ofosos"},"change_message_id":"271c3d2fa59848a84b83da13efa5a2c1611997f6","unresolved":false,"context_lines":[{"line_number":53,"context_line":""},{"line_number":54,"context_line":"    Password for the user to log in to the server."},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"Connection configuration"},{"line_number":57,"context_line":"------------------------"},{"line_number":58,"context_line":""},{"line_number":59,"context_line":"Zuul can report back build status to Bitbucket, it will do this on a"}],"source_content_type":"text/x-rst","patch_set":11,"id":"dfbec78f_6a47d3bd","line":56,"in_reply_to":"dfbec78f_4769aaf6","updated":"2019-05-15 09:12:25.000000000","message":"Done","commit_id":"a09dd3821f378205f8907f9c822c19a75deda90e"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"1e0f3c92118a91179debb650a6cb475e61353a33","unresolved":false,"context_lines":[{"line_number":62,"context_line":"like all other build information can be used. Reporting includes"},{"line_number":63,"context_line":"the pipeline name and the string \"Zuul\"."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"There are no configuration items right now."}],"source_content_type":"text/x-rst","patch_set":11,"id":"dfbec78f_e76bfeed","line":65,"updated":"2019-05-15 08:36:22.000000000","message":"\u0027merge\u0027 is a config item, and the things that say \"zuul\" should be customizable here.","commit_id":"a09dd3821f378205f8907f9c822c19a75deda90e"},{"author":{"_account_id":30404,"name":"Mark Meyer","email":"mark@ofosos.org","username":"ofosos"},"change_message_id":"271c3d2fa59848a84b83da13efa5a2c1611997f6","unresolved":false,"context_lines":[{"line_number":62,"context_line":"like all other build information can be used. Reporting includes"},{"line_number":63,"context_line":"the pipeline name and the string \"Zuul\"."},{"line_number":64,"context_line":""},{"line_number":65,"context_line":"There are no configuration items right now."}],"source_content_type":"text/x-rst","patch_set":11,"id":"dfbec78f_8a4247aa","line":65,"in_reply_to":"dfbec78f_e76bfeed","updated":"2019-05-15 09:12:25.000000000","message":"Done","commit_id":"a09dd3821f378205f8907f9c822c19a75deda90e"}],"zuul/driver/bitbucket/bitbucketconnection.py":[{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"9c616228b23cda27edc549c4e1287608bd726ce5","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        r \u003d requests.post(url, auth\u003dHTTPBasicAuth(self.user, self.pw),"},{"line_number":54,"context_line":"                          data\u003dpayload)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        if r.status_code !\u003d 200:"},{"line_number":57,"context_line":"            raise BitbucketConnectionError("},{"line_number":58,"context_line":"                \"Connection to server returned status {} path {}\""},{"line_number":59,"context_line":"                .format(r.status_code, url))"}],"source_content_type":"text/x-python","patch_set":13,"id":"9fb8cfa7_c969e88b","line":56,"updated":"2019-06-01 20:24:10.000000000","message":"This may be how BitBucket\u0027s API is designed, but generally anything under 400 is considered OK. You may want to change to use r.ok. https://2.python-requests.org/en/master/api/#requests.Response.ok","commit_id":"eec77a633304da8c2a85903ed7ade5623a00fcec"},{"author":{"_account_id":30404,"name":"Mark Meyer","email":"mark@ofosos.org","username":"ofosos"},"change_message_id":"dd0c84e50dfc2d18c3768ab70c58098da56f59fd","unresolved":false,"context_lines":[{"line_number":53,"context_line":"        r \u003d requests.post(url, auth\u003dHTTPBasicAuth(self.user, self.pw),"},{"line_number":54,"context_line":"                          data\u003dpayload)"},{"line_number":55,"context_line":""},{"line_number":56,"context_line":"        if r.status_code !\u003d 200:"},{"line_number":57,"context_line":"            raise BitbucketConnectionError("},{"line_number":58,"context_line":"                \"Connection to server returned status {} path {}\""},{"line_number":59,"context_line":"                .format(r.status_code, url))"}],"source_content_type":"text/x-python","patch_set":13,"id":"9fb8cfa7_4384beb1","line":56,"in_reply_to":"9fb8cfa7_c969e88b","updated":"2019-06-05 12:24:50.000000000","message":"Done","commit_id":"eec77a633304da8c2a85903ed7ade5623a00fcec"}],"zuul/driver/bitbucket/bitbucketreporter.py":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"1e0f3c92118a91179debb650a6cb475e61353a33","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            \u0027state\u0027: state,"},{"line_number":59,"context_line":"            \u0027key\u0027: \u0027zuul-{}\u0027.format(self.context),"},{"line_number":60,"context_line":"            \u0027name\u0027: \u0027Zuul: {}\u0027.format(self.context),"},{"line_number":61,"context_line":"            \u0027url\u0027: \u0027https://zuul.test\u0027,  # FIXME"},{"line_number":62,"context_line":"            \u0027description\u0027: message"},{"line_number":63,"context_line":"        }"},{"line_number":64,"context_line":"        self.connection.setBuildStatus(item.change.patchset, status)"}],"source_content_type":"text/x-python","patch_set":11,"id":"dfbec78f_076f32fc","line":61,"updated":"2019-05-15 08:36:22.000000000","message":"This could be the buildset url, though I\u0027m not sure if we have a method to calculate it yet.","commit_id":"a09dd3821f378205f8907f9c822c19a75deda90e"},{"author":{"_account_id":30404,"name":"Mark Meyer","email":"mark@ofosos.org","username":"ofosos"},"change_message_id":"271c3d2fa59848a84b83da13efa5a2c1611997f6","unresolved":false,"context_lines":[{"line_number":58,"context_line":"            \u0027state\u0027: state,"},{"line_number":59,"context_line":"            \u0027key\u0027: \u0027zuul-{}\u0027.format(self.context),"},{"line_number":60,"context_line":"            \u0027name\u0027: \u0027Zuul: {}\u0027.format(self.context),"},{"line_number":61,"context_line":"            \u0027url\u0027: \u0027https://zuul.test\u0027,  # FIXME"},{"line_number":62,"context_line":"            \u0027description\u0027: message"},{"line_number":63,"context_line":"        }"},{"line_number":64,"context_line":"        self.connection.setBuildStatus(item.change.patchset, status)"}],"source_content_type":"text/x-python","patch_set":11,"id":"dfbec78f_6a2033f8","line":61,"in_reply_to":"dfbec78f_076f32fc","updated":"2019-05-15 09:12:25.000000000","message":"Done","commit_id":"a09dd3821f378205f8907f9c822c19a75deda90e"},{"author":{"_account_id":6488,"name":"Clint Byrum","email":"clint@fewbar.com","username":"clint-fewbar"},"change_message_id":"9c616228b23cda27edc549c4e1287608bd726ce5","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"def getSchema():"},{"line_number":69,"context_line":"    bitbucket_reporter \u003d v.Schema({"},{"line_number":70,"context_line":"    })"},{"line_number":71,"context_line":"    return bitbucket_reporter"}],"source_content_type":"text/x-python","patch_set":13,"id":"9fb8cfa7_69047cc7","line":70,"updated":"2019-06-01 20:24:10.000000000","message":"This should reflect what the documentation shows as valid config options for the reporter. All of the others provide plenty of example to crib from.","commit_id":"eec77a633304da8c2a85903ed7ade5623a00fcec"},{"author":{"_account_id":30404,"name":"Mark Meyer","email":"mark@ofosos.org","username":"ofosos"},"change_message_id":"dd0c84e50dfc2d18c3768ab70c58098da56f59fd","unresolved":false,"context_lines":[{"line_number":67,"context_line":""},{"line_number":68,"context_line":"def getSchema():"},{"line_number":69,"context_line":"    bitbucket_reporter \u003d v.Schema({"},{"line_number":70,"context_line":"    })"},{"line_number":71,"context_line":"    return bitbucket_reporter"}],"source_content_type":"text/x-python","patch_set":13,"id":"9fb8cfa7_a3beda62","line":70,"in_reply_to":"9fb8cfa7_69047cc7","updated":"2019-06-05 12:24:50.000000000","message":"Done","commit_id":"eec77a633304da8c2a85903ed7ade5623a00fcec"}]}
