https://github.com/dnalchemist/meta-bitbucket-cloud
https://github.com/dnalchemist/meta-bitbucket-cloud
bitbucket bitbucket-cloud git meta productivity repository repository-utilities
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/dnalchemist/meta-bitbucket-cloud
- Owner: DNAlchemist
- License: mit
- Created: 2021-04-06T14:43:51.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-04-08T15:38:27.000Z (about 5 years ago)
- Last Synced: 2025-04-09T15:55:06.282Z (about 1 year ago)
- Topics: bitbucket, bitbucket-cloud, git, meta, productivity, repository, repository-utilities
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# meta-bitbucket-cloud
This script downloads all repositories from the bitbucket cloud 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
```
### Init repository list
To init or refresh repository list, execute the init_repos.sh script
To usage, you need to obtain some environment from your bitbucket account.
```
# https://support.atlassian.com/bitbucket-cloud/docs/what-is-a-workspace/
export BITBUCKET_WORKSPACE=
# https://support.atlassian.com/bitbucket-cloud/docs/app-passwords/
export BITBUCKET_TOKEN=
# https://support.atlassian.com/bitbucket-cloud/docs/update-your-username/
export BITBUCKET_USERNAME=
sh init_repos.sh --help
```
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