Versions in this module Expand all Collapse all v0 v0.14.2 Jun 24, 2026 Changes in this version + func ApplyLabelChanges(requestCtx stdctx.Context, client *gitea.Client, owner, repo string, ...) error + func ApplyReviewerChanges(requestCtx stdctx.Context, client *gitea.Client, owner, repo string, ...) error + func CreateAgitFlowPull(requestCtx stdctx.Context, ctx *context.TeaContext, ...) (err error) + func CreateIssue(requestCtx stdctx.Context, rlogin *config.Login, repoOwner, repoName string, ...) error + func CreateLogin(ctx stdctx.Context, ...) error + func CreateMilestone(ctx stdctx.Context, login *config.Login, ...) error + func CreatePull(requestCtx stdctx.Context, ctx *context.TeaContext, base, head string, ...) (err error) + func CreatePullReview(requestCtx stdctx.Context, ctx *context.TeaContext, idx int64, ...) error + func CreateWikiPage(ctx *teaContext.TeaContext, client WikiWriteClient, ...) (*gitea.WikiPage, error) + func DeleteWikiPage(ctx *teaContext.TeaContext, client WikiWriteClient, pageName string) error + func EditIssue(requestCtx stdctx.Context, ctx *context.TeaContext, client *gitea.Client, ...) (*gitea.Issue, error) + func EditPull(requestCtx stdctx.Context, ctx *context.TeaContext, client *gitea.Client, ...) (*gitea.PullRequest, error) + func EditWikiPage(ctx *teaContext.TeaContext, client WikiWriteClient, pageName string, ...) (*gitea.WikiPage, error) + func GenerateLoginName(url, user string) (string, error) + func GetDefaultPRBase(requestCtx stdctx.Context, login *config.Login, owner, repo string) (string, error) + func GetDefaultPRHead(localRepo *local_git.TeaRepo) (owner, branch string, err error) + func GetDefaultPRTitle(header string) string + func GetHeadSpec(owner, branch, baseOwner string) string + func LabelsExport(labels []*gitea.Label, path string) error + func ListPullReviewComments(requestCtx stdctx.Context, ctx *context.TeaContext, idx int64) ([]*gitea.PullReviewComment, error) + func ListSSHPubkey() []string + func OpenFileInEditor(filename string) error + func ParseDiffComments(diffFile string) ([]gitea.CreatePullReviewComment, error) + func PullCheckout(ctx stdctx.Context, login *config.Login, repoOwner, repoName string, ...) error + func PullClean(ctx stdctx.Context, login *config.Login, repoOwner, repoName string, ...) error + func PullMerge(requestCtx stdctx.Context, login *config.Login, repoOwner, repoName string, ...) error + func RepoClone(ctx stdctx.Context, path string, login *config.Login, ...) (*local_git.TeaRepo, error) + func ResolveLabelNames(requestCtx stdctx.Context, client *gitea.Client, owner, repo string, ...) ([]int64, error) + func ResolveLabelOpts(requestCtx stdctx.Context, client *gitea.Client, owner, repo string, ...) (*gitea.IssueLabelsOption, error) + func ResolveMilestoneID(requestCtx stdctx.Context, client *gitea.Client, owner, repo, name string) (int64, error) + func ResolvePullReviewComment(requestCtx stdctx.Context, ctx *context.TeaContext, commentID int64) error + func SavePullDiff(requestCtx stdctx.Context, ctx *context.TeaContext, idx int64) (string, error) + func SetupHelper(login config.Login) (ok bool, err error) + func UnresolvePullReviewComment(requestCtx stdctx.Context, ctx *context.TeaContext, commentID int64) error + type EditIssueOption struct + AddAssignees []string + AddLabels []string + AddReviewers []string + Body *string + Deadline *time.Time + Index int64 + Milestone *string + Ref *string + RemoveLabels []string + RemoveReviewers []string + Title *string + type WikiWriteClient interface + CreatePage func(ctx stdctx.Context, owner, repo string, opt gitea.CreateWikiPageOptions) (*gitea.WikiPage, *gitea.Response, error) + DeletePage func(ctx stdctx.Context, owner, repo, pageName string) (*gitea.Response, error) + EditPage func(ctx stdctx.Context, owner, repo, pageName string, ...) (*gitea.WikiPage, *gitea.Response, error)