dynamics-unlimited/composer-git-flow-plugin 问题修复 & 功能扩展

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

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

dynamics-unlimited/composer-git-flow-plugin

最新稳定版本:2.4.0

Composer 安装命令:

composer require dynamics-unlimited/composer-git-flow-plugin

包简介

(Fork of ichhabrecht/composer-git-flow-plugin) This plugin allows to use repositories using the Git Flow workflow (or any other branching model) with Composer

README 文档

README

This plugin allows to use repositories using the Git Flow workflow (or any other branching model) with Composer.

Installation

First you have to require the plugin.

$ composer require dynamics-unlimited/composer-git-flow-plugin

Usage

To define the repositories for which the plugin should change the used branch, it is necessary to require those with dev-master constraint.

{
  "repositories": [
    {
      "type": "vcs",
      "url": "[path-to-your-repository]"
    }
  ],
  "require": {
    "vendor/package": "dev-master"
  }
}

To select the branch your repositories should use, you have to call the composer command git-flow-update which makes sure only repositories with dev-master dependency constraints are updated. To specify the branch prefix use the option stability of the command.

$ composer git-flow-update --stability develop

If you want to checkout your repositories with the latest release branch you can simply set the stability to release. The plugin searches for any available branch with the stability prefix with a fallback to master branch if no other suitable branch was found.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 4
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-12-21