Skip to content

Preston, the PrestaShop contributor's best friend! ✨

License

Notifications You must be signed in to change notification settings

atomiix/prestonbot

 
 

Repository files navigation

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! ✨

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 88.8%
  • JavaScript 4.2%
  • CSS 2.5%
  • HTML 2.0%
  • Dockerfile 1.0%
  • Makefile 0.8%
  • Shell 0.7%