{"id":16614681,"url":"https://github.com/nicoespeon/pr-metrics","last_synced_at":"2026-05-20T07:06:22.802Z","repository":{"id":69085926,"uuid":"148229588","full_name":"nicoespeon/pr-metrics","owner":"nicoespeon","description":"Get metrics from Pull-Requests","archived":false,"fork":false,"pushed_at":"2018-09-10T23:00:33.000Z","size":108,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-17T08:22:56.432Z","etag":null,"topics":["github","metrics","pull-requests"],"latest_commit_sha":null,"homepage":null,"language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nicoespeon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2018-09-10T23:00:08.000Z","updated_at":"2019-10-10T02:38:07.000Z","dependencies_parsed_at":"2023-02-23T15:01:09.204Z","dependency_job_id":null,"html_url":"https://github.com/nicoespeon/pr-metrics","commit_stats":{"total_commits":33,"total_committers":2,"mean_commits":16.5,"dds":0.4545454545454546,"last_synced_commit":"115123a885ff98e7e66f6ccf9a791a4751fdca41"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nicoespeon/pr-metrics","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoespeon%2Fpr-metrics","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoespeon%2Fpr-metrics/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoespeon%2Fpr-metrics/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoespeon%2Fpr-metrics/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nicoespeon","download_url":"https://codeload.github.com/nicoespeon/pr-metrics/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nicoespeon%2Fpr-metrics/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269740272,"owners_count":24467751,"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","status":"online","status_checked_at":"2025-08-10T02:00:08.965Z","response_time":71,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["github","metrics","pull-requests"],"created_at":"2024-10-12T02:07:19.576Z","updated_at":"2026-05-20T07:06:22.757Z","avatar_url":"https://github.com/nicoespeon.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PR Metrics\n\nThis project aims to get metrics from Pull-Requests (e.g. evolution of PRs open-time).\n\n## 👣 Get started\n\nFirst, you need to install [Docker](https://docs.docker.com/install/) if you don't have it.\n\nThen, [create a GitHub AccessToken](https://blog.github.com/2013-05-16-personal-api-tokens/) with the **repo** scope.\n\nOnce you've got your token, run `make bootstrap TOKEN=\u003cYOUR TOKEN\u003e`.\n\n\u003e This builds the Docker image, installs deps and generates `config/config.secret.exs` with your token (it is not versioned 😉).\n\nAnd, that's it 👐\n\n## 🏃 Develop\n\nIf you want to run a custom command that is not in the following list, you can use `make run CMD='\u003cyour command\u003e'`.\n\nFor instance: `make run CMD='elixir --version'` will run `elixir --version` in the Docker environment 🚢\n\n### `make start` starts a server\n\nOptions:\n\n* `PORT` to use a custom port (e.g. `make start PORT=4010`)\n\nWe use [remix](https://github.com/AgilionApps/remix) in dev to provide auto-reload functionality when you change the source code.\nHowever, it's an old library that has not been updated for a long time. It may have some issues.\n\nA known issue: when it recompiles, it won't tell you it's done. So you'll have something like:\n\n```sh\niex(4)\u003e warning: mtime (modified time) for \"lib/pr_metrics.ex\" was set to the future, resetting tonow\nCompiling 1 file (.ex)\n```\n\nAnd you may wait for a success message. But it won't come.\n\nSolution: actually, it has recompiled! Hit `Enter` (or any key) to see it:\n\n```sh\niex(4)\u003e warning: mtime (modified time) for \"lib/pr_metrics.ex\" was set to the future, resetting tonow\nCompiling 1 file (.ex)\n\nnil\niex(5)\u003e\n```\n\n### `make test` runs tests\n\nOptions:\n\n* `PORT` to use a custom port (e.g. `make test PORT=4011`)\n\n### `make test_watch` runs tests in watch mode\n\nOptions:\n\n* `PORT` to use a custom port (e.g. `make test_watch PORT=4011`)\n\n### `make format` formats your code\n\n💁 _At some point, this would be a pre-commit hook so you won't have to bother._\n\n### `make docs` generates documentation of the application\n\n### `make lint` lints your code\n\nIt may take some time the first time you run it because it generates the [Persistent Lookup Table (PLT)](https://hexdocs.pm/dialyxir/readme.html#with-explaining-stuff) to cache the output of the analysis.\n\n## 💁 About\n\nThis project uses following technologies:\n\n* [Docker](https://docs.docker.com/) to make development and deployment easy\n* [Elixir](https://elixir-lang.org/) which is a dynamic, functional language designed for building scalable and maintainable applications.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoespeon%2Fpr-metrics","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnicoespeon%2Fpr-metrics","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnicoespeon%2Fpr-metrics/lists"}