vanilla/github-sync 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

vanilla/github-sync

最新稳定版本:v2.1.2

Composer 安装命令:

composer require vanilla/github-sync

包简介

Copy github configurations from one github repo to another one.

README 文档

README

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.

统计信息

  • 总下载量: 9.15k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 5
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 5
  • Watchers: 14
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固