文件名称:monorepo-operator:使用子树拆分来管理您的mono仓库
文件大小:2.2MB
文件格式:ZIP
更新时间:2024-02-21 12:10:16
git golang continuous-integration monorepo monolithic
独资经营者 一种用于管理带有子树拆分的整体存储库的工具。 目录 快速开始 该工具用于整体存储库,需要将目录同步到子树存储库中。 一个常见的用例是在同一存储库中维护插件或主题。 plugins/ ├── repo01 └── repo02 init命令为目录创建必要的映射。 您可以在目录中找到此示例。 --operating-dir标志指定将存储与目录相关的存储库的目录。 这些将用于通过exec命令在所有子树上执行批处理任务。 # Initialize the repos with the operating directory ".repos" $ monorepo-operator init --operating-dir=.repos git@github.com:SimonBaeumer plugins/ # View written config file $ cat .monorepo-operator.yml projects: - name: repo01 path: plugins/repo01 git-url: git@github.com:SimonB