git-topic-stage

Logic for managing a topic stage on top of a base branch in git

7 stable releases (3 major)

4.1.1 May 30, 2023
4.1.0 Nov 27, 2021
4.0.0 Oct 15, 2019
3.0.0 Jul 6, 2017
1.0.0 Jan 13, 2017
Download history 15/week @ 2024-06-19 8/week @ 2024-06-26 7/week @ 2024-07-03 10/week @ 2024-07-10 10/week @ 2024-07-17 51/week @ 2024-07-24 33/week @ 2024-07-31 9/week @ 2024-08-07 8/week @ 2024-08-14 7/week @ 2024-08-21 7/week @ 2024-08-28 9/week @ 2024-09-04 8/week @ 2024-09-11 18/week @ 2024-09-18 20/week @ 2024-09-25 25/week @ 2024-10-02

72 downloads per month

MIT/Apache

75KB
1.5K SLoC

git-topic-stage

This crates implements a staging branch workflow where a base branch may have multiple proposed topics ready for testing at once so that the combination may be tested together when testing resources are not available for testing every proposed change individually.

The setup is that branches are added to the set of topics which will be prepared onto an integration branch. When any branch in the set changes, the integration branch is rewritten. Any topic which fails to merge cleanly is removed from the set of candidate topics. Once a new integration branch is ready, the set of topics merged and rejected are returned for processing.


lib.rs:

Git Topic Stage

This library implements a staging workflow to queue candidate topic branches into a single integration branch. Candidate topics are merged together into an integration branch. Topics which have been merged previously and recieve a new update are removed from the set and placed back at the end of the list of topics to be merged. This way a single topic branch cannot cause starvation in the rest of the topics.

Dependencies

~6–17MB
~225K SLoC