{"id":15145591,"url":"https://github.com/prestashop/core-weekly-generator","last_synced_at":"2025-09-29T15:31:01.315Z","repository":{"id":39339431,"uuid":"76049782","full_name":"PrestaShop/core-weekly-generator","owner":"PrestaShop","description":"CLI application to generate the Core weekly","archived":true,"fork":false,"pushed_at":"2022-12-07T09:02:27.000Z","size":5573,"stargazers_count":4,"open_issues_count":0,"forks_count":7,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-09-27T11:41:08.529Z","etag":null,"topics":["hacktoberfest","tool"],"latest_commit_sha":null,"homepage":"","language":"Python","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/PrestaShop.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}},"created_at":"2016-12-09T16:03:25.000Z","updated_at":"2023-03-15T03:53:46.000Z","dependencies_parsed_at":"2023-01-24T15:31:07.247Z","dependency_job_id":null,"html_url":"https://github.com/PrestaShop/core-weekly-generator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fcore-weekly-generator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fcore-weekly-generator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fcore-weekly-generator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PrestaShop%2Fcore-weekly-generator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PrestaShop","download_url":"https://codeload.github.com/PrestaShop/core-weekly-generator/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":234634965,"owners_count":18863977,"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":["hacktoberfest","tool"],"created_at":"2024-09-26T11:41:04.654Z","updated_at":"2025-09-29T15:30:55.824Z","avatar_url":"https://github.com/PrestaShop.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Core Weekly report generator\n\n_This repository is archived as this tool has been replaced by a [PHP Core Monthly generator](https://github.com/PrestaShop/presthubot/blob/master/src/App/Command/GitHubMonthlyReportCommand.php)._\n\n![Core Weekly Integration tests](https://github.com/prestashop/core-weekly-generator/workflows/Core%20Weekly%20Integration%20tests/badge.svg)\n\nCore weekly generator is a micro Python 3.6+ CLI application that is able to generate a list of merged PR\nfor a selected list of branches in an interval of dates.\n\n## Installation\n\n```bash\n$ pip install -r requirements.txt\n```\n\n## Usage\n\nDisplay help\n\n```bash\n$ ./core-weekly.py --help\nusage: core-weekly.py [-h] [--no-cache] [--debug] [--stats] [--year YEAR]\n                      (--date DATE | --week WEEK | --compute)\n\nPrestaShop Core Weekly\n\noptional arguments:\n  -h, --help   show this help message and exit\n  --no-cache   Disable cache\n  --debug      Use Debug\n  --stats      Print stats report and save it in json file if you specify a\n               week number\n  --year YEAR  Specify which year you want to use in Week context\n  --date DATE  Date range\n  --week WEEK  Week number\n  --compute    Compute data stored in var directory\n```\n\n### Core Weekly\n\nGenerate Core Weekly with a date range\n\n```bash\n $ python core-weekly.py --date 2019-08-05..2019-08-11 \u003e my-core-weekly.md\n ```\n\nOr easier by specifing a week number\n\n```bash\n $ python core-weekly.py --week 11 \u003e my-core-weekly.md\n ```\n\n And if you want the same week but in 2018\n\n```bash\n $ python core-weekly.py --year 2018 --week 11 \u003e my-core-weekly.md\n ```\n\nThe output template is almost ready to be published. What you might add manually is:\n- weekly releases of prestashop projects\n- a message targeting developers\n\n### Stats\n\nStats are generated and saved under `var` directory.\n\n```bash\n $ python core-weekly.py --year 2018 --week 11 --stats\n ```\n\nWhen stats are downloaded, you can compute them.\n\n```bash\n $ python core-weekly.py --compute\n ```\n\n## Troubleshooting\n\nBe aware that data fetched from GitHub is stored into a local sqlite cache file! This might create issues when submitting code changes to the tool logic.\n\n## Code quality\n\nInstall dependencies:\n\n```bash\n$ ./setup.py install\n```\n\n### Static analysis\n\n```bash\n$ ./setup.py flake8\n```\n\n### Running tests\n\nTo run unit tests:\n\n```bash\n$ ./setup.py nosetests\n$ # or\n$ nosetests\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Fcore-weekly-generator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprestashop%2Fcore-weekly-generator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprestashop%2Fcore-weekly-generator/lists"}