Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pkgstore/bash-gitlab-api
Tools for automating work with GitLab.
https://github.com/pkgstore/bash-gitlab-api
api api-client bash bash-script gitlab linux
Last synced: about 2 months ago
JSON representation
Tools for automating work with GitLab.
- Host: GitHub
- URL: https://github.com/pkgstore/bash-gitlab-api
- Owner: pkgstore
- License: mit
- Created: 2023-07-20T00:34:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-18T14:42:29.000Z (11 months ago)
- Last Synced: 2024-02-18T15:38:25.171Z (11 months ago)
- Topics: api, api-client, bash, bash-script, gitlab, linux
- Language: Shell
- Homepage: http://ihub.to
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Bash tools for GitLab API
Tools for automating work with [GitLab](https://gitlab.com/).
## Syntax
### Creating repository
- [repo.create.sh](repo.create.sh)
- `-x 'TOKEN'`
GitLab user token.
- `-a 'https://gitlab.com'`
GitLab API URL.
- `-n 'NSID'`
Namespace ID for new repository.
- `-r 'REPO_1;REPO_2;REPO_3'`
Repository name (array).
- `-d 'DESCRIPTION'`
Repository description.
- `-v 'PRIVATE / INTERNAL / PUBLIC'`
Repository visibility level (private, internal, or public).### Deleting repository
- [repo.delete.sh](repo.delete.sh)
- `-x 'TOKEN'`
GitLab user token.
- `-a 'https://gitlab.com'`
GitLab API URL.
- `-r 'ORG/REPO_1;ORG/REPO_2'`
Repository name (array).### Transferring repository
- [repo.transfer.sh](repo.transfer.sh)
- `-x 'TOKEN'`
GitLab user token.
- `-a 'https://gitlab.com'`
GitLab API URL.
- `-n 'NSID'`
NEW namespace ID for repository.
- `-r 'REPO_1;REPO_2;REPO_3'`
Repository name (array).### Updating repository
- [repo.update.sh](repo.update.sh)
- `-x 'TOKEN'`
GitLab user token.
- `-a 'https://gitlab.com'`
GitLab API URL.
- `-r 'ORG/REPO_1;ORG/REPO_2'`
Repository name (array).
- `-d 'DESCRIPTION'`
Repository description.
- `-v 'PRIVATE / INTERNAL / PUBLIC'`
Repository visibility level (private, internal, or public).