adt/tracy-git
最新稳定版本:v1.2.1
Composer 安装命令:
composer require adt/tracy-git
包简介
Git commit info for Tracy panel
README 文档
README
See https://github.com/AppsDevTeam/tracy-system-info
Tracy Git panel
Useful for displaying information about currently deployed application version.
Installation
Composer:
composer require adt/tracy-git
config.neon:
extensions: tracyGit: ADT\TracyGit\DI\TracyGitExtension tracyGit: provider: json file: %appDir%/git.json
Currently supported providers are:
json- needs
fileto be specified and existing
- needs
Updating git info
JSON provider
run vendor/bin/tracy-git-json app/git.json
- use
-hor--helpto display usage, - use
--with-userto include current git user, - use
--with-timestampto include current timestamp
Note: do not forget do add app/git.json to your .gitignore.
Auto update
Most deploy systems have list of commands to execute before actual deploy takes place.
Eg. for dg/ftp-deployment and JSON provider:
-
ini config
before[] = local: vendor/bin/tracy-git-json app/git.json --with-user -
php config
$before[] = 'local: vendor/bin/tracy-git-json app/git.json --with-user';
统计信息
- 总下载量: 21.85k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 1
其他信息
- 授权协议: MIT
- 更新时间: 2016-10-05
