Delete merged branches

Đang mở
#1,085 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
35/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
git
Lĩnh vực
devops

Hướng nghiên cứu

Bắt đầu với danh sách các branch từ xa của repository và chạy lệnh git rev-list được cung cấp trên origin/develop, so sánh kết quả với các branch được liệt kê rõ ràng. Kiểm tra các branch còn lại để xác định chúng đã được merge, rebase hay đã lỗi thời trước khi chỉ xóa những branch không còn cần thiết. Hoàn tất khi các branch từ xa lỗi thời đã được xóa, trong khi các branch đang hoạt động và master/develop vẫn được giữ lại.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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
Ngôn ngữ chính
HTML
Star
8.6k
Fork
2k
Merge trung bình
9 giờ 35 phút
Pull request đã merge (30 ngày)
1

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của boostorg/boost

Tất cả issue của boostorg/boost

Issue tương tự

Thêm issue về DevOps

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.