PululuK / prestonbot

Preston, the PrestaShop contributor's best friend! :sparkles:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Preston, the PrestaShop contributor's best friend! :sparkles:

License:GNU General Public License v3.0


Languages

Language:PHP 96.0%Language:JavaScript 1.4%Language:Twig 0.9%Language:CSS 0.8%Language:Dockerfile 0.3%Language:Makefile 0.3%Language:Shell 0.2%