Repository navigation
feat: Winget & Windows install docs - #10073
Conversation
pjmagee
commented
Apr 4, 2025
- add winget to goreleaser
- add winget install
- improve powershell command
- fix invalid 'development' install example
- add winget to goreleaser - add winget install - improve powershell command - fix invalid 'development' install example Signed-off-by: Patrick Magee <[email protected]>
|
@levlaz - The reason why 'winget install Dagger.Cli' worked for you - is my manual installations. I would like to get this merged in and have it as part of the official goreleaser process This will mean i can delete/remove the following: https://github.com/pjmagee/dagger-winget-release (my 1 click lazy release latest version to winget) |
| The simplest way to install Dagger on Windows is using the Windows Package Manager: | ||
|
|
||
| ```powershell | ||
| winget install Dagger.Cli |
There was a problem hiding this comment.
Just to check - does this work, even without pointing it to github.com/dagger/winget? How does namespacing work here?
There was a problem hiding this comment.
Is the intention that this automatically PR to the main winget repo? I think if so, we need to use the pull_request section.
There was a problem hiding this comment.
The winget install Dagger.Cli already works right now, with no 'config' needed by a windows OS user out of the box right now. I'm maintaining the published winget manifest - which points to the dagger zip releases. the manifest is i guess 'namespacing'? maybe i dont understand what you mean by namespacing.
but it's under windows community winget repository /d/Dagger/Cli/manifests
There was a problem hiding this comment.
ah, i was not aware of the pull_request section.
There was a problem hiding this comment.
fixed up the repository section with pull request and the microsoft pgks repository
jedevc
left a comment
There was a problem hiding this comment.
Looks good to me! Will follow internally about getting the winget repo created!
no need to create a repo unless you need to host a private one - but its recommended to just add to the community registry since no additional work or config by a dev is needed, just run the command and it will work for them. I imagine this goreelase winget auto points to the microsoft one? |
|
@pjmagee the section at https://github.com/dagger/dagger/pull/10073/files#diff-42e26dc67aed8aa3edb2472b4403288c1699fb6dc47419b9a475f0f224fe4689R57-R59 is actually overriding the repository to publish to. So this actually won't push anything to the community registry as currently configured. |
Ohhh, maybe its as simple as just me removing those lines even?? |
f052310 to
d4b0c98
Compare
|
Do we need to do anything for the default |
|
@wingyplus any thoughts? Not sure if I missed anything. I'm hoping with latest commit it is enough to publish to microsoft winget pkgs repo for us |
d4b0c98 to
54412d6
Compare
- fix extra space - added pull_request Signed-off-by: Patrick Magee <[email protected]>
54412d6 to
8e47b7a
Compare
|
Okay, so I followed the information in https://goreleaser.com/customization/homebrew/#pull-requests and added some more parts to the template. Hopefully seems good to you - looks like we need to set up a fork of winget-pkgs, so we can create a PR from there (since we can't push direct to a microsoft repo). |
okay that makes sense yes, winget create (behind the scenes) with github token will create the branch and raise a PR on the public repo. |
|
Cool, let's see how this goes. Thanks @gerhard for setting up https://github.com/dagger/winget-pkgs 🎉 |