Delete merged branches
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Refactor
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- git
- Domain
- devops
Research direction
Start with the repository's remote branch list and run the provided git rev-list command against origin/develop, comparing the results with the explicitly listed branches. Review the remaining branches for whether they were merged, rebased, or are outdated before removing only those no longer required. Done means obsolete remote branches are deleted while active branches and master/develop remain.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- HTML
- Stars
- 8.6k
- Forks
- 2k
- Avg merge
- 9h 35m
- Merged PRs (30d)
- 1
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from boostorg/boost
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 3/5 1-2 days Newbie friendliness 52/100
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
sav-oss-org/ptusa_main#1610 ·
Maintainers usually reply within 1 day
-
CI: pin OS images in build/publish tests instead of `*-latest`Possibly taken @shikhabhadoria claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
vacanza/holidays#4220 · 1 comment ·
Maintainers usually reply within 1 day
-
infra needs-triage
Difficulty 2/5 Under an hour Newbie friendliness 82/100
LucasSantana-Dev/Lucky#3331 ·
Maintainers usually reply within 1 day
-
needs/kind needs/triage
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
crowdsecurity/crowdsec#4849 · 2 comments ·
Maintainers usually reply within 4 days
-
needs-format
Difficulty 1/5 Under an hour Newbie friendliness 82/100
Niko1221/Strata#6721 · 1 comment ·
Maintainers usually reply within 6 days