承接 serethix/composer-command-log 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

serethix/composer-command-log

Composer 安装命令:

composer require serethix/composer-command-log

包简介

Logs all executed commands in order of execution so you can re run them in case there is a merge conflict during a merge or rebase

README 文档

README

Are you also stressed by handling a lot of merge conflicts in your composer.json / composer.lock?

Try this composer plugin! It tracks all composer commands you execute on a project in a project file, so whenever there is a conflict with someone else's branch: Accept theirs or even better: check out their version and simply redo your changes on top of that!

Installation

composer require serethix/composer-command-log or if you want to run it globally run composer global require serethix/composer-command-log

In case you encounter an error with this plugin you can run every command with the --no-plugins option to temporarily disable all installed plugins.

Configuration

This Plugin can be configured either globally or on a per project base.

Currently you can specify these options:

{
  "require": {
    "serethix/composer-command-log": "^1.0"
  },
  "config": {
    "command-logfile": "composer-command.log",
    "command-to-log": [
      "require",
      "remove",
      "update",
      "upgrade",
      "run-script",
      "exec",
      "dumpautoload",
      "dump-autoload",
      "config"
    ]
  }
}

command-logfile specifies the name and path relative to your project directory.

By altering the command-to-log config you can add other commands to the list of commands you want to log and therefore be able to replay later.

This are also the default values and you only need to provide them in case you need a change on them.

Contributing

Pull requests for new features, bug fixes and suggestions are welcome.

Before creating new features have a look at the already planned features and WIP features.

Planned features

  • Utilizing the tag property that is saved together with the commands information
    • include/exclude filter for tags
  • Time based filter
  • Ask for confirmation on every command before executing (like git add -p modes)
    • accept all
    • yes
    • no
    • later
  • Flock on log file during processing.

WIP features

Project just started, so what are you thinking? ^^

License

MIT License

Thanks go to

Rafael Dohms for his blog post that inspired the creation of this composer plugin.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固