{"id":15018908,"url":"https://github.com/prestashop/traces","last_synced_at":"2025-10-19T16:31:52.475Z","repository":{"id":37587823,"uuid":"75399537","full_name":"PrestaShop/traces","owner":"PrestaShop","description":"Micro CLI application to get all GitHub contributors for a specified repository","archived":false,"fork":false,"pushed_at":"2024-05-23T07:13:33.000Z","size":93,"stargazers_count":7,"open_issues_count":3,"forks_count":12,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-10-29T17:04:06.437Z","etag":null,"topics":["github","github-api","hacktoberfest","php","tools"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PrestaShop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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":"2016-12-02T13:49:19.000Z","updated_at":"2024-05-23T07:02:41.000Z","dependencies_parsed_at":"2022-07-12T16:32:24.492Z","dependency_job_id":"0a6d6c4b-be12-4d09-a69e-abd4024114ac","html_url":"https://github.com/PrestaShop/traces","commit_stats":{"total_commits":66,"total_committers":15,"mean_commits":4.4,"dds":0.7878787878787878,"last_synced_commit":"86526e7dbcb622944d9a54b917bb00da38f3c39e"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Ftraces","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Ftraces/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Ftraces/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Ftraces/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrestaShop","download_url":"https://codeload.github.com/PrestaShop/traces/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237163335,"owners_count":19265256,"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":["github","github-api","hacktoberfest","php","tools"],"created_at":"2024-09-24T19:52:36.498Z","updated_at":"2025-10-19T16:31:52.470Z","avatar_url":"https://github.com/PrestaShop.png","language":"PHP","readme":"# Traces\n\nTraces is a Symfony CLI application that is able to :\n* fetch all repositories of the PrestaShop organization\n* fetch all contributors and their contributions in \"developer-readable\" JSON format for a specified repository\n* fetch all merged pull requests of the PrestaShop organization\n \n## Installation / usage\n \nThe authentication use a Github Token.\n\n\u003e Note: You can fetch here : https://github.com/settings/tokens/new?description=traces\u0026scopes=repo,read:org\n \n```bash\n $ composer create-project prestashop/traces\n```\n\n All the following commands require a Github token to access and use Github APIs, you have three ways to define this token:\n - using the command option: `--ghtoken=\u003cghtoken\u003e`\n - using an environment variable: GH_TOKEN=\u003cghtoken\u003e php bin/console \u003ccommand\u003e`\n - using .env file and adding GH_TOKEN=\u003cghtoken\u003e\n\n```bash\n # 1- Fetch all repositories\n $ php bin/console traces:fetch:repositories\n ## A file gh_repositories.json is generated\n \n # 2- Check a repository (the repository option is optional and will then fetch ALL repositories from gh_repositories.json)\n $ php bin/console traces:fetch:contributors -r \u003crepositoryName\u003e --config=\"config.yml\"\n ## A file contributors.json is generated\n\n # 3- Fetch all merged pullrequests\n $ php bin/console traces:fetch:pullrequests:merged\n ## A file gh_pullrequests.json is generated\n\n # 4- Fetch new contributors\n $ php bin/console traces:generate:newcontributors --config=\"config.yml\"\n ## A file newcontributors.json is generated\n\n # 5- Fetch top companies\n $ php bin/console traces:generate:topcompanies --config=\"config.yml\"\n ## Files topcompanies.json and gh_loginsWOCompany.json are generated\n```\n\n## Configuring\n \nThere are a number of settings that can be configured via the config file. Take a look at the `config.dist.yml` file for an example.\n\nOption             | Description\n-------------------|-------------------------------------------------------------------------------------------\nexclusions         | List of excluded users.\nkeepExcludedUsers  | Set to `true` to flag excluded contributors instead of filtering them out from the output.\nfieldsWhitelist    | List of fields to keep from the API result. Leave blank if you want to keep them all.\nextractEmailDomain | Set to `true` to extract the user's email domain and include it in the generated file\n\n## License\n\nThis project is released under the MIT license.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Ftraces","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprestashop%2Ftraces","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Ftraces/lists"}