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

Package Request: Chocolatey #21877

Closed
2 of 4 tasks
vanillajonathan opened this issue Jul 20, 2021 · 16 comments
Closed
2 of 4 tasks

Package Request: Chocolatey #21877

vanillajonathan opened this issue Jul 20, 2021 · 16 comments
Labels
Help-Wanted This is a good candidate work item from the community. Package-Request This is a request for a package (new or updated version)
Milestone

Comments

@vanillajonathan
Copy link

Package Requested

  • I would like someone else to build the manifest.
  • I would like help so I can submit the manifest.
  • I have performed a search and couldn't find this package.
  • I think there is a new version available and I have provided the URL.

Please provide the following information if you can:

Publisher: Chocolatey Software, Inc.

Publisher Url: https://chocolatey.org/

Package Name: Chocolatey

Package Url: https://chocolatey.org/

Description: Chocolatey is a machine-level, command-line package manager and installer for Windows software. It uses the NuGet packaging infrastructure and Windows PowerShell to simplify the process of downloading and installing software.

Package Version:

Installer URL: https://community.chocolatey.org/install.ps1

For new versions:

Current Package Identifier:

@vanillajonathan vanillajonathan added Help-Wanted This is a good candidate work item from the community. Package-Request This is a request for a package (new or updated version) labels Jul 20, 2021
@ghost ghost added the Needs: Triage label Jul 20, 2021
@Rolling2405
Copy link
Contributor

I think there would be no point to this since we have winget. Also Chocolatey is not moderated and managed by anyone so it is not reliable and safe like winget.

@vanillajonathan
Copy link
Author

Maybe Chocolatey have some packages that are not on WinGet.

@dertuxmalwieder
Copy link

Also Chocolatey is not moderated

Chocolatey is moderated. One of my packages is currently waiting for moderation.

@anborg
Copy link

anborg commented Jul 22, 2022

I think there would be no point to this since we have winget. Also Chocolatey is not moderated and managed by anyone so it is not reliable and safe like winget.

A classic ms entltiled attitude. That's one reason users must shy away from big corps on core tools like package managers. They relesed this half-baked tool that can't install softwares that a typical developer would use ... I wasted my time .. now have to go back to choco...

ms also advertises 'Please use 'crossplatform' powershell-core' - why would I use it and get stuck like this?!

@pauby
Copy link
Contributor

pauby commented Aug 3, 2022

As part of the Chocolatey Team, how do we go about getting Chocolatey published to Winget and ensure that only our team / automation can push updates?

We currently have two products we would push to Winget.

@pauby
Copy link
Contributor

pauby commented Aug 3, 2022

Also Chocolatey is not moderated and managed by anyone so it is not reliable and safe like winget.

That shows a complete lack of understanding of Chocolatey is a wholly incorrect statement. I'll leave it at that.

@SpecterShell
Copy link
Contributor

SpecterShell commented Aug 5, 2022

As part of the Chocolatey Team, how do we go about getting Chocolatey published to Winget and ensure that only our team / automation can push updates?

Installation methods that WinGet currently supports:

  • Download .exe/.msi installer and execute
  • Download single .exe executable and create symbolic link (user scope)

Installation methods that WinGet would support:

  • Download and extract .zip, execute .exe/.msi inside
  • Download and extract .zip, extract files and link executable(s) (user scope?)

AFAIK none of the above methods is known to be able to run .ps1 script at present. And it is not feasible to install choco as a .zip package since choco is usually working in machine scope (administrator) but WinGet can only install it in user scope (No idea if WinGet would add this feature in the future). So it is recommended to build a .exe/.msi installer, just like ChocolateyGUI.😉

EDIT: Another way is publishing Chocolatey to Microsoft Store so that WinGet will install it from msstore instead of WinGet repository.

ensure that only our team / automation can push updates

Yes. You can call moderaters when needed. Once verified, you can add agreements to the manifest, which cannot be added by others.

We currently have two products we would push to Winget.

ChocolateyGUI already exists here. I'm curious that what another product is. (Boxstarter?) 🤔

@pauby
Copy link
Contributor

pauby commented Aug 9, 2022

We're looking to add Chocolatey CLI and I understand the caveats about installation method above. We would also like to take over 'official maintenance' of ChocolateyGUI.

@ohkeenan
Copy link

As part of the Chocolatey Team, how do we go about getting Chocolatey published to Winget and ensure that only our team / automation can push updates?

We currently have two products we would push to Winget.

As someone who just tried to install chocolatey via winget I greatly appreciate your efforts! I'm looking for the bitwarden-cli specifically which Chocolatey has but winget does not, unless I'm mistaken.

@Andrej730
Copy link
Contributor

@pauby any updates on chocolatey cli on winget?

@pauby
Copy link
Contributor

pauby commented Feb 10, 2023

Yes and no. There is an MSI installer in testing. We should have everything wrapped up (which is not just testing) soon.

@denelon
Copy link
Contributor

denelon commented Feb 17, 2023

@pauby, we're working on a "verified developer" feature to restrict changes to packages to a GitHub user. The business process is the long-lead issue. We've got a PowerShell script in PR to help until all of the wiring and business process are in place.

The script is to help our moderators track PRs. It's certainly not foolproof, but it's a start.

@denelon
Copy link
Contributor

denelon commented Feb 17, 2023

@ohkeenan is winget install Bitwarden.Bitwarden not the same bitwarden-cli you are referring to?

@x545
Copy link

x545 commented Jun 1, 2023

choco upgrade chocolatey worked for me

@pauby
Copy link
Contributor

pauby commented Jun 6, 2023

Chocolatey CLI 2.0.0 has just been approved. Just waiting on the updating of the community repository.

Note that this is being pushed manually currently until we are happy that our customers and community are happy with it.

I think this can be closed?

@ohkeenan
Copy link

ohkeenan commented Jun 6, 2023

@denelon I think it likely is but installing the entire package wasn't what I was looking to do.
@pauby having Chocolatey on winget is going to be lovely thank you.

@denelon denelon closed this as completed Jun 6, 2023
@denelon denelon added this to the 1.7 Packages milestone Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help-Wanted This is a good candidate work item from the community. Package-Request This is a request for a package (new or updated version)
Projects
None yet
Development

No branches or pull requests

10 participants