repository provider for gitea
- GiteaBranch
- GiteaContentEntry
- GiteaMasterOnlyContentEntry
- GiteaOrganization
- GiteaProvider
- GiteaPullRequest
- GiteaRepository
- GiteaUser
Extends Branch
Writes content into the branch.
-
entry
ContentEntry -
message
string
Returns Promise<ContentEntry> written content with sha values set
Commit entries.
Returns Promise<CommitResult>
Extends BufferContentEntryMixin(ContentEntry)
works for all branches
-
name
-
mode
-
branch
Extends StreamContentEntryMixin(ContentEntry)
only works for master branch
-
name
-
mode
-
branch
Extends RepositoryGroup
Extends MultiGroupProvider
Gitea provider. Known environment variables:
- GITEA_TOKEN api token
- GITEA_API api url
All possible base urls.
Returns Array<string> common base urls of all repositories
We are called gitea.
Returns string gitea
Returns string default env name prefix
Extends PullRequest
possible states
List all pull request for a given repo. Result will be filtered by source branch, destination branch and states.
-
respository
Repository -
filter
Object (optional, default{}
)
Returns AsyncIterable<PullRequest>
Extends Repository
https://try.gitea.io/api/swagger#/repository/repoEdit
Extends RepositoryGroup
With npm do:
npm install gitea-repository-provider
BSD-2-Clause