{"id":29132368,"url":"https://github.com/expediagroup/flyte-bitbucket","last_synced_at":"2026-01-20T16:31:13.794Z","repository":{"id":150177271,"uuid":"129653969","full_name":"ExpediaGroup/flyte-bitbucket","owner":"ExpediaGroup","description":"An Atlassian Bitbucket integration pack for Flyte","archived":false,"fork":false,"pushed_at":"2024-03-05T05:09:56.000Z","size":17,"stargazers_count":0,"open_issues_count":1,"forks_count":4,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-06-30T06:44:59.462Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ExpediaGroup.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2018-04-15T21:50:16.000Z","updated_at":"2020-08-25T13:10:09.000Z","dependencies_parsed_at":"2023-08-27T01:32:26.053Z","dependency_job_id":null,"html_url":"https://github.com/ExpediaGroup/flyte-bitbucket","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ExpediaGroup/flyte-bitbucket","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaGroup%2Fflyte-bitbucket","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaGroup%2Fflyte-bitbucket/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaGroup%2Fflyte-bitbucket/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaGroup%2Fflyte-bitbucket/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ExpediaGroup","download_url":"https://codeload.github.com/ExpediaGroup/flyte-bitbucket/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ExpediaGroup%2Fflyte-bitbucket/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28607188,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T16:10:39.856Z","status":"ssl_error","status_checked_at":"2026-01-20T16:10:39.493Z","response_time":117,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-30T06:39:39.386Z","updated_at":"2026-01-20T16:31:13.788Z","avatar_url":"https://github.com/ExpediaGroup.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Overview\n\n![Build Status](https://travis-ci.org/ExpediaGroup/flyte-bitbucket.svg?branch=master)\n[![Docker Stars](https://img.shields.io/docker/stars/hotelsdotcom/flyte-bitbucket.svg)](https://hub.docker.com/r/hotelsdotcom/flyte-bitbucket)\n[![Docker Pulls](https://img.shields.io/docker/pulls/hotelsdotcom/flyte-bitbucket.svg)](https://hub.docker.com/r/hotelsdotcom/flyte-bitbucket)\n\nThe bitbucket pack provides the ability to create a new repo.\n\n## Build \u0026 Run\n### Command Line\nTo build and run from the command line:\n* Clone this repo\n* Run `dep ensure` (must have [dep](https://github.com/golang/dep) installed )\n* Run `go build`\n* Run `FLYTE_API_URL=http://someflyteurl.com/ BITBUCKET_HOST=http://somebitbucketurl.com BITBUCKET_USER=user1 BITBUCKET_PASS=password ./flyte-bitbucket`\n* Fill in this command with the relevant API url, bitbucket host, bitbucket user and bitbucket password environment variables\n\n### Docker\nTo build and run from docker\n* Run `docker build -t flyte-bitbucket .`\n* Run `docker run -e FLYTE_API_URL=http://someurl.com/ -e BITBUCKET_HOST=http://bitbuckethost.com -e BITBUCKET_USER=user1 -e BITBUCKET_PASS=password flyte-bitbucket`\n* All of these environment variables need to be set\n\n## Commands\n### createRepo command\nThis command creates a bitbucket repo.\n#### Input\nThis commands input is the project and repo name:\n```\n\"input\": {\n    \"project\": \"FLYTE\",\n    \"name\": \"newRepo\"\n    }\n```\n#### Output\nThis command returns either a `createRepo` event or a `createRepoFailure` event. \n##### createRepo event\nThis contains the url of the new repo.\n```\n\"payload\": {\n    \"project\": \"FLYTE\",\n    \"name\": \"newRepo\",\n    \"url\": \"http://somebitbuckethost.com/projects/FLYTE/repos/newRepo/browse\"\n}\n```\n##### createRepoFailure event\nThis contains the error message of why the repo could not be created\n```\n\"payload\": {\n    \"project\": \"FLYTE\",\n    \"name\": \"newRepo\",\n    \"error\": \"fail: status code 400\"\n}\n```\n### Rules\nAn example rule can be seen below:\n```\n{\n  \"id\": \"hipchatCreateRepo\",\n  \"name\": \"createRepo\",\n  \"description\": \"\",\n  \"labels\": {},\n  \"event\": {\n    \"pack-id\": \"Hipchat\",\n    \"name\": \"ReceivedMessage\"\n  },\n  \"command\": {\n    \"pack-id\": \"BitBucket\",\n    \"name\": \"createRepo\",\n    \"input\": {\n        \"project\": \"FLYTE\",\n        \"name\": \"newRepo\"\n    }\n  },\n  \"links\": ...\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpediagroup%2Fflyte-bitbucket","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fexpediagroup%2Fflyte-bitbucket","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fexpediagroup%2Fflyte-bitbucket/lists"}