Delete merged branches
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 重构
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- git
- 领域
- devops
调研方向
从仓库的远程分支列表开始,并针对 origin/develop 运行提供的 git rev-list 命令,将结果与明确列出的分支进行比较。检查剩余分支,确认它们是否已合并、已变基或已过时,然后仅删除那些不再需要的分支。完成的标准是删除过时的远程分支,同时保留活动分支和 master/develop。
由索引模型根据 Issue 内容生成。
描述
https://github.com/boostorg/boost/branches/all shows currently 24 branches other than develop/master. They should be cleaned up to remove those already merged or no longer required.
It seems most have been merged already or might no longer apply. The stats shown on that overview page are misleading as they show the difference to the default branch, i.e. master but we merge to develop
Using for i in $(git branch -r | grep -vE 'master|develop'); do echo $i; git rev-list --left-right --count origin/develop..$i; done to get an overview shows (see bottom) that the following branches can be safely deleted:
- origin/doxygen1.8.15
- origin/feature/add-histogram
- origin/feature/add-outcome
- origin/feature/bcp-namespace
- origin/feature/boostcpp-py
- origin/feature/clang-darwin-cxxstd-11
- origin/feature/docutils
- origin/feature/fix-status-tools
- origin/feature/gha
- origin/feature/travis-cmake
- origin/feature/travis-cmake-2
- origin/feature/travis-submodules-j3
- origin/feature/travis-xenial
- origin/regression/reporting
- origin/revert-854-patch-9
- origin/revert-901-revert-854-patch-9 (shows 1 ahead, but was rebase-merged)
- origin/feature/remove-travis-packages (rebase-merged or outdated)
It looks like at least some of the others have been merged/rebased/included as well or are outdated.
origin/circle2
0 11
origin/doxygen1.8.15
0 0
origin/feature/add-histogram
0 0
origin/feature/add-outcome
0 0
origin/feature/bcp-namespace
0 0
origin/feature/boost-install-reqs
0 1
origin/feature/boostcpp-py
0 0
origin/feature/clang-darwin-cxxstd-11
0 0
origin/feature/cmake-config
0 58
origin/feature/docutils
0 0
origin/feature/fix-status-tools
0 0
origin/feature/gha
0 0
origin/feature/install-cmake-config
0 4
origin/feature/install-cmake-config-2
0 8
origin/feature/pkgconfig
0 2
origin/feature/remove-travis-packages
0 4
origin/feature/reorder-gitmodules
0 103
origin/feature/travis-cmake
0 0
origin/feature/travis-cmake-2
0 0
origin/feature/travis-submodules-j3
0 0
origin/feature/travis-xenial
0 0
origin/regression/reporting
0 0
origin/revert-854-patch-9
0 0
origin/revert-901-revert-854-patch-9
0 1
- 主要语言
- HTML
- 星标
- 8.6k
- 派生
- 2k
- 平均合并
- 9 小时 35 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
boostorg/boost 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 3/5 1-2 天 新手友好度 52/100
-
难度 3/5 1-2 天 新手友好度 55/100
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 48/100
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
sav-oss-org/ptusa_main#1610 ·
维护者通常 1 天内回复
-
CI: pin OS images in build/publish tests instead of `*-latest`可能已有人在做 @shikhabhadoria 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
vacanza/holidays#4220 · 1 条评论 ·
维护者通常 1 天内回复
-
infra needs-triage
难度 2/5 1 小时以内 新手友好度 82/100
LucasSantana-Dev/Lucky#3331 ·
维护者通常 1 天内回复
-
needs/kind needs/triage
难度 2/5 1-3 小时 新手友好度 62/100
crowdsecurity/crowdsec#4849 · 2 条评论 ·
维护者通常 4 天内回复
-
needs-format
难度 1/5 1 小时以内 新手友好度 82/100
Niko1221/Strata#6721 · 1 条评论 ·
维护者通常 6 天内回复