services

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommitService

type CommitService struct {
	// contains filtered or unexported fields
}

func NewCommitService

func NewCommitService(git ports.GitService, ai ports.CommitSummarizer, ticketManager ports.TickerManager, cfg *config.Config, trans *i18n.Translations) *CommitService

func (*CommitService) GenerateSuggestions

func (s *CommitService) GenerateSuggestions(ctx context.Context, count int) ([]models.CommitSuggestion, error)

type PRService added in v1.2.0

type PRService struct {
	// contains filtered or unexported fields
}

func NewPRService added in v1.2.0

func NewPRService(vcsClient ports.VCSClient, aiService ports.PRSummarizer, trans *i18n.Translations) *PRService

func (*PRService) SummarizePR added in v1.2.0

func (s *PRService) SummarizePR(ctx context.Context, prNumber int) (models.PRSummary, error)

type ReleaseService added in v1.3.0

type ReleaseService struct {
	// contains filtered or unexported fields
}

func NewReleaseService added in v1.3.0

func NewReleaseService(
	git ports.GitService,
	vcs ports.VCSClient,
	notesGen ports.ReleaseNotesGenerator,
	trans *i18n.Translations,
) *ReleaseService

func (*ReleaseService) AnalyzeNextRelease added in v1.3.0

func (s *ReleaseService) AnalyzeNextRelease(ctx context.Context) (*models.Release, error)

func (*ReleaseService) CreateTag added in v1.3.0

func (s *ReleaseService) CreateTag(ctx context.Context, version, message string) error

func (*ReleaseService) GenerateReleaseNotes added in v1.3.0

func (s *ReleaseService) GenerateReleaseNotes(ctx context.Context, release *models.Release) (*models.ReleaseNotes, error)

func (*ReleaseService) PublishRelease added in v1.3.0

func (s *ReleaseService) PublishRelease(ctx context.Context, release *models.Release, notes *models.ReleaseNotes, draft bool) error

func (*ReleaseService) PushTag added in v1.3.0

func (s *ReleaseService) PushTag(ctx context.Context, version string) error

Jump to

Keyboard shortcuts

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