issue

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Issue

type Issue struct {
	Type string // feat, fix, doc, etc…
	tracker.Issue
}

Issue is the in-flow domain entity for a work item: a tracker.Issue enriched with the conventional-commit Type that drives branch naming. It is one of three distinct "Issue" shapes in the codebase, each owning a different layer:

  • tracker.Issue — the tracker-agnostic wire shape (all strings) returned by a tracker backend. Embedded below as the external/source representation.
  • issue.Issue (this type) — the domain entity used while a branch is being started: a tracker.Issue plus the branch Type (feat/fix/doc…).
  • store.Issue — the SQLite persistence row (int64 PK, StatusID, and a *string TrackerType where nil means a manual entry). The durable record after the branch exists.

The data flows tracker.Issue (fetched) → issue.Issue (typed in the form) → store.Issue (persisted).

type IssueStartFlags

type IssueStartFlags struct {
	TrackerFirst    bool
	Variant         string
	ParentIssueSlug string // non-empty when this is a sub-task; value is the parent's IssueSlug
}

IssueStartFlags configures how the issue-start flow acquires and names a branch. Variant and ParentIssueSlug feed branch naming, so this stays in the domain package next to the entity rather than moving to cmd/issueflow.

Jump to

Keyboard shortcuts

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