module

package
v0.0.0-...-91c313a Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func TopologicalReleaseQueue

func TopologicalReleaseQueue(pkgs []*Package) ([]string, error)

TopologicalReleaseQueue performs a topological sort on the dependency graph

Types

type Dependency

type Dependency struct {
	Import     string
	UsedBy     []string
	MaxVersion string
	MinVersion string
}

func GetCommonDeps

func GetCommonDeps(pkgs []*Package) ([]Dependency, error)

type Package

type Package struct {
	ModFilePath  string
	Dir          string
	TagPrefix    string
	Import       string
	Modfile      *modfile.File
	FirstRelease bool
	NeedsRelease bool
	UpdateDeps   bool
	NextRelease  string
	LastRelease  string
	Changelog    *changelog.Changelog
}

func Load

func Load(path string) (pkg *Package, err error)

func (*Package) LoadReleaseInfo

func (p *Package) LoadReleaseInfo(sess *happy.Session) error

func (*Package) Release

func (p *Package) Release(sess *happy.Session) error

func (*Package) SetDep

func (p *Package) SetDep(dep string, version string) error

type ReleasablesTableView

type ReleasablesTableView struct {
	Yes bool
	// contains filtered or unexported fields
}

func GetConfirmReleasablesView

func GetConfirmReleasablesView(sess *happy.Session, pkgs []*Package, queue []string) (ReleasablesTableView, error)

func (ReleasablesTableView) Init

func (m ReleasablesTableView) Init() tea.Cmd

func (ReleasablesTableView) Update

func (m ReleasablesTableView) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (ReleasablesTableView) View

func (m ReleasablesTableView) View() string

Jump to

Keyboard shortcuts

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