ship

package
v0.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2026 License: MIT Imports: 24 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(s *settings.Settings, streams term.Streams) *cobra.Command

shipCommand carries a change as far as --to says, from wherever it is now (the command-line UX second look's §6): a port, updated from master in a branch of its own, or a branch, resumed where it stands.

func ShipAll

func ShipAll(ctx context.Context, s *settings.Settings, streams term.Streams, whole *view.BatchJSON, targets []shipTarget, stage engine.ShipStage, answered model.Answered, version author.VersionUpdate) error

shipAll carries each change on, each through its own stages, and says how the batch went by the batch exit rule (the command-line UX review's §10): 1 where none went through, 3 where some need a look. Each is carried to its check, queued, before any check is seen through, and each submitted as its check passes (decision 4), in the order they end: the checks run together, here within the providers' capacity where no serve leads, serve's side by side where it does (engine.SeeAllThrough), where they ran one at a time in input order, so a batch took the sum of its checks. A rerun follows a check still queued or running for the same files rather than starting another.

func ShipTargets

func ShipTargets(ctx context.Context, e *engine.Engine, streams term.Streams, ports []string, where branchflags.BranchFlags) ([]shipTarget, error)

shipTargets are the changes the arguments name: each port, as the open branch changing it where one does, which ship resumes; else the branch the flags name, or the one checked out here.

func WriteShipPlan

func WriteShipPlan(ctx context.Context, e *engine.Engine, out io.Writer, targets []shipTarget, stage engine.ShipStage)

writeShipPlan is ship's plan, a row a change: where it starts, and how far it goes; under a branch going on to its pull request, its submission as it stands, and what holds it, as submit --passing showed each (decision 2: one plan listing every branch with its holds).

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL