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

Change default branch behavior to remove defaulting to 'master' branch. #31

Merged
merged 1 commit into from
Nov 18, 2024

Conversation

nirosys
Copy link
Contributor

@nirosys nirosys commented Nov 16, 2024

Issue #, if available: n/a

Description of changes:
Prior to this PR ion-test-driver would default to using master as the branch for cloned repositories. We have a mix now where some of our repositories have not migrated to using main over master, which has led to a few test failures when pulling ion-tests (example).

This PR changes ion-test-driver so that if a revision is not provided, rather than assuming the name of the active branch, ion-test-driver will leave the cloned version of the repo alone, defaulting to the repository's configured active branch.

The code already supported having a missing revision, so this PR ultimately just removes the defaulting to master, and removes the declared default revisions in the implementation list so that they do not have to stay in sync with the repositories.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

…e active (default) branch for the repository
@nirosys nirosys marked this pull request as ready for review November 16, 2024 00:14
Copy link
Contributor

@tgregg tgregg left a comment

Choose a reason for hiding this comment

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

Nice

@nirosys nirosys merged commit 119e0eb into amazon-ion:master Nov 18, 2024
5 checks passed
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