sq

package
v0.0.0-...-db6e80b Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SearchQualifier

type SearchQualifier string
const (
	IsIssue SearchQualifier = "type:issue"
	IsPR    SearchQualifier = "type:pr"

	RestrictTextSearchToTitle    SearchQualifier = "in:title"
	RestrictTextSearchToBody     SearchQualifier = "in:body"
	RestrictTextSearchToComments SearchQualifier = "in:comments"

	IsOpen   SearchQualifier = "state:open"
	IsClosed SearchQualifier = "state:closed"

	IsClosedBecauseCompleted  SearchQualifier = "reason:completed"
	IsClosedBecauseNotPlanned SearchQualifier = "reason:\"not planned\""

	IsQueued   SearchQualifier = "is:queued"
	IsPublic   SearchQualifier = "is:public"
	IsPrivate  SearchQualifier = "is:private"
	IsMerged   SearchQualifier = "is:merged"
	IsUnmerged SearchQualifier = "is:unmerged"
	IsLocked   SearchQualifier = "is:locked"
	IsUnlocked SearchQualifier = "is:unlocked"

	HasLinkedPR      SearchQualifier = "linked:pr"
	HasLinkedIssue   SearchQualifier = "linked:issue"
	HasNoLinkedPR    SearchQualifier = "-linked:pr"
	HasNoLinkedIssue SearchQualifier = "-linked:issue"

	HasStatusPending SearchQualifier = "status:pending"
	HasStatusSuccess SearchQualifier = "status:success"
	HasStatusFailing SearchQualifier = "status:failure"

	IsDraft    SearchQualifier = "draft:true"
	IsNotDraft SearchQualifier = "draft:false"

	HasNoReviews     SearchQualifier = "review:none"
	RequiresReview   SearchQualifier = "review:required"
	IsApproved       SearchQualifier = "review:approved"
	HasChangeRequest SearchQualifier = "review:changes_requested"

	IsArchived    SearchQualifier = "archived:true"
	IsNotArchived SearchQualifier = "archived:false"

	HasNoLabels     SearchQualifier = "no:label"
	HasNoMilestones SearchQualifier = "no:milestone"
	HasNoAssignees  SearchQualifier = "no:assignee"
	HasNoProjects   SearchQualifier = "no:project"

	IsAuthoredBySelf SearchQualifier = "author:@me"
)

func HasCommentFromUser

func HasCommentFromUser(user string) SearchQualifier

func HasLabel

func HasLabel(label string) SearchQualifier

func HasLabels

func HasLabels(labels ...string) SearchQualifier

func HasMergeSourceBranch

func HasMergeSourceBranch(branch string) SearchQualifier

func HasMergeTargetBranch

func HasMergeTargetBranch(branch string) SearchQualifier

func HasNumberOfComments

func HasNumberOfComments(quantity string) SearchQualifier

e.g.: 0, >100, 500..1000

func HasNumberOfInteractions

func HasNumberOfInteractions(quantity string) SearchQualifier

e.g.: 0, >100, 500..1000

func HasNumberOfReactions

func HasNumberOfReactions(quantity string) SearchQualifier

e.g.: 0, >100, 500..1000

func HasTeamMention

func HasTeamMention(team string) SearchQualifier

func HasTeamReviewRequested

func HasTeamReviewRequested(team string) SearchQualifier

func HasText

func HasText(text string) SearchQualifier

func HasUserInvolved

func HasUserInvolved(user string) SearchQualifier

func HasUserMention

func HasUserMention(user string) SearchQualifier

func HasUserReviewDirectlyRequested

func HasUserReviewDirectlyRequested(user string) SearchQualifier

func HasUserReviewRequested

func HasUserReviewRequested(user string) SearchQualifier

func InMilestone

func InMilestone(milestone string) SearchQualifier

func InProject

func InProject(project string) SearchQualifier

func InRepo

func InRepo(owner string, repo string) SearchQualifier

func InReposOwnedByOrg

func InReposOwnedByOrg(org string) SearchQualifier

func InReposOwnedByUser

func InReposOwnedByUser(user string) SearchQualifier

func IsAssignedTo

func IsAssignedTo(assignee string) SearchQualifier

func IsAuthoredBy

func IsAuthoredBy(user string) SearchQualifier

func IsNotAuthoredBy

func IsNotAuthoredBy(user string) SearchQualifier

func IsReviewedBy

func IsReviewedBy(user string) SearchQualifier

func IsWrittenInLanguage

func IsWrittenInLanguage(language string) SearchQualifier

func LacksLabel

func LacksLabel(label string) SearchQualifier

func LacksLabels

func LacksLabels(labels ...string) SearchQualifier

func WasClosed

func WasClosed(iso8601Date string) SearchQualifier

YYYY-MM-DD, >=YYYY-MM-DD, YYYY-MM-DD..YYYY-MM-DD, *..YYYY-MM-DD

func WasCreated

func WasCreated(iso8601Date string) SearchQualifier

YYYY-MM-DD, >=YYYY-MM-DD, YYYY-MM-DD..YYYY-MM-DD, *..YYYY-MM-DD

func WasMerged

func WasMerged(iso8601Date string) SearchQualifier

YYYY-MM-DD, >=YYYY-MM-DD, YYYY-MM-DD..YYYY-MM-DD, *..YYYY-MM-DD

func WasUpdated

func WasUpdated(iso8601Date string) SearchQualifier

YYYY-MM-DD, >=YYYY-MM-DD, YYYY-MM-DD..YYYY-MM-DD, *..YYYY-MM-DD

func (SearchQualifier) String

func (s SearchQualifier) String() string

type SearchQualifiers

type SearchQualifiers []SearchQualifier

func (SearchQualifiers) String

func (s SearchQualifiers) String() string

Jump to

Keyboard shortcuts

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