Replies: 12 comments
-
And is there some way for us to automate this process? |
Beta Was this translation helpful? Give feedback.
-
@mkaply The full installers are definitely ideal and should replace the existing stub listing (Chrome and Edge already use their full MSI installers). As far as I can tell, there is no way to automate updating the links on listings like chocolatey and scoop can. Due to this limitation in winget I think it would be best to add the 68.8.0 ESR alongside the current 76.0.1 installer. |
Beta Was this translation helpful? Give feedback.
-
Additionally, I am still unsure about the best practices on writing these YAML files. The "good" and "better" examples on the Microsoft Docs page do not include the same fields as what the generator tool in the repo and in the MS Store include. I hope the developers can clarify this. |
Beta Was this translation helpful? Give feedback.
-
Do you have a link to the complete docs? Wondering how to pass command line parameters. |
Beta Was this translation helpful? Give feedback.
-
@mkaply if your full fat installer is msi/msix or nullsoft/innosetup then you don't want to pass any switches. If it is an exe where you need to provide switches (sometimes an exe doesn't if you check your manifest with
For some reason both are identical. I recommend the generator from https://github.com/microsoft/winget-pkgs/blob/master/Tools/YamlCreate.ps1 for getting started. |
Beta Was this translation helpful? Give feedback.
-
in this case for 76.0.1
|
Beta Was this translation helpful? Give feedback.
-
on the other hand, it looks like the ESR listing in winget uses an MSI made explicitly for enterprise use, so I don't think it needs any changes. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
This issue was closed by #1278 |
Beta Was this translation helpful? Give feedback.
-
@mhowell-mozilla we would be happy to work through an automated way for Firefox to "auto-publish" PRs, or have comments added in the manifest to help user submission as versions change. The desire is to be able to support the installation of an explicit version for developer scenarios. User scenarios might benefit from a different approach, and we're happy to discuss options. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply. To be clear, I'm totally in favor of listing individual versions as long as there's a default that always pulls the latest version, which does seem like how the CLI works here, so I don't see any issue. I wouldn't be the one to make this decision (I'm engineering owner for the installers, but I'm not really involved in build or release engineering), but my guess is that we would not get involved in maintaining our own automation for manifest generation and submission, just as we don't tend to provide our own packages for other kinds of package managers. I'd be happy of course to give advice, or if it would help to provide a commented example manifest, I can do that. |
Beta Was this translation helpful? Give feedback.
-
I think, I've successfully automated the deployment of most FF versions (Stable, Developer & ESR) (see https://github.com/microsoft/winget-pkgs/blob/master/manifests/Mozilla/Firefox/77.0.yaml for example). However, I need to monitor that until the next release, because sometimes, our internal routine is going crazy. |
Beta Was this translation helpful? Give feedback.
-
Currently the Mozilla/Firefox/75.0 manifest is downloading a "stub" installer for Firefox, which is an installer that's really only intended to be run interactively and not in a package manager or other automation context. There are a few specific downsides to using the stub here:
We (Mozilla) also package "full" installers, which do contain a specific version and architecture of Firefox, have a silent mode, and support other command-line customization options. They're a lot more like what the packages I'm seeing here for other applications use, and they're designed to be suitable for automated scenarios like package management. These can be downloaded from here, or from our archive site (the easier choice for building a URL from a script, for instance).
I don't want to send a PR right away because I'm not sure of the best approach; I'm guessing it would be a bad idea to just swap out the URL (and hash) in an existing manifest file, but since there's a newer version available already (75.0.1), could just making a new manifest for it that uses its full installer be a complete enough solution?
Beta Was this translation helpful? Give feedback.
All reactions