Skip to content
Preston, the PrestaShop contributor's best friend!
PHP JavaScript CSS HTML Dockerfile Makefile Shell
Branch: master
Clone or download
Latest commit 17afbba Sep 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app Add version number API route Aug 26, 2019
bin Added docs for the new added label Sep 27, 2016
doc Added docs Oct 28, 2016
docker Dumped 3.x branch (#62) Apr 22, 2018
src Add version number API route Aug 26, 2019
tests/AppBundle Update tests as Classic Theme listener is disabled Apr 19, 2019
var Refactoring and regex pattern change (#71) Jul 3, 2018
web
.dockerignore Dumped 3.x branch (#62) Apr 22, 2018
.editorconfig added travis/scrutinizer/phpcsfixer/editorconfig + fixes Jun 5, 2016
.gitignore Refactoring and regex pattern change (#71) Jul 3, 2018
.php_cs Refactoring and regex pattern change (#71) Jul 3, 2018
.scrutinizer.yml Fixed multiple SensioLabsInsight warnings Nov 23, 2016
.travis.yml Update Sensiolabs security check as domain as been migrated Apr 16, 2019
Dockerfile
LICENSE Switch from MIT to GPL3+ licence Nov 23, 2016
Makefile Dumped 3.x branch (#62) Apr 22, 2018
README.md Refactoring and regex pattern change (#71) Jul 3, 2018
composer.json Update dependencies Sep 12, 2019
composer.lock Update dependencies Sep 12, 2019
docker-compose.yml Dumped 3.x branch (#62) Apr 22, 2018
phpstan.neon Improved quality + introduced PHPStan (#74) Jul 7, 2018
phpunit.xml.dist Refactoring and regex pattern change (#71) Jul 3, 2018

README.md

PrestonBot

This application is based on Symfony CarsonBot and aims to help PrestaShop maintainers and contributors.

Preston, the PrestaShop contributor best friend

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
You can’t perform that action at this time.