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 fix for git.py to index from the right and reformat branches (#245) #246

Merged
merged 2 commits into from
Mar 29, 2023

Conversation

IanHoang
Copy link
Collaborator

Description

Integration tests and users using latest versions of git (2.40.0) experienced issues when using the list subcommand or OSB commands that relied on workloads repository. See #245 for more details. When invoking such commands, there would either be connection refused issues or ValueError: substring not found would appear.

This PR applies the fix suggested in the issue #245. See the issue for more details.

Issues Resolved

#245

Testing

  • New functionality includes testing

[Describe how this change was tested]


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@IanHoang IanHoang requested a review from gkamat as a code owner March 29, 2023 19:34
Signed-off-by: Ian Hoang <hoangia@amazon.com>
@@ -121,7 +121,7 @@ def branches(src_dir, remote=True):
if remote:
# alternatively: git for-each-ref refs/remotes/ --format='%(refname:short)'
Copy link
Collaborator

Choose a reason for hiding this comment

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

May want to update this comment, and mention the difference in the behavior of git versions.

@IanHoang IanHoang merged commit d11247a into opensearch-project:main Mar 29, 2023
@IanHoang IanHoang deleted the integ_tests_update branch April 4, 2023 17:12
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