rconfighub/vector-server-pkg
最新稳定版本:v1.2.7
Composer 安装命令:
composer require rconfighub/vector-server-pkg
包简介
A package for managing data sync with rConfig Vector agent software
README 文档
README
Pre-requisites
- Determine the next version number (e.g., v1.0.16)
- Ensure all changes are ready for release
Step-by-Step Process
1. Create and Switch to New Branch
cd /var/www/html/vector-server-pkg/
git checkout -b release/v1.2.7
2. Make Your Changes
- Implement all necessary code changes
- Test thoroughly
3. Update Composer Version
- Open
composer.jsonin therconfig/vector-serverrepository - Update the
versionfield:
"version": "v1.2.7"
Note: Consider removing the version field entirely and let Composer infer from Git tags
4. Commit Changes
git add . git commit -m "Prepare release v1.2.7" git push origin release/v1.2.7
5. Merge to Main Branch
git checkout main git merge release/v1.2.7 git push origin main
6. Create and Push Git Tag
git tag -a v1.2.7 -m "Release version v1.2.7"
git push origin v1.2.7
Optional - Update Main V8 Pro with the latest package version:
composer require rconfighub/vector-server-pkg:v1.2.7
7. Clear Composer Cache and Update
composer clear-cache composer update
8. Clear rConfig Cache
php artisan rconfig:clear-all
9. Create GitHub Release
- Go to GitHub repository
- Create new release using the v1.2.7 tag
- Add release notes describing changes
10. Update Package Repository
- Ensure package is updated in Repman
- Verify Packagist update if applicable
If You Need to Fix an Incorrect Tag
If you created the wrong tag or it points to the wrong commit:
# Delete incorrect tag locally and remotely git tag -d v1.2.7 git push origin :refs/tags/v1.2.7 # Create correct tag on the right commit git checkout [correct-commit-hash] git tag -a v1.2.7 -m "Release version v1.2.7" git push origin v1.2.7
Best Practices
- Use semantic versioning (MAJOR.MINOR.PATCH)
- Test before tagging - Run all tests in the rConfig V7 test suite
- Consistent naming - Use the same version number throughout the process
- Clean git history - Use meaningful commit messages
- Document changes - Include clear release notes in GitHub releases
Central Manager Guard
This package exposes a config-driven Central Manager guard. Central Manager features remain disabled by default and are enabled only by operator intent. The guard does not attempt any network connectivity checks.
.env Example
CENTRAL_MANAGER_ENABLED=false CENTRAL_MANAGER_MODE=off CENTRAL_MANAGER_REQUIRE_RABBITMQ_CONFIG=true CENTRAL_MANAGER_RABBITMQ_CONFIG_PATH=services.rabbitmq
Notes
CENTRAL_MANAGER_ENABLEDexpresses operator intent.CENTRAL_MANAGER_MODEsupportsoff,publisher,consumer, orboth.- When
CENTRAL_MANAGER_REQUIRE_RABBITMQ_CONFIG=true, the guard verifies required RabbitMQ config keys are present and non-empty. It does not attempt to connect to RabbitMQ.
统计信息
- 总下载量: 219
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2025-01-14