Skip to main content

Scenario: many-splices

A monorepo with five splices, each in a different state, on the monorepo's default branch.

status gives every splice a line. Those that need something come first, most urgent first: diverged, then behind, then ahead. Those with nothing to do come last, after a blank line. A splice names its upstream branch only where it differs from the monorepo's, like theme's master.

The other documents here show the same monorepo on a feature branch, with uncommitted changes and in a fresh clone, and what a release tagged in it contains.

Output​

setup.bash builds this state:

$ build_scenario scenario_many_splices

Monorepo commits a to g, and one lane per splice: cli up to date, http behind by m and n, parser ahead by f prime, store diverged with o and g prime, theme up to date

$ git splice status
On branch main

ahead 1, behind 1 libs/store
behind 2 libs/http
ahead 1 libs/parser

up to date libs/cli
up to date libs/theme -> master