projects

package
v0.0.0-...-b7bc0e6 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Command

func Command(ctx context.Context, logger *log.Logger) *cobra.Command

func SyncCommand

func SyncCommand(ctx context.Context, logger *log.Logger) *cobra.Command

Types

type ProjectManagement

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

func NewProjectManagement

func NewProjectManagement(ghClient *gh.Client, owner, repo string) *ProjectManagement

func (*ProjectManagement) SyncProjects

func (pm *ProjectManagement) SyncProjects(ctx context.Context, currVer, nextVer string, forceMovePending bool) error

type ProjectsConfig

type ProjectsConfig struct {
	types.CommonConfig

	CurrVer string
	NextVer string

	// ForceMovePending lets "pending" backports be moved from one project
	// to another. By default this is set to false, since most commonly
	// this is a mistake and the PR should have been previously marked as
	// "backport-done".
	ForceMovePending bool
}

func (*ProjectsConfig) Sanitize

func (cfg *ProjectsConfig) Sanitize() error

Jump to

Keyboard shortcuts

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