)]}'
{"doc/source/admin/drivers/bitbucket.rst":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"22430f406a9095b5cf59e11bdc5640b274d4600e","unresolved":false,"context_lines":[{"line_number":165,"context_line":""},{"line_number":166,"context_line":"  - pipeline:"},{"line_number":167,"context_line":"      name: gate"},{"line_number":168,"context_line":"      manager: independent"},{"line_number":169,"context_line":"      require:"},{"line_number":170,"context_line":"        bitbucket:"},{"line_number":171,"context_line":"          canMerge: True"}],"source_content_type":"text/x-rst","patch_set":70,"id":"7faddb67_73ffb901","line":168,"updated":"2019-08-20 16:35:28.000000000","message":"dependent","commit_id":"7c410f8a407396d965a6db6ccb0d22d07577edf8"},{"author":{"_account_id":8334,"name":"Noorul Islam K M","email":"noorul@noorul.com","username":"noorul"},"change_message_id":"7fb1c6fbacb1478baa97734cdfbfdd7964cfe779","unresolved":false,"context_lines":[{"line_number":216,"context_line":"              - updated"},{"line_number":217,"context_line":"      success:"},{"line_number":218,"context_line":"        bitbucket:"},{"line_number":219,"context_line":"          merge: False"},{"line_number":220,"context_line":"      failure:"},{"line_number":221,"context_line":"        bitbucket:"},{"line_number":222,"context_line":"          merge: False"}],"source_content_type":"text/x-rst","patch_set":70,"id":"7faddb67_5c8513ac","line":219,"updated":"2019-08-18 15:30:56.000000000","message":"Can you mysql reporter here similar to https://zuul-ci.org/docs/zuul/admin/quick-start.html ?","commit_id":"7c410f8a407396d965a6db6ccb0d22d07577edf8"},{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"22430f406a9095b5cf59e11bdc5640b274d4600e","unresolved":false,"context_lines":[{"line_number":223,"context_line":""},{"line_number":224,"context_line":"  - pipeline:"},{"line_number":225,"context_line":"      name: gate"},{"line_number":226,"context_line":"      manager: independent"},{"line_number":227,"context_line":"      require:"},{"line_number":228,"context_line":"        bitbucket:"},{"line_number":229,"context_line":"          canMerge: True"}],"source_content_type":"text/x-rst","patch_set":70,"id":"7faddb67_1600b300","line":226,"updated":"2019-08-20 16:35:28.000000000","message":"dependent","commit_id":"7c410f8a407396d965a6db6ccb0d22d07577edf8"}],"tests/fixtures/layouts/basic-bitbucket.yaml":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"22430f406a9095b5cf59e11bdc5640b274d4600e","unresolved":false,"context_lines":[{"line_number":24,"context_line":""},{"line_number":25,"context_line":"- pipeline:"},{"line_number":26,"context_line":"    name: gate"},{"line_number":27,"context_line":"    manager: independent"},{"line_number":28,"context_line":"    require:"},{"line_number":29,"context_line":"      bitbucket:"},{"line_number":30,"context_line":"        canMerge: True"}],"source_content_type":"text/x-yaml","patch_set":70,"id":"7faddb67_36036f0f","line":27,"updated":"2019-08-20 16:35:28.000000000","message":"dependent","commit_id":"7c410f8a407396d965a6db6ccb0d22d07577edf8"}],"tests/unit/bitbucket/testbitbucketfunctional.py":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"f19bb4f743b0c1de9e42349cadc744be7ccf05c5","unresolved":false,"context_lines":[{"line_number":7,"context_line":"from tests.base import ZuulTestCase, simple_layout"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":""},{"line_number":10,"context_line":"class TestBitbucketFunctional(ZuulTestCase):"},{"line_number":11,"context_line":"    config_file \u003d \u0027zuul-bitbucket-driver.conf\u0027"},{"line_number":12,"context_line":""},{"line_number":13,"context_line":"    def pushBranch(self, project, branch, files\u003d[], message\u003d\u0027\u0027):"}],"source_content_type":"text/x-python","patch_set":54,"id":"9fb8cfa7_dca45b4d","line":10,"updated":"2019-06-14 21:17:50.000000000","message":"It would be good to have both a forward and reverse cross-repo-dependency test.  And also a cross-source dependency test too (where you have bitbucked and gerrit changes depending on each other).","commit_id":"93842514f67605146dfcb2b0b65154eea6700e0d"}],"zuul/driver/bitbucket/bitbucketconnection.py":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"f19bb4f743b0c1de9e42349cadc744be7ccf05c5","unresolved":false,"context_lines":[{"line_number":479,"context_line":""},{"line_number":480,"context_line":"    def buildPR(self, project, repo, id, cache\u003dTrue):"},{"line_number":481,"context_line":"        pr \u003d self.getPR(project, repo, id)"},{"line_number":482,"context_line":"        pri \u003d self.getPRInventory(project, repo, id)"},{"line_number":483,"context_line":""},{"line_number":484,"context_line":"        project \u003d self.getProject(\u0027{}/{}\u0027.format(project, repo))"},{"line_number":485,"context_line":"        pull \u003d PullRequest(project.name)"}],"source_content_type":"text/x-python","patch_set":54,"id":"9fb8cfa7_7c652f1d","line":482,"updated":"2019-06-14 21:17:50.000000000","message":"The other drivers cache their resulting change/pr objects so that if Source.getChange is called multiple times, the same object is returned.  This also has the side effect that if the driver updates a change (say an approval is revoked), Zuul will see that change, since single object in the system representing it is updated.  I see there\u0027s a cache here, but we don\u0027t read from it in this method.  I think we probably want to do that... and we should probably update the developer docs to make that API expectation clear.\n\nAlso, we need to set pull.uris in order for reverse cross-project deps to work.","commit_id":"93842514f67605146dfcb2b0b65154eea6700e0d"},{"author":{"_account_id":30404,"name":"Mark Meyer","email":"mark@ofosos.org","username":"ofosos"},"change_message_id":"3a50979bd61fd281b0388f4c9644d9a702978b6f","unresolved":false,"context_lines":[{"line_number":479,"context_line":""},{"line_number":480,"context_line":"    def buildPR(self, project, repo, id, cache\u003dTrue):"},{"line_number":481,"context_line":"        pr \u003d self.getPR(project, repo, id)"},{"line_number":482,"context_line":"        pri \u003d self.getPRInventory(project, repo, id)"},{"line_number":483,"context_line":""},{"line_number":484,"context_line":"        project \u003d self.getProject(\u0027{}/{}\u0027.format(project, repo))"},{"line_number":485,"context_line":"        pull \u003d PullRequest(project.name)"}],"source_content_type":"text/x-python","patch_set":54,"id":"9fb8cfa7_ca24f662","line":482,"in_reply_to":"9fb8cfa7_7c652f1d","updated":"2019-06-25 10:56:39.000000000","message":"Addressed in most recent change set.","commit_id":"93842514f67605146dfcb2b0b65154eea6700e0d"}],"zuul/driver/bitbucket/bitbucketsource.py":[{"author":{"_account_id":1,"name":"James E. Blair","email":"jim@acmegating.com","username":"corvus"},"change_message_id":"f19bb4f743b0c1de9e42349cadc744be7ccf05c5","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            project_name, repo \u003d self.connection._getProjectRepo("},{"line_number":92,"context_line":"                event.project_name)"},{"line_number":93,"context_line":"            return self.connection.buildPR("},{"line_number":94,"context_line":"                project_name, repo, event.change_number)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        else:"},{"line_number":97,"context_line":"            self.log.info(\"Getting change for %s ref:%s\" % ("}],"source_content_type":"text/x-python","patch_set":54,"id":"9fb8cfa7_9c6823f5","line":94,"updated":"2019-06-14 21:17:50.000000000","message":"If we change the BitbucketTriggerEvent.change_id to change_number, we can drop the introspection of the event type here and just use buildPR on event.change_number in both cases.","commit_id":"93842514f67605146dfcb2b0b65154eea6700e0d"},{"author":{"_account_id":30404,"name":"Mark Meyer","email":"mark@ofosos.org","username":"ofosos"},"change_message_id":"3a50979bd61fd281b0388f4c9644d9a702978b6f","unresolved":false,"context_lines":[{"line_number":91,"context_line":"            project_name, repo \u003d self.connection._getProjectRepo("},{"line_number":92,"context_line":"                event.project_name)"},{"line_number":93,"context_line":"            return self.connection.buildPR("},{"line_number":94,"context_line":"                project_name, repo, event.change_number)"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        else:"},{"line_number":97,"context_line":"            self.log.info(\"Getting change for %s ref:%s\" % ("}],"source_content_type":"text/x-python","patch_set":54,"id":"9fb8cfa7_ea29ba36","line":94,"in_reply_to":"9fb8cfa7_9c6823f5","updated":"2019-06-25 10:56:39.000000000","message":"Done","commit_id":"93842514f67605146dfcb2b0b65154eea6700e0d"}]}
