This project uses meta to operate on all the repositories in the opensearch-project organization.
Install and configure GitHub CLI from cli.github.com/manual/installation. Authenticate with gh auth login
and ensure that it works, e.g. gh issue list
.
npm install -g meta
meta git update
Use meta git pull
to subsequently pull the latest revisions.
meta gh issue list
meta project import new-repo git@github.com:opensearch-project/new-repo.git
Meta stores a list of repositories in .meta. You can bulk update this file from the opensearch-project org as follows.
./scripts/update.sh
Install ghi, e.g. brew install ghi
.
meta exec "ghi label 'backwards-compatibility' -c '#773AA8'
This makes it easy to create version labels.
meta exec "ghi label 'untriaged' -c '#fbca04'"
meta exec "ghi label 'v1.0.0' -c '#d4c5f9'"
meta exec "ghi label 'v1.1.0' -c '#c5def5'"
meta exec "ghi label 'v2.0.0' -c '#b94c47'"
meta exec "ghi label 'patch' -c '#dd8e2c'"
Create a file for the issue body, e.g. issue.md
.
meta exec "gh issue create --label backwards-compatibility --title 'Ensure backwards compatibility' --body-file ../issue.md"
Find all issues labeled v1.0.0
.
meta exec "gh issue list -l v1.0.0"
How many are left?
meta exec "gh issue list -l v1.0.0" | wc -l
Find out whether 1.0.0 tag exists in all repos.
meta exec "git ls-remote | grep -w 'refs/tags/1.0.0$' || echo missing"
Or using local tags.
meta git pull --tags
meta exec "git tag | grep -w '^1.0.0$' || echo missing"
Please contribute! See CONTRIBUTING, Maintainer and Admin Responsibilities for more information.
See Security
This project has adopted the Amazon Open Source Code of Conduct. For more information see the Code of Conduct FAQ, or contact opensource-codeofconduct@amazon.com with any additional questions or comments.
This project is licensed under the Apache v2.0 License.
Copyright OpenSearch Contributors. See NOTICE for details.