{"id":15145447,"url":"https://github.com/prestashop/presthubot","last_synced_at":"2025-06-27T10:36:16.248Z","repository":{"id":37624226,"uuid":"220240547","full_name":"PrestaShop/presthubot","owner":"PrestaShop","description":"PrestaShop maintainer's best friend","archived":false,"fork":false,"pushed_at":"2025-06-19T09:29:04.000Z","size":1394,"stargazers_count":4,"open_issues_count":1,"forks_count":8,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-06-26T06:56:30.186Z","etag":null,"topics":["cli","hacktoberfest","prestashop"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":false,"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,"zenodo":null}},"created_at":"2019-11-07T13:13:57.000Z","updated_at":"2025-06-19T09:28:58.000Z","dependencies_parsed_at":"2023-10-02T08:12:01.002Z","dependency_job_id":"e80913a2-4714-4b05-a7fc-3b5a8112b719","html_url":"https://github.com/PrestaShop/presthubot","commit_stats":{"total_commits":411,"total_committers":10,"mean_commits":41.1,"dds":0.5304136253041363,"last_synced_commit":"d5ed9a2154d266dd2f8e1d59092882bfe769c4c9"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PrestaShop/presthubot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fpresthubot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fpresthubot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fpresthubot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fpresthubot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrestaShop","download_url":"https://codeload.github.com/PrestaShop/presthubot/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fpresthubot/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262240449,"owners_count":23280516,"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":["cli","hacktoberfest","prestashop"],"created_at":"2024-09-26T11:25:22.040Z","updated_at":"2025-06-27T10:36:16.177Z","avatar_url":"https://github.com/PrestaShop.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PrestHubot\n\n## Installation\n\n* Install dependencies\n```bash\ncomposer install\n```\n* Fetch a Github Token : https://github.com/settings/tokens/new?description=PrestHubot\u0026scopes=repo,read:org\n\n## Configuration\n\nYou can using parameters :\n* `--ghtoken=\u003cghtoken\u003e`\n* `--username=\u003cghusername\u003e `\n\n**OR**\n\nYou can use .env file :\n* Copy .env.dist to .env\n* Define your token \u0026 username from Github\n```\nGH_TOKEN=\u003cghtoken\u003e\nGH_USERNAME=\u003cghusername\u003e\n```\n\n## Usage\n\n### Check PR\nPermits to check PrestaShop PR (and their status)\n\n```bash\nphp bin/console github:check:pr\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--request=\u003crequest\u003e` | No | Use the title of a search request or create your specific request |\n| `--exclude:author=\u003cghusername\u003e` | No | Exclude for displaying PR created by \u003cghusername\u003e |\n| `--exclude:reviewer=\u003cghusername\u003e` | No | Exclude for displaying PR approved by \u003cghusername\u003e |\n| `--filter:file=\u003cext\u003e` | No | Filter on extensions file (one or many separated by comma) |\n| `--filter:numapproved=\u003cext\u003e` | No | Filter on number of approved reviews (one or many separated by comma) |\n| `--orderBy=\u003corder\u003e` | No | Order by columns (one or many separated by comma : projectName, id, createdAt) |\n\n#### Samples\n\n* Fetch PR to review with 1 or 2 approved reviews, excluding Progi1984's PR and PR that Progi1984 has approved\n\n`php bin/console github:check:pr --request \"PR Waiting for Review\" --filter:numapproved=2,1 --exclude:reviewer=Progi1984 --exclude:author=Progi1984`\n\n### Check Module\nPermits to check PrestaShop Modules\n\n```bash\nphp bin/console github:check:module\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--limit=\u003coffset,length\u003e` | Yes/No | Limit search (from offset and length of all repositories) |\n| `--module=\u003cmodule\u003e` | No | Filter only one module |\n| `--branch=\u003cbranch\u003e` | No | Branch for searching files (default: master) |\n\n\n#### Informations\n| Column | | Notes|\n| ------------- | ------------- | ------------- |\n| Files | .travis.yml | Check if .travis.yml is present\u003cbr\u003eCheck if `before_deploy` \u0026 `deploy` are present in the file |\n\n### Check Repositories\nPermits to check PrestaShop Repositories\n\n```bash\nphp bin/console github:check:repository\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--public` | No | Filter only on public repositories |\n| `--private` | No | Filter only on private repositories |\n\n### Get Notifications\nGet Github Notifications\n\n```bash\nphp bin/console github:notifications\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n\n### Get Stats\nGet some stats\n\n```bash\nphp bin/console github:stats\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--username=\u003cghusername\u003e` | Yes/No | Use it or use .env |\n\n### Get Stats from repository\nGet some stats\n\n```bash\nphp bin/console github:stats:repository\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--repository=\u003crepository\u003e` | No | Just a repository in PS Organization or all the org if it is not defined |\n| `--pr:date:created=\u003cdate\u003e` | No | Filter on creation date for PR |\n| `--pr:date:merged=\u003cdate\u003e` | No | Filter on merge date for PR |\n\n### Generate Issues Report\nPermits to track all issues created in the last month (4 weeks) for the PrestaShop project\n\n```bash\nphp bin/console github:issues:report\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--dateStart=\u003cdateStart\u003e` | Yes | Format date: `yyyy-mm-dd` |\n| `--dateEnd=\u003cdateEnd\u003e` | No | Format date: `yyyy-mm-dd`)` (default: dateStart + 28 days) |\n| `--outputDir=\u003coutputDir\u003e` | No | Output directory (default: `var/report`) |\n\n### Generate Reviewers Report\nPermits to track all reviews\n\n```bash\nphp bin/console github:review:report\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--dateStart=\u003cdateStart\u003e` | Yes | Format date: `yyyy-mm-dd` |\n| `--dateEnd=\u003cdateEnd\u003e` | No | Format date: `yyyy-mm-dd`)` (default: today) |\n| `--byDate=\u003c0|1\u003e` | No | Report by date or author |\n\n### Export contributors\n\n```bash\nphp bin/console github:contributors:export --contributorsFile contributors.csv --outputFile output.csv\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--contributorsFile=\u003ccontributorsFile\u003e` | Yes | Contributors file |\n| `--outputFile=\u003coutputFile\u003e` | Yes | Output file |\n\n\n### Export contributors Stats\n\n```bash\nphp bin/console github:contributors:stats --contributorsFile contributors.csv --outputFile output.csv\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--contributorsFile=\u003ccontributorsFile\u003e` | Yes | Contributors file |\n| `--outputFile=\u003coutputFile\u003e` | Yes | Output file |\n\n### Slack Notifier for Core Team\nNotify on Slack :\n- Nightly Build Status\n- If PR are needed to merge\n- PR to review\n- Modules releases\n- Modules improvements\n\n```bash\nphp bin/console slack:notifier\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n| `--slacktoken=\u003cslacktoken\u003e` | Yes/No | Use it or use .env |\n| `--slackchannel=\u003cslackchannel\u003e` | Yes/No | Use it or use .env |\n\n### Release Note helper\nGenerate the list of resolved issues in a milestone\n\n```bash\nphp bin/console github:release:note \n```\n\n#### Parameters\n| Type                            | Name       | Required | Notes                                | Default    |\n|---------------------------------|------------|----------|--------------------------------------|------------|\n| Argument                        | milestone  | No       | milestone selected for search        | none       |\n| Option                          | output     | No       | output between 'table' or 'markdown' | table      |\n| Option                          | repository | No       | repository to explore                | PrestaShop |\n\nNote that if the milestone is not defined, It will be asked to the user.\n#### Example\n```bash\nphp bin/console github:release:note 1.7.8.2 --repository=PrestaShop --output=table\nor\nphp bin/console github:release:note 1.7.8.2 --repository=PrestaShop\nor\nphp bin/console github:release:note 1.7.8.2 --output=table\nor \nphp bin/console github:release:note 1.7.8.2\n```  \n```\nprovide:\n```bash\n├─────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────────────────┤\n│  Issues involved in the milestone 1.7.8.2 (3)                                                                                   │\n├─────────────────┼───────────────────────────────────────────────────────┼───────────────────────────────────────────────────────┤\n│ Issue N°        │ url                                                   │ Title                                                 │\n│ 26623           │ https://github.com/PrestaShop/PrestaShop/issues/26623 │ Release 1.7.8.2                                       │\n│ 26327           │ https://github.com/PrestaShop/PrestaShop/issues/26327 │ Wishlist button disappears while using Faceted Search │\n│ 23394           │ https://github.com/PrestaShop/PrestaShop/issues/23394 │ Missing Alias CustomerQueryBuilder.php                │\n└─────────────────┴───────────────────────────────────────────────────────┴───────────────────────────────────────────────────────┘\n\nOutput generated in 0s for 3 rows.\n```\n\nand\n\n\n```bash\nphp bin/console github:release:note 1.7.8.2 --output=markdown\nor\nphp bin/console github:release:note 1.7.8.2 --repository=PrestaShop --output=markdown\n``` \n\nprovide:\n```bash\nIssues involved in the milestone 1.7.8.2\n========================================\n\n- [Release 1.7.8.2](https://github.com/PrestaShop/PrestaShop/issues/26623)\n- [Wishlist button disappears while using Faceted Search](https://github.com/PrestaShop/PrestaShop/issues/26327)\n- [Missing Alias CustomerQueryBuilder.php](https://github.com/PrestaShop/PrestaShop/issues/23394)\n\nOutput generated in 0s for 3 rows.\n```\n\n### CQRS Endpoints\nGet Commands and Queries developed as CQRS endpoints\n\n```bash\nphp bin/console github:cqrs:endpoints\n```\n\n#### Parameters\n| Parameter | Required | Notes |\n| ------------- | ------------- | ------------- |\n| `--ghtoken=\u003cghtoken\u003e` | Yes/No | Use it or use .env |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Fpresthubot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprestashop%2Fpresthubot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Fpresthubot/lists"}