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

Simplify installation process for windows by using winget #939

Closed
1 task done
asilverman opened this issue May 2, 2023 · 9 comments
Closed
1 task done

Simplify installation process for windows by using winget #939

asilverman opened this issue May 2, 2023 · 9 comments
Labels
enhancement New feature or request stale Inactive issues or pull requests

Comments

@asilverman
Copy link

asilverman commented May 2, 2023

What is the version of your ORAS CLI

No response

What would you like to be added?

Currently, the installation process for Windows is pretty involved...

winget-cli is a package manager for windows and it is pre-installed in most windows distributions. I would really like to be able to install oras client by leveraging winget

Why is this needed for ORAS?

It reduces the barriers for adoption and makes installation simpler

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

  • Yes, I am willing to implement it.
@asilverman asilverman added the enhancement New feature or request label May 2, 2023
@asilverman
Copy link
Author

asilverman commented May 2, 2023

I implemented a stop gap solution easily, see here: microsoft/winget-pkgs#104322

You can also embed a publish step in your GitHub Workflows to update the winget manifest so that you don't have to think about it anymore, see here for an example:

@FeynmanZhou
Copy link
Member

@asilverman Awesome! I just tested installing ORAS v1.0.0 on Win11 using Winget and it works fine!
We will add this installation method to the ORAS installation guide.

@sajayantony
Copy link
Contributor

Should we close this issue since the instructions have been merged or are there more follow up items?

@asilverman
Copy link
Author

@sajayantony I would suggest that a CI/CD step is added to the release pipeline of ORAS to update the package when a new version is released, this will not happen otherwise

@sajayantony
Copy link
Contributor

sajayantony commented May 17, 2023

winget releaser seems like a nice option then. This isn’t currently triaged or assigned and maybe we can queue this up in the next patch update.

@FeynmanZhou
Copy link
Member

@asilverman Good idea. I think we may need to add a release-winget/yml to ORAS GitHub Actions to cover Winget package update when a new version is released.

cc @oras-project/oras-cli

@amands98
Copy link
Contributor

I can add the github actions, but I may need someone to create secrets and other admin items.

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 Nov 12, 2023
@qweeah
Copy link
Contributor

qweeah commented Nov 14, 2023

It's completed and future improve can be found in #1025

@qweeah qweeah closed this as completed Nov 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request stale Inactive issues or pull requests
Projects
Development

Successfully merging a pull request may close this issue.

6 participants