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

[Update Request]: Repology (multiple packages) #189886

Open
stephengillie opened this issue Nov 8, 2024 · 3 comments
Open

[Update Request]: Repology (multiple packages) #189886

stephengillie opened this issue Nov 8, 2024 · 3 comments
Labels
Help-Wanted This is a good candidate work item from the community. Package-Metadata

Comments

@stephengillie
Copy link
Collaborator

What type of update are you requesting?

A change to the package metadata

Current Package Identifier

Packages listed in Problems in winget

Package Version

(Various)

Please describe the changes you would like to see

This page holds data from Repology on bad links, redirect loops, HTTP -> HTTPS redirects, and other simple changes that should be made to humdreds of different manifests. Each page appears to hold 200 results, and there are numerous pages.

https://repology.org/repository/winget/problems

@stephengillie stephengillie added Help-Wanted This is a good candidate work item from the community. Package-Metadata labels Nov 8, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 8, 2024
@stephengillie stephengillie removed the Needs-Triage This work item needs to be triaged by a member of the core team. label Nov 8, 2024
@Trenly
Copy link
Contributor

Trenly commented Nov 10, 2024

I went through and fixed several of these issues many months ago. At this point, I'm not sure that Repology integration is even valuable for WinGet, since -

  1. The way that versions are stored here isn't really compatible with the way Repology tracks versions in other repositories. This leads to versions being listed as outdated - where WinGet wants to keep the old versions, they would need to be explicitly marked as legacy in the Repology ruleset. Every time a new version is added to WinGet, the newly outdated version would need a PR to be marked as legacy in Repology. Either that, or WinGet should only be keeping the latest version of packages, which seems to defeat part of the ideology of WinGet
  2. Repology was built for Linux tools, and many Windows packages are hidden by default. When I last checked, according to Repology we had 2220 packages, when in reality there should have been almost 6000 (5943). Detection rules for the missing packages would have to be submitted to Repology for the missing packages
  3. Packages being mismapped - Repology doesn't always map package IDs correctly, especially when the names are close. A rule has to be submitted to Repology to disambiguate the package
  4. Package versions not being marked as Dev / Alpha - Similar to the packages being mismapped, if a version is a dev version or an alpha version a new rule has to be submitted to Repology for that version or a regex match for a version pattern
  5. Adding rules to Repology is not straight forward - when I tried it seemed that there was a fair amount of tribal knowledge and lack of clear documentation or examples on which files rules needed to go into and how to update them to add the rules

I would strongly encourage @denelon and the team to rethink whether or not we even want to be listed on Repology, as it seems to cause more headaches than it is worth

@vedantmgoyal9
Copy link
Contributor

I think HTTP->HTTPS redirect possibility should be checked in Validation pipeline itself. Maybe create another issue to track this feature request for Validation pipelines?

@Trenly
Copy link
Contributor

Trenly commented Nov 10, 2024

I think HTTP->HTTPS redirect possibility should be checked in Validation pipeline itself. Maybe create another issue to track this feature request for Validation pipelines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help-Wanted This is a good candidate work item from the community. Package-Metadata
Projects
None yet
Development

No branches or pull requests

3 participants