Skip to content

Gitflow helper: Identify GitHub projects which have differences between the develop and master branches

License

Notifications You must be signed in to change notification settings

stephaneseng/github-dashboard

Repository files navigation

github-dashboard

github-dashboard is a Gitflow helper.

Its main function is to help identify GitHub projects with differences between the develop and master branches.

Screenshots

Repositories view

This view lists your GitHub repositories, along with:

  • The current number of commits in develop that are not yet integrated into master;
  • The current number of opened pull requests.

./docs/01-Repositories

Commits ahead view

./docs/02-CommitsAhead

Pull requests view

./docs/03-PullRequests

Installation

0. Requirements

1. .env

Copy the .env.dist file and define the GitHub username and password that will be used to interact with GitHub's API.

cp .env.dist .env
sed -i 's/GITHUB_USERNAME=username/GITHUB_USERNAME=${YOUR_GITHUB_USERNAME}/g' .env
sed -i 's/GITHUB_SECRET=password_or_token/GITHUB_SECRET=${YOUR_GITHUB_SECRET}/g' .env

2. Build, install and run

make build
make install
make run

Usage

1. Fetch

docker-compose exec php-apache php bin/console app:repository:fetch ${YOUR_GITHUB_ORGANIZATION}
docker-compose exec php-apache php bin/console app:repository:commit:compare:fetch
docker-compose exec php-apache php bin/console app:pull-request:fetch

2. Browse

x-www-browser "http://$(docker container inspect --format '{{ range .NetworkSettings.Networks }}{{ .IPAddress }}{{ end }}' $(docker container list --format '{{ .Names }}' --filter 'name=php-apache'))"

Development

Reset the database

make reset
make install-php-doctrine

Run the tests

make test

Resources

About

Gitflow helper: Identify GitHub projects which have differences between the develop and master branches

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published