Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/goneri/promote_aws_modules
https://github.com/goneri/promote_aws_modules
Last synced: 25 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/goneri/promote_aws_modules
- Owner: goneri
- Created: 2021-06-25T18:25:46.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2021-06-25T20:19:49.000Z (over 3 years ago)
- Last Synced: 2024-10-03T17:23:21.256Z (about 2 months ago)
- Language: Shell
- Size: 3.91 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Script to promote modules from community.aws to amazon.aws
## step 1 - with run.sh in community.aws
.1 in community.aws, we prepare a promote_aws_branch that is a copy of origin/main
.2 we rewrite the commits with:
- a `[promoted]` prefix in the commit title
- a footer with a reference pointing on a the original commit
.3 we call `git format-patch` to extract the commits of interest as .patch files## step 2 - in amazon.aws
.1 in amazon.aws, we use `git am ~/.ansible/collections/ansible_collections/community/aws/*.patch*` to apply the patch files
## step 3 - grab a coffee and enjoy
Well, not really, there is still a couple of stuff to improve :-).
- generate some changelog fragments
- generate a clean up commit in the community.aws collection