abhinav / abhinav/git-spice

Multi-trunk support

Open
#1,012 0 comments 4 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
762
Forks
72
Avg merge
18h 24m
Merged PRs (30d)
28

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.