-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Release Builds on WinGet Pkgs #5640
Comments
This will need to have a downloadable .exe or .msi installer, available from a single link. https://github.com/microsoft/winget-pkgs#authoring-a-manifest
Currently the recommended installation method is to use https://deno.land/x/install/install.ps1, which is a PowerShell script, not an exe/msi installer, so it's not usable in winget manifest. Actually, and as @MarkTiedemann explained in this comment, there is an exe file available in deno github releases, but it's not really an installer (just the deno executable), and it's inside a zip file, so we can't download it directly as winget manifest wants. Related issue #5727 |
For reference, there's a list of supported package managers here: https://github.com/denoland/deno_install#install-via-package-manager @alexandregv is right. Currently WinGet does not support simply downloading an exe in a zip, but requires an installer. There is a related issue regarding installing Might be good to open another upstream issue for allowing binary "installations". PS: I'd recommend using Scoop to install Deno on Windows. It's always up-to-date, it allows you to install different versions of Deno, and uninstall is just a single command as well. |
Just had another look and found a bunch of related upstream issues:
So time to get a coffee and wait for Microsoft to fix this. :) |
On a related note, I think this issue could be moved to https://github.com/denoland/deno_install. cc @bartlomieju |
@MarkTiedemann how about creating an MSI installer for Deno? If such a PR is issued, is there any principal reason for it to be rejected? |
In general, I think that's a good idea and it's definitely a fix for this issue, though, as mentioned in the comments above, I do think that WinGet should just support plain executables rather than requiring an installer, and so I'd rather have this specific issue fixed upstream. That being said, it's, of course, still a good idea to create a GUI installer. I think the main reason for doing that would be to be more beginner friendly. As witnessed in #5727, people may not expect Deno to just be an (Another potential "fix" for that problem would be to educate people that an installer in the classical sense isn't really needed. There's an issue for that in I think there's also a question of scope: Then there's a couple of questions in regards to "How do you actually build the installer?". Which languages? Which tools do you use? What's the build process? Do we need to sign the installer? And if so, how do we sign it? etc. PS: I have previously started a
I don't accept nor reject PRs so that's not a question I can answer. I'd gladly help review, but ultimately that's up to @ry, @piscisaureus and @bartlomieju to decide, I guess. |
Just FYI: Today Microsoft is releasing winget as GA. |
While winget is v1 now, it still doesn't support standalone binaries. The linked upstream issues are unresolved. The related v0.18.x milestone for standalone binaries was closed 23 days ago with 0% complete. |
Probably https://wixtoolset.org/ can help to do the job. It help to make good installers. |
@josuemb Why should we create an installer if winget plans to support standalone binaries in future? Again, this issue is blocked upstream. |
Looks like microsoft has added standalone executables to their manifest spec in the latest release. |
@josh-hemphill This will be available in the next release (v1.3.x), scheduled for July 31, 2022 . Probably a good time to look at this issue. From winget-cli/milestone/37: Notable features:
Moved to 1.4
The release candidate is available here |
Thanks, @dhruv-tech. Then we'll have to wait until v1.4 since Deno's executable is shipped in a .zip file. |
Last week, Winget 1.4 is released as stable. So should we submit the package to winget? Edit: Ah it is 'stable' but not 'Generally Available'. sorry! |
Yep, I tested |
Deno is now available as an official package: https://github.com/microsoft/winget-pkgs/tree/master/manifests/d/DenoLand/Deno You can install it with
Note that changes to the I think this issue can be closed now. @dsherret |
The documentation wasn't updated; there's no mention of an option to install via winget: https://deno.land/[email protected]/getting_started/installation Also, the version available via winget is 1.30.3, while the latest is 1.32.3. |
Because Winget community package repository is being maintained by community users. As it need to submit the manifest by every update. Some of other programs are using some github actions(or something like that) for auto-pr on release. (Like this action) I think Deno Land should care this. |
We removed the winget command from the manual because the package is out of date in winget registry denoland/docs#63 |
Deno on winget is currently updated automatically by a GitHub action written by a winget contributor (Thanks @CoolPlayLin!). I think this issue can be closed. |
@kt3k Any of version will be published by my bot using github action in one hour when it has been released. The merging of it would take time. So, you shouldn't remove winget command. |
It should really be part of Deno's own github actions, so the Deno team feels comfortable listing it in official docs. I made sure that winget's I really don't see any reason it shouldn't be added to the main repo. 🤷 |
Not sure if it makes sense to add that maintenance burden. None of the other package managers are created or updated by the core team. So if they start with winget, where do they draw the line? |
@CoolPlayLin @lilnasy Thanks for pointing it! We misunderstood the situation because |
@CoolPlayLin Thank you! |
Please add support for WinGet Packages releases.
Details on how to available here: https://github.com/microsoft/winget-pkgs
The text was updated successfully, but these errors were encountered: