Versions in this module Expand all Collapse all v0 v0.1.1 Aug 11, 2026 Changes in this version + const ManifestPath + var ErrAmbiguousVersion = errors.NewSentinel("skillup.ambiguous_version", `manifest has more than one "version" key`) + var ErrNoBaseline = errors.NewSentinel("skillup.no_baseline", "no baseline commit for segment") + var ErrNoVersionKey = errors.NewSentinel("skillup.no_version_key", `manifest has no "version" key`) + var ErrNotSemver = errors.NewSentinel("skillup.not_semver", "not a semver core") + func TagName(segment string, v Version) string + type Author struct + Email string + Name string + type Bump int + const BumpMajor + const BumpMinor + const BumpNone + const BumpPatch + func HighestBump(commits []Commit) Bump + func (b Bump) String() string + type Commit struct + Body string + SHA string + Subject string + func (c Commit) Bump() Bump + type Git struct + func NewGitFrom(r Repository) *Git + func Open(ctx context.Context, dir string) (*Git, error) + func (g *Git) BaselineCommit(_ context.Context, segmentDir string) (string, error) + func (g *Git) CommitsTouching(_ context.Context, dir, since string) ([]Commit, error) + func (g *Git) CreateTag(_ context.Context, tag, message, at string) error + func (g *Git) PushBranch(ctx context.Context, remoteURL, branch, username, token string) error + func (g *Git) PushTags(ctx context.Context, remoteURL, username, token string, tags []string) error + func (g *Git) Repo() Repository + func (g *Git) StageAndCommit(ctx context.Context, message string, paths []string, author Author) (string, error) + func (g *Git) TagExists(_ context.Context, tag string) bool + func (g *Git) VersionAt(_ context.Context, sha, segmentDir string) (string, error) + type Inconsistency struct + Problem string + Segment string + func CheckConsistency(root string) ([]Inconsistency, error) + type Marketplace struct + Plugins []struct{ ... } + type Plan struct + Action string + Baseline string + Bump string + Commits int + Current string + Next string + Reasons []string + Segment Segment + func PlanAllIn(ctx context.Context, root string) ([]Plan, error) + type Planner struct + Git *Git + Root string + func NewPlanner(ctx context.Context, root string) (*Planner, error) + func (p *Planner) PlanAll(ctx context.Context) ([]Plan, error) + func (p *Planner) PlanOne(ctx context.Context, s Segment) (Plan, error) + type Repository interface + Commit func(context.Context, string, *git.CommitOptions) (plumbing.Hash, error) + Push func(context.Context, *git.PushOptions) error + WithRepo func(func(*git.Repository) error) error + WithTree func(func(*git.Worktree) error) error + type Segment struct + Dir string + Name string + func Discover(root string) ([]Segment, error) + type Version struct + Major int + Minor int + Patch int + func ParseVersion(s string) (Version, error) + func ReadVersion(segmentDir string) (Version, error) + func (v Version) Compare(o Version) int + func (v Version) Next(b Bump) Version + func (v Version) String() string + type WriteResult struct + From Version + Path string + Skipped bool + To Version + Written bool + func WriteVersion(segmentDir string, want Version) (WriteResult, error) v0.1.0 Aug 6, 2026