{"id":18483961,"url":"https://github.com/yetibot/yetibot-codeclimate","last_synced_at":"2025-12-12T01:22:07.633Z","repository":{"id":57714113,"uuid":"50538984","full_name":"yetibot/yetibot-codeclimate","owner":"yetibot","description":":rocket: Yetibot plugin for CodeClimate integration","archived":false,"fork":false,"pushed_at":"2016-03-09T22:14:57.000Z","size":40,"stargazers_count":4,"open_issues_count":4,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-16T21:41:38.062Z","etag":null,"topics":["codeclimate","webhook","yetibot"],"latest_commit_sha":null,"homepage":"","language":"Clojure","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"epl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yetibot.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-27T21:27:37.000Z","updated_at":"2018-03-06T23:49:41.000Z","dependencies_parsed_at":"2022-09-26T21:31:12.271Z","dependency_job_id":null,"html_url":"https://github.com/yetibot/yetibot-codeclimate","commit_stats":null,"previous_names":["devth/yetibot-codeclimate"],"tags_count":11,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fyetibot-codeclimate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fyetibot-codeclimate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fyetibot-codeclimate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yetibot%2Fyetibot-codeclimate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yetibot","download_url":"https://codeload.github.com/yetibot/yetibot-codeclimate/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254021914,"owners_count":22001019,"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":["codeclimate","webhook","yetibot"],"created_at":"2024-11-06T12:38:02.705Z","updated_at":"2025-12-12T01:22:07.600Z","avatar_url":"https://github.com/yetibot.png","language":"Clojure","readme":"# yetibot-codeclimate\n\n[![Clojars Project](https://img.shields.io/clojars/v/yetibot-codeclimate.svg)](https://clojars.org/yetibot-codeclimate)\n\nA Yetibot plugin to integrate with CodeClimate. **Requires Docker on the host.**\n\n- [Official engines](https://docs.codeclimate.com/docs/list-of-engines)\n- [Community engines](https://github.com/codeclimate-community)\n\nIf a CodeClimate Engine does not yet exist for your language, you can contribute\nyour own; [it's quite easy](http://blog.codeclimate.com/blog/2015/07/07/build-your-own-codeclimate-engine/).\n\n![Yetibot CodeClimate](https://dl.dropboxusercontent.com/u/113427/yetibot-codeclimate-demo.png)\n\n## Roadmap\n\n- [ ] Let Yetibot setup the webhook for you via a command\n\n## Usage\n\n0. Add yetibot-codeclimate dependency to your Yetibot install.\n\n0. Create a webhook in GitHub's repository settings to point to your Yetibot. At\n   a minimum, send all `push` events, or just send Everything. Yetibot\n   CodeClimate only listens to the events it needs. The webhook url should be:\n\n   ```\n   http://$YOUR_YETIBOT:3000/codeclimate/webhook\n   ```\n\n0. Make sure your Yetibot is\n   [configured](https://github.com/devth/yetibot/blob/33803bdf159c33fcfbfb55dd13a74963163a3fee/config/config-sample.edn#L49-L53)\n   with a GitHub token of an account that has access to your repo.\n\n## Config\n\n**workspace-path**: You can optionally set a workspace path. This is where\nYetibot will checkout repos to run CodeClimate analysis on. It's important to\nnote that if you're using Docker Machine, this location must be inside your\nUsers directory (on OSX). If not set, it defaults to \"/tmp/cc\", which works on\nLinux where you don't need Docker Machine.\n\n**results-path**: You can optionally set a path were linting results will be\nstored.  The default is \"./codeclimate/\". Yetibot serves results from JSON files\nstored in this directory.\n\n```edn\n;; merge this into config/config.edn in your yetibot installation\n{:yetibot-codeclimate\n  {:workspace-path \"/Users/foo/tmp\"\n   :results-path \"./codeclimate\"}}\n```\n\nMake sure to set Yetibot's `:url` configuration. Yetibot CodeClimate uses this\nto post the correct target_url on each commit it analyzes, which GitHub exposes\nin their UI.\n\nIf you are using Docker Machine, you also must configure Yetibot's Docker\nsettings so CodeClimate uses the correct Docker Machine vars:\n\n```edn\n;; merge this into config/config.edn in your yetibot installation\n{:yetibot\n {:url \"http://YOUR_YETIBOT:3000\"\n  :docker\n  {:machine {:DOCKER_TLS_VERIFY \"1\"\n             :DOCKER_HOST \"tcp://1.2.3.4:2376\"\n             :DOCKER_CERT_PATH \"/Users/foo/.docker/machine/machines/default\"\n             :DOCKER_MACHINE_NAME \"default\"}}}}\n```\n\nFind these settings using `docker-machine env default` where `default` is the\nname of your Docker Machine (use `docker-machine ls` to list them if you don't\nknow the name).\n\n## License\n\nCopyright © 2016 Trevor C. Hartman\n\nDistributed under the Eclipse Public License either version 1.0 or any later\nversion.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetibot%2Fyetibot-codeclimate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyetibot%2Fyetibot-codeclimate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyetibot%2Fyetibot-codeclimate/lists"}