GithubHelp home page GithubHelp logo

isabella232 / github-sync-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from vanilla/github-sync

0.0 0.0 0.0 33 KB

Synchronize labels & milestones between GitHub repos with style.

License: MIT License

PHP 100.00%

github-sync-1's Introduction

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.

Installation

This is a great tool to install globally with Composer.

  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.

github-sync-1's People

Contributors

tburry avatar linc avatar igraziatto avatar charrondev avatar initvector avatar

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.