Skip to content

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

Closed

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.

Activity

  1. added
    enhancement
    on Mar 28, 2023
  2. added this to the v1.1.0 milestone on Mar 28, 2023
  3. qweeah commented on Mar 29, 2023

    @qweeah
    Contributor

    I can work on this. Just refactoring oras login code to make E2E cover manual input scenario.

  4. self-assigned this
    on Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions