Skip to content

Conversation

@ndeloof
Copy link
Contributor

@ndeloof ndeloof commented May 7, 2021

see oras-project/oras#265

What this PR does / why we need it:
https://github.com/deislabs/oras has been rearchitectured to introduce oras-go library
This PR adopts this library

Special notes for your reviewer:

If applicable:

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

@helm-bot helm-bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label May 7, 2021
@ndeloof ndeloof marked this pull request as ready for review May 20, 2021 12:40
@mattfarina mattfarina requested a review from jdolitsky May 24, 2021 15:24
github.com/stretchr/testify v1.7.0
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
Copy link
Member

Choose a reason for hiding this comment

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

Is there a way to prevent this update in this PR? I'm trying to figure out what's necessary for the name change vs. what should be pulled out into a separate PR. Changes to /x/crypto might be best as a separate review item if at all possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can't tell, this has been introduced by go mod tidy, so I assume required by transitive dependencies...

Copy link
Contributor

Choose a reason for hiding this comment

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

@ndeloof I agree with @bacongobbler. Lets not change modules that are not part of the PR in question. Do you mind rolling this back?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As I said, this update is forced by go mod, if I revert this it will be added again any time you run go mod xx commands.

Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@hickeyma hickeyma left a comment

Choose a reason for hiding this comment

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

I am ok with the change to golang.org/x/crypto module as stated in #9675 (comment). LGTM. I will hold on merging as would like @bacongobbler to give his opinion on it.

github.com/stretchr/testify v1.7.0
github.com/xeipuuv/gojsonschema v1.2.0
golang.org/x/crypto v0.0.0-20210220033148-5ea612d1eb83
golang.org/x/crypto v0.0.0-20210322153248-0c34fe9e7dc2
Copy link
Contributor

Choose a reason for hiding this comment

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

@thaJeztah
Copy link

ping @bacongobbler, ptal 🙏

see oras-project/oras#265

Signed-off-by: Nicolas De Loof <nicolas.deloof@gmail.com>
@ndeloof
Copy link
Contributor Author

ndeloof commented Jul 19, 2021

just rebased to fix go.sum conflict
@bacongobbler?

@bacongobbler bacongobbler merged commit 5946457 into helm:main Jul 22, 2021
@bacongobbler bacongobbler added this to the 3.7.0 milestone Jul 22, 2021
@howardjohn howardjohn mentioned this pull request Jul 22, 2021
3 tasks
@howardjohn
Copy link
Contributor

A heads up - this change causes an indirect import of k8s.io/kubernetes library which is generally pretty heavy. Opened containerd/containerd#5781 to track this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants