-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# QueryMatchers | ||
|
||
RepoM uses query matchers to check if a given term matches a given repository. | ||
|
||
The following query matchers are currently implemented: | ||
|
||
| Matcher type | Term types | Term | Accepted values | Description | | ||
|---------------------------|----------------------------|------|----------------------------------------|--------------------------------------------------------------------------------------------| | ||
| FreeTextMatcher | FreeText | | * | Checks if the free text matches a tag, else if the repositiry name contains the free text. | | ||
| NameMatcher | SimpleTerm, StartsWithTerm | name | * | Checks if the repository name equals the given name | | ||
| TagMatcher | SimpleTerm, StartsWithTerm | tag | * | Checks if the repository tags contain the given tag | | ||
| IsPinnedMatcher | SimpleTerm | is | pinned | Checks if a repository is pinned or not | | ||
| IsBareRepositoryMatcher | SimpleTerm | is | bare | Returns true if a repository is a bare repository. | | ||
| IsBehindMatcher | SimpleTerm | is | behind | Returns true if a repository has pending updates from the remote. | | ||
| HasUnPushedChangesMatcher | SimpleTerm | has | changes | Returns true if there are changed uncommitted files. | | ||
| HasPullRequestsMatcher | SimpleTerm | has | [pr, prs, pull-request, pull-requests] | Returns true if there are known pull requests available in Azure DevOps. | |