{"id":22351870,"url":"https://github.com/screwdriver-cd/scm-router","last_synced_at":"2025-07-30T07:31:53.566Z","repository":{"id":22952051,"uuid":"96835544","full_name":"screwdriver-cd/scm-router","owner":"screwdriver-cd","description":"Routes builds to a specified scm","archived":false,"fork":false,"pushed_at":"2024-10-21T23:59:46.000Z","size":55,"stargazers_count":0,"open_issues_count":1,"forks_count":3,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-11-23T02:39:57.774Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://cd.screwdriver.cd/pipelines/275","language":"JavaScript","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/screwdriver-cd.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":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-07-11T01:08:05.000Z","updated_at":"2024-10-21T23:58:26.000Z","dependencies_parsed_at":"2024-10-22T05:34:31.089Z","dependency_job_id":null,"html_url":"https://github.com/screwdriver-cd/scm-router","commit_stats":null,"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fscm-router","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fscm-router/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fscm-router/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/screwdriver-cd%2Fscm-router/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/screwdriver-cd","download_url":"https://codeload.github.com/screwdriver-cd/scm-router/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228106387,"owners_count":17870438,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-12-04T12:16:07.468Z","updated_at":"2024-12-04T12:16:08.361Z","avatar_url":"https://github.com/screwdriver-cd.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SCM Router\n[![Version][npm-image]][npm-url] ![Downloads][downloads-image] [![Build Status][status-image]][status-url] [![Open Issues][issues-image]][issues-url] ![License][license-image]\n\n\u003e A generic scm plugin that routes builds to a specified scm\n\nAn SCM is a source control management system, like Github, Bitbucket, Gitlab, etc. This SCM Router module will allow multiple SCMs to be used within a single Screwdriver cluster.\n\ni.e. Github, Bitbucket, Gitlab\n\nThe scm router will allow multiple scms to be used in a Screwdriver cluster.\n\n## Usage\n\n```bash\nnpm install screwdriver-scm-router\n```\n\n### Interface\n\nIt will initialize any routers specified in the [default.yaml](https://github.com/screwdriver-cd/screwdriver/blob/master/config/default.yaml#L147-L185) under the `scms` keyword.\n\n**Example scm yaml section:**\n```\nscms:\n    githubDisplayName:\n        plugin: github\n        config:\n            oauthClientId: YOU-PROBABLY-WANT-SOMETHING-HERE\n            ......\n    bitbucketDisplayName:\n        plugin: bitbucket\n        config:\n            oauthClientId: YOUR-BITBUCKET-OAUTH-CLIENT-ID\n            ......\n```\n\n## Testing\n\n```bash\nnpm test\n```\n\n## License\n\nCode licensed under the BSD 3-Clause license. See LICENSE file for terms.\n\n[npm-image]: https://img.shields.io/npm/v/screwdriver-scm-router.svg\n[npm-url]: https://npmjs.org/package/screwdriver-scm-router\n[downloads-image]: https://img.shields.io/npm/dt/screwdriver-scm-router.svg\n[license-image]: https://img.shields.io/npm/l/screwdriver-scm-router.svg\n[issues-image]: https://img.shields.io/github/issues/screwdriver-cd/scm-router.svg\n[issues-url]: https://github.com/screwdriver-cd/scm-router/issues\n[status-image]: https://cd.screwdriver.cd/pipelines/275/badge\n[status-url]: https://cd.screwdriver.cd/pipelines/275\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fscm-router","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscrewdriver-cd%2Fscm-router","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscrewdriver-cd%2Fscm-router/lists"}