linearsoft/composer-svn-export
最新稳定版本:v0.1.3
Composer 安装命令:
composer require linearsoft/composer-svn-export
包简介
A plugin that allows Composer to export SVN packages instead of checking them out
README 文档
README
A composer plugin that allows for exporting svn repositories
Installation
Install the latest version with
$ composer require linearsoft/composer-svn-export
Usage
There are two ways to use SvnExport
1. Modify the repository
If you are hosting your own composer repository you can simply change the source type from 'svn' to 'svn-export'.
composer.json
{
"require": {
"vendor/my-package": "dev-trunk"
},
"repositories": [
{
"type": "composer",
"url": "http://my-repo.vendor.com"
}
]
}
packages.json
{
"packages": {
"vendor/my-package": {
"dev-trunk": {
"name": "vendor/my-package",
"description": "My very special package",
"version": "dev-trunk",
"source": {
"type": "svn-export",
"url": "http://svn.vendor.com/my-package",
"reference": "/trunk/@50"
},
"other tags...": "blah, blah, blah"
}
}
}
}
2. Add a SvnExport repository
A repository of type 'svn' or 'composer' can be used as a SvnExport repository via the extras section. Note: All packages of type 'svn' in a composer repository will automatically be converted to type 'svn-export'. Warning: If you add a repository as a SvnExport repository do NOT also add it as a standard repository or you will have problems.
composer.json
{
"require": {
"vendor/my-package-alpha": "dev-trunk",
"vendor/my-package-beta": "dev-trunk"
},
"extra": {
"svn-export-repositories": [
{
"name": "My Repo (optional)",
"type": "composer",
"url": "http://my-repo.vendor.com"
},
{
"type": "svn",
"url": "http://svn.vendor.com/my-package-beta"
}
]
}
}
packages.json
{
"packages": {
"vendor/my-package": {
"dev-trunk": {
"name": "vendor/my-package",
"description": "My very special package",
"version": "dev-trunk",
"source": {
"type": "svn",
"url": "http://svn.vendor.com/my-package",
"reference": "/trunk/@50"
},
"other tags...": "blah, blah, blah"
}
}
}
}
About
Bugs or features requests
Found a problem or would like a feature submit it via GitHub
License
SvnExport is license under the GPLv3 License - see the LICENSE file for details
Acknowledgements
François Pluchino's composer-asset-plugin design was used as a foundation for this plugin.
linearsoft/composer-svn-export 适用场景与选型建议
linearsoft/composer-svn-export 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 13.56k 次下载、GitHub Stars 达 8, 最近一次更新时间为 2016 年 02 月 13 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 linearsoft/composer-svn-export 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 linearsoft/composer-svn-export 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 13.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 8
- 点击次数: 15
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPLv3
- 更新时间: 2016-02-13