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

Alternate URLs are needed for packages too, not just winget sources #3074

Open
R-Adrian opened this issue Mar 14, 2023 · 2 comments
Open

Alternate URLs are needed for packages too, not just winget sources #3074

R-Adrian opened this issue Mar 14, 2023 · 2 comments
Labels
Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.

Comments

@R-Adrian
Copy link

R-Adrian commented Mar 14, 2023

Description of the new feature / enhancement

in pull request #2970 support was added for alternate URLs for some of winget's sources, but we also need support for alternate URLs for packages too.

e.g. LibreOffice and issue microsoft/winget-pkgs#99420

  • the main download URLs should be on https://download.documentfoundation.org/libreoffice/stable/ - this download repository is served via a CDN, but only contains the last 3 (or so) releases

  • winget seems to have decided to (ab)use the https://downloadarchive.documentfoundation.org/libreoffice/ repository because this one contains all the LibreOffice releases. The problem with this one is that the downloadarchive is NOT served via a full CDN, but most files are served directly by a single server at The Document Foundation. As a result, it is lately suffocated with download requests, to the point it has become very slow to use.

Proposed technical implementation details

It is needed some sort of "alternate url" to be able to specify for winget to use when downloading packages (LibreOffice in this sample case)

Also please add support to customize the retry counter, with a default of 3 retries.

@R-Adrian R-Adrian added the Issue-Feature This is a feature request for the Windows Package Manager client. label Mar 14, 2023
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage Issue need to be triaged label Mar 14, 2023
@denelon denelon removed the Needs-Triage Issue need to be triaged label Mar 14, 2023
@Masamune3210
Copy link

Not really winget "abusing" by using the wrong url, especially since it's a community repo and anyone could have added it

@Trenly
Copy link
Contributor

Trenly commented Jun 16, 2023

[Policy] Area-Manifest

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Manifest This may require a change to the manifest Issue-Feature This is a feature request for the Windows Package Manager client.
Projects
None yet
Development

No branches or pull requests

4 participants