Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dnalchemist/meta-gitlab-self-hosted
https://github.com/dnalchemist/meta-gitlab-self-hosted
Last synced: 3 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dnalchemist/meta-gitlab-self-hosted
- Owner: DNAlchemist
- Created: 2024-03-25T14:20:34.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-10-16T08:58:17.000Z (2 months ago)
- Last Synced: 2024-10-18T05:26:46.132Z (2 months ago)
- Language: Shell
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# meta-gitlab-self-hosted
This script downloads all repositories from the gitlab self hosted workspace
and adds it to [meta](https://github.com/mateodelnorte/meta).Why:
---
- to execute scripts on child repositories
- to execute git commands on child repositories
- to keep the repositories up-to-date locally and search globally across the entire codebase
- to be able to work as a mono-repository
How that works?
---
### Install meta
```console
yarn global add meta # or npm install -g meta
```### Init repository list
To init or refresh repository list, execute the init.sh scriptTo usage, you need to obtain some environment from your bitbucket account.
```
export GITLAB_DOMAIN=
# https://docs.gitlab.com/ee/user/profile/personal_access_tokens.html
export GITLAB_TOKEN=
./init.sh
```Useful commands
---
- clone all repositories
```
meta git update
```- pull all repositories
```
meta git pull
```- check status in each git repository
```
meta git status
```
- execute a command on child repositories
```
meta exec pwd
```
- find all project which uses kafka-clients
```
ag -l kafka-clients ./**/pom.xml
```
More information:
https://github.com/mateodelnorte/meta