{"id":41779292,"url":"https://github.com/drone/go-convert","last_synced_at":"2026-01-25T03:34:49.394Z","repository":{"id":137356484,"uuid":"608849375","full_name":"drone/go-convert","owner":"drone","description":"Package convert provides tools for converting pipeline configuration files to the Drone format.","archived":false,"fork":false,"pushed_at":"2025-12-18T08:30:27.000Z","size":6749,"stargazers_count":14,"open_issues_count":54,"forks_count":25,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-21T15:57:10.661Z","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/drone.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-03-02T21:34:29.000Z","updated_at":"2025-12-10T06:11:03.000Z","dependencies_parsed_at":"2024-12-17T08:32:12.441Z","dependency_job_id":"9ca3914a-050d-4c79-b1e8-4fcbc34feeaf","html_url":"https://github.com/drone/go-convert","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/drone/go-convert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fgo-convert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fgo-convert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fgo-convert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fgo-convert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/drone","download_url":"https://codeload.github.com/drone/go-convert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/drone%2Fgo-convert/sbom","scorecard":{"id":356662,"data":{"date":"2025-08-11","repo":{"name":"github.com/drone/go-convert","commit":"e6aeac1cc420270fc36970e979666a0f73c37958"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":5.3,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":8,"reason":"Found 8/10 approved changesets -- score normalized to 8","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":4,"reason":"5 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 4","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-18T09:45:51.981Z","repository_id":137356484,"created_at":"2025-08-18T09:45:51.981Z","updated_at":"2025-08-18T09:45:51.981Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28742975,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-25T02:46:29.005Z","status":"ssl_error","status_checked_at":"2026-01-25T02:44:29.968Z","response_time":113,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":"2026-01-25T03:34:48.810Z","updated_at":"2026-01-25T03:34:49.389Z","avatar_url":"https://github.com/drone.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"Package convert provides tooling to convert third party pipeline configurations to the Harness pipeline configuration format.\n\n\n__Sample Usage__\n\nSample code to convert a Bitbucket pipeline to a Harness pipeline:\n\n```Go\nimport \"github.com/drone/go-convert/convert/bitbucket\"\n```\n\n```Go\nconverter := bitbucket.New(\n\tbitbucket.WithDockerhub(c.dockerConn),\n\tbitbucket.WithKubernetes(c.kubeConn, c.kubeName),\n)\nconverted, err := converter.ConvertFile(\"bitbucket-pipelines.yml\")\nif err != nil {\n\tlog.Fatalln(err)\n}\n```\n\n__Command Line__\n\nThis package provides command line tools for local development and debugging purposes. These command line tools are intentionally simple. For more robust command line tooling please use the [harness-convert](https://github.com/harness/harness-convert) project.\n\nCompile the binary:\n\n```\ngit clone https://github.com/drone/go-convert.git\ncd go-convert\ngo build\n```\n\n__Bitbucket__\n\nConvert a Bitbucket pipeline:\n\n```\n./go-convert bitbucket samples/bitbucket.yaml\n```\n\nConvert a Gitlab pipeline and print the before after:\n\n```\n./go-convert bitbucket --before-after samples/bitbucket.yaml\n```\n\nConvert a Bitbucket pipeline and downgrade to the Harness v0 format:\n\n```\n./go-convert bitbucket --downgrade samples/bitbucket.yaml\n```\n\n__Drone__\n\nConvert a Drone pipeline:\n\n```\n./go-convert drone samples/drone.yaml\n```\n\nConvert a Drone pipeline and print the before after:\n\n```\n./go-convert drone --before-after samples/drone.yaml\n```\n\nConvert a Drone pipeline and downgrade to the Harness v0 format:\n\n```\n./go-convert drone --downgrade samples/drone.yaml\n```\n\n__Gitlab__\n\nConvert a Gitlab pipeline:\n\n```\n./go-convert gitlab samples/gitlab.yaml\n```\n\nConvert a Gitlab pipeline and print the before after:\n\n```\n./go-convert gitlab --before-after samples/gitlab.yaml\n```\n\nConvert a Gitlab pipeline and downgrade to the Harness v0 format:\n\n```\n./go-convert gitlab --downgrade samples/gitlab.yaml\n```\n\n__Jenkins__\n\nConvert a Jenkinsfile:\n\n```\n./go-convert jenkins --token=\u003cchat-gpt-token\u003e samples/Jenkinsfile\n```\n\nConvert a Jenkinsfile and downgrade to the Harness v0 format:\n\n```\n./go-convert jenkins --token=\u003cchat-gpt-token\u003e --downgrade samples/Jenkinsfile\n```\n\n__Syntax Highlighting__\n\nThe command line tools are compatble with [bat](https://github.com/sharkdp/bat) for syntax highlight.\n\n```\n./go-convert bitbucket --before-after samples/bitbucket.yaml | bat -l yaml\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Fgo-convert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdrone%2Fgo-convert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdrone%2Fgo-convert/lists"}