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

bump oras minor version #12998

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

AustinAbro321
Copy link

@AustinAbro321 AustinAbro321 commented May 2, 2024

What this PR does / why we need it:
This is a minor update to the oras version while we wait for the major oras v2 upgrade. This update matters because the current auth mechanism in oras breaks when logging into an insecure repo unless an IP address is used. Oras v1.2.5 updates to use docker v25.0.1 for auth mechanisms which avoids this issue

Special notes for your reviewer:

I can give the whole stack trace is wanted, but ultimately it boils down ORAS v1.2.4 calling functions which eventually use this faulty regex to determine if the domain is correct https://github.com/distribution/distribution/blob/v2.8.3/reference/regexp_deprecated.go#L12-L23

If applicable:

  • this PR contains documentation
  • this PR contains unit tests
  • this PR has been tested for backwards compatibility

Signed-off-by: Austin Abro <[email protected]>
@pull-request-size pull-request-size bot added the size/M Denotes a PR that changes 30-99 lines, ignoring generated files. label May 2, 2024
@sabre1041 sabre1041 self-assigned this May 3, 2024
Signed-off-by: Austin Abro <[email protected]>
Copy link
Contributor

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

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

@AustinAbro321 can you resolve the conflict?

Signed-off-by: Austin Abro <[email protected]>
@AustinAbro321
Copy link
Author

@sabre1041 done

Copy link
Contributor

@sabre1041 sabre1041 left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@scottrigby scottrigby left a comment

Choose a reason for hiding this comment

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

lgtm 👍 straightforward bump to v1.2.5. Although I'm very much looking forward to upgrading to oras v2 when/if we can (#12310).

@scottrigby scottrigby added this to the 3.15.1 milestone May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
size/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants