Git 发布历史跟踪困难与版本管理混乱
问题概述
Git 仓库的发布历史跟踪目前缺乏直观的标准方法,跨多个项目仓库时版本管理变得复杂且易污染源码。团队常需创建额外的 manifest 仓库或手动合并发布分支来弥补这一缺失,增加了操作负担。
痛点标签
- Git 发布历史跟踪在多仓环境下缺乏直观标准,操作繁琐
- 源码仓库易因版本/manifest 数据而污染,需额外存储管理
- 旧 Git ref 累积需要手动清理,造成运维负担
待验证问题
- 请问您目前是如何协调多个 Git 仓库的发布版本的?
- 是否愿意尝试新的发布历史跟踪方案以替代现有的繁琐流程?
- 在管理旧 Git ref 时,您通常如何决定保留或删除的?
证据
原话 · @匿名
You can kind of arrive at the same solution, without actually thinking about all this, by just merging into a release branch when making a release.
原话 · @匿名
Complicated and unintuitive. Our company has a few dozens of different project repos. I just created a repo for storing deploy manifests (versions, etc. for every repos of a product), and then let our automation pipeline commit the manifest. Simple to follow and no source-unrelated crap in source repos.
原话 · @匿名
Or commit a file to main that represents a release and build your automations off that
原话 · @匿名
Cool and clever. One question: what do you use your old refs for? We just delete them when we get too many.
免责声明:本卡片由 AI 从社区讨论中提炼,属于「痛点证据」,是需求分析与验证的起点,不等同于「已验证的市场需求」。AI 存在分析局限,关键决策前请打开上方原始讨论人工复核。