Coder Social home page Coder Social logo

presthubot's Introduction

PrestHubot

Installation

  • Install dependencies
composer install

Configuration

You can using parameters :

  • --ghtoken=<ghtoken>
  • --username=<ghusername>

OR

You can use .env file :

  • Copy .env.dist to .env
  • Define your token & username from Github
GH_TOKEN=<ghtoken>
GH_USERNAME=<ghusername>

Usage

Check PR

Permits to check PrestaShop PR (and their status)

php bin/console github:check:pr

Parameters

Parameter Required Notes
--ghtoken=<ghtoken> Yes/No Use it or use .env
--request=<request> No Use the title of a search request or create your specific request
--filter:file=<ext> No Filter on extensions file (one or many separated by comma)

Check Module

Permits to check PrestaShop Modules

php bin/console github:check:module

Parameters

Parameter Required Notes
--ghtoken=<ghtoken> Yes/No Use it or use .env
--module=<module> No Filter only one module

Informations

Column Notes
Files .travis.yml Check if .travis.yml is present
Check if before_deploy & deploy are present in the file

Check Repositories

Permits to check PrestaShop Repositories

php bin/console github:check:repository

Parameters

Parameter Required Notes
--ghtoken=<ghtoken> Yes/No Use it or use .env
--public No Filter only on public repositories
--private No Filter only on private repositories

Get Stats

Get some stats

php bin/console github:stats

Parameters

Parameter Required Notes
--ghtoken=<ghtoken> Yes/No Use it or use .env
--username=<ghusername> Yes/No Use it or use .env

Get Stats from repository

Get some stats

php bin/console github:stats:repository

Parameters

Parameter Required Notes
--ghtoken=<ghtoken> Yes/No Use it or use .env
--repository=<repository> No Just a repository in PS Organization or all the org if it is not defined
--pr:date:created=<date> No Filter on creation date for PR
--pr:date:merged=<date> No Filter on merge date for PR

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.