{"id":19140076,"url":"https://github.com/circleci/rollcage","last_synced_at":"2025-04-06T07:15:07.403Z","repository":{"id":30842841,"uuid":"34400304","full_name":"circleci/rollcage","owner":"circleci","description":"A Clojure client for Rollbar","archived":false,"fork":false,"pushed_at":"2024-05-15T22:08:47.000Z","size":192,"stargazers_count":52,"open_issues_count":10,"forks_count":26,"subscribers_count":73,"default_branch":"master","last_synced_at":"2025-03-30T06:07:18.015Z","etag":null,"topics":[],"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/circleci.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-22T15:58:26.000Z","updated_at":"2024-10-28T16:47:00.000Z","dependencies_parsed_at":"2024-03-28T01:45:33.815Z","dependency_job_id":"5d5520c4-682f-498f-af73-20230de73646","html_url":"https://github.com/circleci/rollcage","commit_stats":{"total_commits":87,"total_committers":17,"mean_commits":5.117647058823529,"dds":0.6551724137931034,"last_synced_commit":"a06965640f6b1c7034ee161c0ddec7d59dce18d9"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circleci%2Frollcage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circleci%2Frollcage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circleci%2Frollcage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/circleci%2Frollcage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/circleci","download_url":"https://codeload.github.com/circleci/rollcage/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445682,"owners_count":20939961,"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-11-09T07:16:11.079Z","updated_at":"2025-04-06T07:15:07.367Z","avatar_url":"https://github.com/circleci.png","language":"Clojure","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rollcage\n[![Circle CI](https://circleci.com/gh/circleci/rollcage.svg?style=svg)](https://circleci.com/gh/circleci/rollcage)\n[![cljdoc](https://cljdoc.org/badge/circleci/rollcage)](https://cljdoc.org/d/circleci/rollcage/CURRENT)\n[![Clojars Project](https://img.shields.io/clojars/v/circleci/rollcage.svg)](https://clojars.org/circleci/rollcage)\n\n\nA Clojure client for [Rollbar](http://rollbar.com)\n\n\n## Installation\n\nRollcage is available on [Clojars](https://clojars.org/circleci/rollcage).\n\n### Leiningen/Boot\n\n```clojure\n[circleci/rollcage \"1.0.203\"]\n```\n\n### Clojure CLI/deps.edn\n\n```clojure\ncircleci/rollcage {:mvn/version \"1.0.203\"}\n```\n\n## Quickstart\n\nYou can send exceptions like this:\n\n```Clojure\nuser=\u003e (require '[circleci.rollcage.core :as rollcage])\n\nuser=\u003e (def r (rollcage/client \"access-token\" {:environment \"staging\"}))\n\nuser=\u003e (try\n  #_=\u003e   (/ 0)\n  #_=\u003e   (catch Exception e\n  #_=\u003e     (rollcage/error r e)))\n{:err 0, :result {:id nil, :uuid \"420cfa6e-40d1-431d-80ef-575520c40dd7\"}}\n```\n\nYou can also setup handler for all UncaughtExceptions.\nCall this fn during start-up procedure to ensure all uncaught exceptions\nwill be sent to Rollbar.\n\nuser=\u003e (rollcage/setup-uncaught-exception-handler r)\n\nSee the full [API docs](https://cljdoc.org/d/circleci/rollcage/CURRENT) for more\ninformation.\n\n## Contributing\n\nIf you would like to contibute to the project, please [log an issue](https://cljdoc.org/d/circleci/rollcage/CURRENT) to discuss the feature/bug before submitting a pull request.\n\n## Testing\n\nA full CI suite is [run on CircleCI](https://circleci.com/gh/circleci/rollcage).\nYou can run the unit-test suite locally by running `lein test`. Some tests\nrequire access to Rollbar, with a valid access token that has permission to post\nserver items. The token should be specified in the ROLLBAR_ACCESS_TOKEN\nenvironment variable.\n\n```bash\n$ ROLLBAR_ACCESS_TOKEN=\u003cyour token\u003e lein test\n```\n\nThe tests that require access to Rollbar are annotated with the `:integration`\nmetadata tag. You can exclude these by using the `:unit` test selector.\n\n```bash\n$ lein test :unit\n```\n\n\n## Releasing\n\nReleases are published [to Clojars under the CircleCI organisation](https://clojars.org/circleci/rollcage).\nYou can publish new SNAPSHOT version of Rollcage using leiningen:\n\n```bash\n$ lein deploy clojars\n```\n\nYou can release a new version of Rollcage by editing the version string in\n`project.clj` according to [semver](http://semver.org/) and removing the\n`-SNAPSHOT` qualifier. Then run\n\n```bash\n$ lein deploy clojars\n```\n\n## License\n\nDistributed under the [Eclipse Public License](http://www.eclipse.org/legal/epl-v10.html).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci%2Frollcage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcircleci%2Frollcage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcircleci%2Frollcage/lists"}