Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add CI utils for managing dependency branches #16

Merged
merged 6 commits into from
Oct 9, 2023
Merged

add CI utils for managing dependency branches #16

merged 6 commits into from
Oct 9, 2023

Conversation

aajtodd
Copy link
Contributor

@aajtodd aajtodd commented Oct 6, 2023

Issue #, if available:
support for: awslabs/aws-sdk-kotlin#1063

Description of changes:

  • Adds a new python script usable in CI by our repos to manage the correct branch version. This is still a bit of a WIP but it handles the logic we need that CRT builder provides today to figure out branches in PRs.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

scripts/ci.py Outdated
"""
Run a command
:param command: command to run
:param shell: Flag indicating if shell should be used by subprocess command
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shell seems not a parameter here, also missing cwd and check

scripts/ci.py Outdated
formatter_class=argparse.ArgumentDefaultsHelpFormatter
)

parser.add_argument("-v", "--verbose", help="quiet output", action="store_true")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

--verbose will make it "quiet output"? or should the help message be "verbose output"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

whoops, good catch I inverted the flag from quiet to verbose and missed the docs

@aajtodd aajtodd merged commit d9253bc into main Oct 9, 2023
@aajtodd aajtodd deleted the ci-utils branch October 9, 2023 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants