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

[Feature request] Support for Chocolatey installation on Windows #148

Closed
jooyoungseo opened this issue Oct 25, 2021 · 17 comments
Closed

[Feature request] Support for Chocolatey installation on Windows #148

jooyoungseo opened this issue Oct 25, 2021 · 17 comments
Assignees
Milestone

Comments

@jooyoungseo
Copy link
Collaborator

For terminal users on Windows, could you please consider supporting Chocolatey installation? This would help streamline the cli installation on Windows.

@cderv
Copy link
Collaborator

cderv commented Oct 25, 2021

There is not chocolatey package yet, however there is a scoop installation possible.

Quarto is available in this bucket: https://github.com/cderv/r-bucket#quarto-cli

# Add bucket once 
scoop bucket add r-bucket https://github.com/cderv/r-bucket.git

# install
scoop install quarto

# update
scoop update quarto

Scoop is a package manager for Windows, like chocolatey but with a manifest design.
To install Scoop: https://github.com/lukesampson/scoop#installation

This is how I manage the Quarto version of Windows with a very smooth workflow.

@dragonstyle dragonstyle self-assigned this Mar 8, 2022
@dragonstyle dragonstyle removed their assignment Apr 7, 2022
@jjallaire jjallaire added this to the 1.0 milestone Jun 9, 2022
@jjallaire jjallaire modified the milestones: 1.0, 1.0 Chores Jun 21, 2022
@eitsupi
Copy link
Contributor

eitsupi commented Jul 7, 2022

Would you also consider winget?

@cderv
Copy link
Collaborator

cderv commented Jul 7, 2022

Yes I think this could be considered to target a manifest in https://github.com/microsoft/winget-pkgs and maintain it.

@cderv
Copy link
Collaborator

cderv commented Jul 21, 2022

Quick update:

  • Quarto 1.0.35 is now on Winget : winget show quarto
  • Quarto 1.0.35 is now in Scoop extras bucket, which is available by default: scoop info quarto - no more need of a community bucket
  • Quarto 1.0.35 is soon to be available on chocolatey. The publication process is a bit tougher than the other with more checks, so it takes longer. I'll close this issue when it is available

@eitsupi
Copy link
Contributor

eitsupi commented Jul 26, 2022

FYI: winget upgrade quarto does not seem work. microsoft/winget-pkgs#67560

@cderv
Copy link
Collaborator

cderv commented Jul 26, 2022

Thanks for the report @eitsupi . I'll have a look. I may have missed some configuration for the upgrade process in winget.

@eitsupi
Copy link
Contributor

eitsupi commented Jul 26, 2022

The workaround is to exec winget install quarto again.
Thus, there should be little practical problem, but this looks a little odd.

@cderv
Copy link
Collaborator

cderv commented Jul 26, 2022

This should now be fixed in winget package repo.

@eitsupi
Copy link
Contributor

eitsupi commented Jul 27, 2022

It works now. Thanks!

@dpprdan
Copy link

dpprdan commented Jul 31, 2022

@cderv Since quarto releases are built with GHA, it might make sense to publish them to the winget repo with GHA as well? Have you seen https://github.com/vedantmgoyal2009/winget-releaser?

@cderv
Copy link
Collaborator

cderv commented Jul 31, 2022

Hi @dpprdan,

yes I have seen this project which if fairly new TBH, so I did not had time to automate new release to winget. It will definitely make sense at some point even if publishing to winget require most of the time manual inspection of the manifest. But this will be interesting so that I am not the only one to know how to publish. Anyway, process is manual for now, but this will be in the todo list.

@dpprdan
Copy link

dpprdan commented Aug 1, 2022

Sounds great. FWIW I have been manually updating manifests with https://github.com/microsoft/winget-create for some time now (for pgAdmin, RStudio and others) and it's been pretty smooth. Essentially I only had issues when I did not understand the manifest specs fully. Let me know if I can help out somewhere.

@jooyoungseo
Copy link
Collaborator Author

@cderv -- I've found that quarto v1.0.35 is now published in choco.

@cderv
Copy link
Collaborator

cderv commented Aug 16, 2022

yes it is. thanks for the comment. I wanted to wait to close this issue when I could push last version.
I just pushed 1.0.38 now, it should be available in the coming days. I was blocked by 1.0.35 not validated for a long time while new version was already out.

I still need to improve the automated process for all those bundles (winget choco and all). Currently for choco it is in https://github.com/quarto-dev/quarto-choco-bundle

I am closing this now that everything is in order with chocolatey.

@cderv cderv closed this as completed Aug 16, 2022
@dpprdan
Copy link

dpprdan commented Aug 17, 2022

@cderv Came across another GHA re winget the other day, maybe this is helpful.
via https://twitter.com/TechWatching/status/1558117992088715264
more details: https://www.techwatching.dev/posts/wingetcreate

@jmgirard
Copy link

The chocolatey installation of 1.0.38 has been working great for me. Thanks for the effort of enabling this.

@cderv
Copy link
Collaborator

cderv commented Aug 26, 2022

Awesome. Thanks for the feedback @jmgirard !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants