prestonbot
prestonbot copied to clipboard
Preston, the PrestaShop contributor's best friend! :sparkles:
PrestonBot
[!WARNING] This project is now inactive. Prestonbot has been replaced in May 2024 by Kanbanbot a more modern implementation
This application is based on Symfony CarsonBot and aims to help PrestaShop maintainers and contributors.
Classic installation
First of all you have to configure your GitHub repository and have a GitHub token.
composer install // and complete the interactive fields asked
Docker installation
First, setup the docker-compose.yml
file with a valid GitHub token and a valid Secure token (can be empty).
make start
The Home page is now available at "http://localhost:81/".
You need also to create your own GitHub personal token and export it:
export GH_TOKEN=XXXXXXXXXXXXXXXXXXXXXXXXXXXX
export GH_SECURED_TOKEN=YYYYYYYYYYYYYYYYYYYYYYYYYYYY
How to run the test suite ?
./vendor/bin/simple-phpunit
# or (using docker)
make test
To launch unit tests, you only need to setup your own Github token (
GH_TOKEN
).
Our standards ?
Yeah, mostly the Symfony ones:
./vendor/bin/php-cs-fixer fix # we use the Symfony level + short array notation filter
What is Preston capable of doing?
- Comment on a pull request to help a contributor fix his work;
- Extract data from the pull request and look for some terms;
- Manage labels;
- Validate a pull request description;
- Welcome every new contributor;
- Labelize a PR regarding information in description
- Labelize a PR regarding files updated
- Add labels according to the branch