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

Winget installation is broken, it installs an older version of ORAS and is not installing the latest release #1063

Closed
1 task
asilverman opened this issue Aug 16, 2023 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@asilverman
Copy link

asilverman commented Aug 16, 2023

What happened in your environment?

$ winget search ORASProject.ORAS
Name     Id               Version Source
-----------------------------------------
ORAS CLI ORASProject.ORAS 1.0.0   winget

From the DOCS:
image

Notice how the winget package manager is finding the latest version to be 1.0.0, however version 1.0.1 is already released.
image

BTW the version in the docs for the alternative is also wrong
image

What did you expect to happen?

I would expect it to detect and download the latest version that was released but it doesn't do that, it downloads an old version

How can we reproduce it?

run winget search oras

What is the version of your ORAS CLI?

N\A

What is your OS environment?

Win11

Are you willing to submit PRs to fix it?

  • Yes, I am willing to fix it.
@asilverman asilverman added the bug Something isn't working label Aug 16, 2023
@FeynmanZhou FeynmanZhou added this to the v1.1.0 milestone Aug 18, 2023
@FeynmanZhou FeynmanZhou self-assigned this Aug 18, 2023
@FeynmanZhou FeynmanZhou removed this from the v1.1.0 milestone Aug 18, 2023
@FeynmanZhou FeynmanZhou assigned qweeah and unassigned FeynmanZhou Aug 18, 2023
@qweeah
Copy link
Contributor

qweeah commented Aug 18, 2023

Raised a PR to add oras 1.0.1 to winget, see microsoft/winget-pkgs#117234

@asilverman
Copy link
Author

asilverman commented Aug 21, 2023

Looks like the PR was merged but the issue remains since there are no guarantees that the maintainers will remember to manually issue a PR for future releases. @FeynmanZhou are there any plans to automate this process?

Also, @qweeah the documentation is still not updated to reflect the new version and this is true for all platforms, not just windows

@qweeah
Copy link
Contributor

qweeah commented Aug 22, 2023

are there any plans to automate this process?

Yes, you are right. It's tracked in #1025. I think for Winget we can utilize winget-create to raise a PR after releasing.

Also, @qweeah the documentation is still not updated to reflect the new version and this is true for all platforms, not just windows

Please check oras-project/oras-www#251, which is pending for merge @FeynmanZhou can you help approve.

@github-actions
Copy link

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 30 days.

@github-actions github-actions bot added the stale Inactive issues or pull requests label Oct 22, 2023
@asilverman
Copy link
Author

Fixed

@github-actions github-actions bot removed the stale Inactive issues or pull requests label Oct 23, 2023
@qweeah qweeah closed this as completed Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Development

No branches or pull requests

3 participants