2017 © Pedro Peláez
 

library github-sync

Copy github configurations from one github repo to another one.

image

vanilla/github-sync

Copy github configurations from one github repo to another one.

  • Thursday, June 28, 2018
  • by tburry
  • Repository
  • 6 Watchers
  • 4 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 14 Versions
  • 0 % Grown

The README.md

GitHub Sync

Copy issue labels and milestones from one GitHub repo to another. This is useful if you have many repos and you want to use the same labelling scheme amongst all of them or keep milestone data synced for tools like ZenHub., (*1)

Installation

This is a great tool to install globally with Composer., (*2)

  1. Run composer global require 'vanilla/github-sync' to install the application.
  2. If your global composer bin directory is in your path you can run the app with github-sync. For help, add -h.
  3. Generate a personal access token and add it to your ~/.bashrc file as export GITHUB_API_TOKEN=xxxxx.

Update

  1. Tag the repo with a new version number (format: v1.1.1).
  2. Do a new release with that tag, named the same way.
  3. Update Packagist or wait for it to sync.
  4. Reinstall using the global composer command above.

Develop

  1. Pull the repo locally and go to the root.
  2. composer update
  3. Test commands with bin/github-sync {test command} (see below) to invoke repo copy rather than global install.

Usage

  • github-sync labels [-f] [-t] [-d] Copy the labels from one GitHub repo to another. Set a 'from' repo and 'to' repo. The delete option will remove any labels from the 'to' repo that don't exist on the 'from' repo.
  • github-sync milestones [-f] [-t] [-s] [--autoclose] Copy milestones from one GitHub repo to another. Set a 'from' repo, 'to' repo, and/or a 'status' to select (one of open, closed, all). The autoclose option will close milestones past their due date or with zero items.

The Versions

28/06 2018

dev-master

9999999-dev

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

19/06 2018

v2.1.0

2.1.0.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

05/06 2018

dev-feature/sync-descriptions

dev-feature/sync-descriptions

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

09/05 2016

v2.0.1

2.0.1.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

08/05 2016

v2.0.0

2.0.0.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

07/05 2016

v1.3.2

1.3.2.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

07/05 2016

v1.3.1

1.3.1.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

06/05 2016

v1.3.0

1.3.0.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

17/12 2015

v1.2.1

1.2.1.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

16/12 2015

v1.2.0

1.2.0.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

11/12 2015

v1.1.1

1.1.1.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

10/12 2015

v1.1.0

1.1.0.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

21/05 2015

v1.0.1

1.0.1.0

Copy github configurations from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry

21/05 2015

v1.0.0

1.0.0.0

Copy the labels from one github repo to another one.

  Sources   Download

MIT

The Requires

 

by Todd Burry