Waterfox icon indicating copy to clipboard operation
Waterfox copied to clipboard

Publish to Windows Package Managar (WinGet)

Open vedantmgoyal9 opened this issue 3 years ago • 4 comments

This action automatically generates manifests for WinGet Community Repository (microsoft/winget-pkgs) and submits them.

Before merging this:

  1. Please add a GitHub token with public_repo scope as a repository secret and rename the secret name in the workflow.
  2. Fork microsoft/winget-pkgs under @waterfoxco

The token in release.yml is changed because GitHub Action does not trigger WinGet workflow if the release is published by GitHub Action Bot.

vedantmgoyal9 avatar May 07 '22 09:05 vedantmgoyal9

@MrAlex94 @adamp01 does anyone have time to look into my pull request? It has been 2 months but there hasn't been any response from any of the maintainers.

vedantmgoyal9 avatar Jul 25 '22 06:07 vedantmgoyal9

Sorry for the delayed response! I did a big rework of the workflows, with the idea of making package manager uploads easier.

I will be honest that I am hesitant to use an action that isn’t well used and/or slightly obfuscated (seems your action only has the dist output in the repo). Supply chain attacks are more common nowadays, but I will take a look and potentially use Microsoft’s native tools.

MrAlex94 avatar Aug 04 '22 17:08 MrAlex94

I think you were looking for source code which is present in the root of the project https://github.com/vedantmgoyal2009/winget-releaser/blob/main/main.ts and not in an src directory separately.

The action is relatively new, and hence the number of people, who are using the action, is not very large.

Gradually, when they'll become aware of there's some action that makes publishing to WinGet easier, they might want to use it but till then I'm manually creating PRs to add the action to the repos so that the latest release of the software is available in WinGet as soon as it is released.

Also, many developers don't know about WinGet, or they prefer chocolatey over WinGet, or they don't want to take the burden of publishing their software to various package managers, therefore it is also one of the reasons that it seems the action is used by very few number of people.

vedantmgoyal9 avatar Aug 05 '22 14:08 vedantmgoyal9

@MrAlex94 hello?

vedantmgoyal9 avatar Sep 03 '22 05:09 vedantmgoyal9

@MrAlex94 Should I update the PR to switch to one of the Microsoft tools?

vedantmgoyal9 avatar Feb 19 '23 04:02 vedantmgoyal9

Sorry for the delay - if you could get this patch to not use any external actions, I'd be happy to merge.

MrAlex94 avatar Nov 07 '23 11:11 MrAlex94

This has been superseded by the community doing it, but will look into making it automated.

MrAlex94 avatar Dec 21 '23 14:12 MrAlex94

@mralex94 can you please re-open? it got missed from my todo-list somehow, but your closing of pr triggered a notification. Will update it to use microsoft wingetcreate, as soon as possible.

vedantmgoyal9 avatar Dec 22 '23 00:12 vedantmgoyal9