Skip to content

Update github.com/moby/term to golang.org/x/term #908

@shizhMSFT

Description

@shizhMSFT

What is the version of your ORAS CLI

v1.0.0

What would you like to be added?

Update github.com/moby/term to golang.org/x/term

Why is this needed for ORAS?

oras uses untagged version of github.com/moby/term for reading passwords in oras login since the package term does not have any tags.

oras/go.mod

Line 7 in 67dca8e

github.com/moby/term v0.0.0-20210619224110-3f7ff695adc6

By updating to golang.org/x/term, we can also remove the dependencies on

oras/go.mod

Line 19 in 67dca8e

github.com/Azure/go-ansiterm v0.0.0-20210617225240-d185dfc1b5a1 // indirect

and

oras/go.mod

Line 25 in 67dca8e

golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8 // indirect

Are you willing to submit PRs to contribute to this feature?

  • Yes, I am willing to implement it.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions