Versions in this module Expand all Collapse all v0 v0.1.4 Nov 21, 2026 Changes in this version type Edge + ReplaceVersion string + func (e *Edge) ResolvesLocally() bool type GoModule + ReplaceVersions map[string]string v0.1.3 Nov 21, 2026 v0.1.2 Nov 21, 2026 v0.1.1 Nov 21, 2026 v0.1.0 Nov 10, 2026 Changes in this version + const DefaultPlanFile + const RepoConfigFile + func Apply(m *Manifest, pf *PlanFile, opts ApplyOptions) error + func CompactPath(p string) string + func DefaultManifestPath() string + func ExpandPath(p string) string + func FillNotes(pf *PlanFile, opts NotesOptions) error + func ManifestPathSource() (string, string) + func NextVersion(v, bump string) (string, error) + func PlanPath(arg string) string + func Preflight(p *Project, pull bool) error + func RemoteID(url string) string + func RemoteOwner(id string) string + func TagName(prefix, v string) string + type ApplyOptions struct + DryRun bool + Out io.Writer + Wait time.Duration + type Candidate struct + Chosen *Clone + InManifest *ProjectSpec + Name string + Others []*Clone + Remote string + func Discover(roots, owners []string, m *Manifest) ([]*Candidate, error) + type Clone struct + Branch string + Clean bool + CommitTime int64 + Dir string + OnDefault bool + Remote string + TopLevel bool + type Commit struct + Hash string + Subject string + type Context struct + ChangedDirs []string + Commits []Commit + DiffStat string + Kind string + Merges []string + Modules []string + Npm []string + Path string + Pending []string + Remote string + Unit string + Version string + Versioning string + Warnings []string + type Edge struct + From *Unit + FromDir string + Kind string + Lagging bool + Latest string + LocalReplace string + Module string + Propagates bool + Required string + To *Unit + type GoModule struct + Dir string + LocalReplaces map[string]string + Path string + Published bool + Requires map[string]string + TagPrefix string + type Graph struct + Deps map[*Unit][]*Edge + Edges []*Edge + Manifest *Manifest + Projects []*Project + Units []*Unit + Users map[*Unit][]*Edge + func BuildGraph(m *Manifest) (*Graph, error) + func NewGraph(m *Manifest, projects []*Project) (*Graph, error) + func (g *Graph) Context(u *Unit) (*Context, error) + func (g *Graph) DependsOn(u *Unit) []string + func (g *Graph) FetchTags(u *Unit) + func (g *Graph) Get(name string) (*Unit, error) + func (g *Graph) LaggingDeps(u *Unit, propagatingOnly bool) []*Edge + func (g *Graph) NewPlanFile(plan *Plan, seeds []string, changed bool) (*PlanFile, error) + func (g *Graph) Plan(opts PlanOptions) (*Plan, error) + func (g *Graph) Project(name string) *Project + func (g *Graph) Release(u *Unit, r *Runner, opts ReleaseOptions) (*ReleasePlan, error) + func (g *Graph) SeedsFor(name string) ([]*Unit, error) + func (g *Graph) Update(u *Unit, r *Runner, opts UpdateOptions) (string, error) + func (g *Graph) Waves(set map[*Unit]bool) ([][]*Unit, error) + type HooksConfig struct + PostRelease []string + PostTag []string + PreTag []string + type Manifest struct + IgnoreCommits []string + Owners []string + Projects []*ProjectSpec + Roots []string + Tools ToolsConfig + func LoadManifest(path string) (*Manifest, error) + func (m *Manifest) Exists() bool + func (m *Manifest) Find(name string) *ProjectSpec + func (m *Manifest) Merge(cands []*Candidate) (added, moved []string) + func (m *Manifest) Path() string + func (m *Manifest) Remove(name string) bool + func (m *Manifest) Save() error + type NotesConfig struct + Changelog string + File string + type NotesOptions struct + Agent string + Force bool + Jobs int + Out io.Writer + type NpmDep struct + Locked string + Section string + Spec string + type NpmPackage struct + Deps map[string]NpmDep + Dir string + LockDir string + Manager string + ManagerFrom string + Name string + PolicyErr string + Private bool + Version string + type PathList []string + func (l PathList) IsZero() bool + type Plan struct + Nodes []*PlanNode + type PlanFile struct + Changed bool + Created string + Format int + Manifest string + Seeds []string + Units []*PlanUnit + func LoadPlanFile(path string) (*PlanFile, error) + func (pf *PlanFile) Path() string + func (pf *PlanFile) Resolve(allowEmptyNotes bool) []string + func (pf *PlanFile) Save(path string) error + type PlanNode struct + Action string + Reasons []string + Seed bool + Unit *Unit + Updates []*Edge + Wave int + type PlanOptions struct + Changed bool + Exclude map[string]bool + Seeds []*Unit + type PlanUnit struct + Action string + Bump string + Changed []string + Commits []string + Current string + DiffStat string + Error string + HasConfig bool + Head string + Notes string + Only []string + Path string + Reasons []string + Released string + Skip bool + Status string + Tags []string + Unit string + Updates []string + Version string + Versioning string + WaitsFor []string + Warnings []string + Wave int + type Project struct + Branch string + Config *RepoConfig + DefaultBranch string + Dir string + Dirty bool + HasConfig bool + LoadErr error + Modules []*GoModule + Name string + Npm []*NpmPackage + Remote string + Spec *ProjectSpec + Units []*Unit + Warnings []string + func LoadProject(spec *ProjectSpec, ignore []*regexp.Regexp, tools ToolsConfig) *Project + func (p *Project) HasTag(tag string) bool + func (p *Project) LatestFor(prefix string) string + func (p *Project) MainUnit() *Unit + func (p *Project) ModuleChanged(m *GoModule) (bool, error) + func (p *Project) RootModule() *GoModule + type ProjectSpec struct + DependsOn []string + Kind string + Name string + Path string + Remote string + Skip bool + func NewSpec(dir, name string) (*ProjectSpec, error) + type PublishConfig struct + GitHubRelease *bool + Npm string + type ReleaseOptions struct + AllowLagging bool + Bump string + Force bool + NoPush bool + Notes string + Only []string + Version string + type ReleasePlan struct + Modules []*GoModule + Npm []*NpmPackage + Tags []string + Version string + type RepoConfig struct + IgnoreCommits []string + Kind string + Tools ToolsConfig + Units []*UnitConfig + func InferConfig(p *Project, owners []string) (*RepoConfig, []string) + func LoadRepoConfig(dir string) (*RepoConfig, error) + func (c *RepoConfig) AllUnits() []*UnitConfig + func (c *RepoConfig) Marshal() ([]byte, error) + type Runner struct + Base string + DryRun bool + Env []string + Out io.Writer + func (r *Runner) Note(format string, args ...any) + func (r *Runner) Step(dir, shell string) error + type ToolsConfig struct + Enforce bool + Npm string + type Unit struct + Config *UnitConfig + Follow []*GoModule + Main bool + Modules []*GoModule + Name string + Npm []*NpmPackage + Project *Project + Unreleased []Commit + Version string + func (u *Unit) Dirs() []string + func (u *Unit) Kind() string + func (u *Unit) Lockstep() bool + func (u *Unit) NpmLatest(n *NpmPackage) string + func (u *Unit) NpmPublish() string + func (u *Unit) Pathspec() []string + func (u *Unit) PrimaryPrefix() string + func (u *Unit) PublicNpm() []*NpmPackage + type UnitConfig struct + Check string + Follow []string + Hooks HooksConfig + Modules PathList + Name string + Notes NotesConfig + Npm PathList + PinFollowers string + Publish PublishConfig + StripReplaces bool + VersionFiles []string + Versioning string + type UpdateOptions struct + NoBuild bool + NoCommit bool + Push bool + Wait time.Duration