abhinav / abhinav/git-spice

Multi-trunk support

Đang mở
#1,012 0 bình luận 4 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Go
Star
762
Fork
72
Merge trung bình
18 giờ 24 phút
Pull request đã merge (30 ngày)
28

Mô tả

While most repos have a single trunk (e.g. main or master),
some projects operate in a multi-trunk mode, e.g.
a dev branch for ongoing development and a release branch for most recent release.

The feature request here is to support multi-trunk repos.
This would be a significant change to the internals/state management.
Off the top of my head:

- State currently only has a single trunk field; we'll need to support either `trunks: []string`, or `secondaryTrunks: []string`, while requiring one primary trunk. (This requires some thought — if there's any use case that requires a "primary" trunk, we'll want to do the latter.)
- PRs would be made against the trunk they're stacked on top of.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

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.