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

append default filters to hide typically-irrelevant packages from search results of the Community Repository #286

Closed
2 tasks done
davidem00 opened this issue Nov 17, 2023 · 7 comments
Labels
Invalid / Not Issue / No repro / Not Implementing Tickets related to things that are invalid or are unable to be reproduced.

Comments

@davidem00
Copy link

davidem00 commented Nov 17, 2023

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my request.

Is Your Feature Request Related To A Problem? Please describe.

The top Popular items in so many search results of the Community Repository, especially the broad searches, have an overrepresentation of packages that should not be installed, anymore for various reasons. Many of the products are Obsolete, Deprecated, Broken (not just the package, but the product itself - or at least the current version - is non-functional), Discontinued, EOL, EOS, Unsafe, or otherwise abandoned in some way.

The top page of the default "All Results" search is telling. Doesn't exactly look like what one imagines a "Store" to look like, in terms of what is of interest, worth perusing. Flash, ActiveX, Win8 KB patches, an old Google Drive distribution, Silverlight, etc.

Describe The Solution. Why is it needed?

It would be good if the public package browser page applied some additional filter options, to find popular packages, find by category, but hide "irrelevant" results by (duplicates, deprecated, EOL, etc).

Default to append a set of "standard" tag filters to Community Repository web searches to filter out packages marked/tagged as Obsolete, Deprecated, Broken, Unsafe, et al from searches.

Also allow those search modifiers to be specified as user options to be appended to all repo searches via the command line.

Additional Context

The appended options should not be invisible, but explicitly appended to the terms the user gives manual, disableable by a tick box, perhaps, akin to how pre-releases are normally suppressed.

Related Issues

chocolatey/choco#3361 to provide working, multi-type criteria searches that combine tag searches (and more importantly, exclusions) with regular keyword searches.

@pauby
Copy link
Member

pauby commented Nov 17, 2023

Many of the products are Obsolete, Deprecated, Broken (not just the package, but the product itself - or at least the current version - is non-functional), Discontinued, EOL, EOS, Unsafe, or otherwise abandoned in some way.

Default to append a set of "standard" tag filters to Community Repository web searches to filter out packages marked/tagged as Obsolete, Deprecated, Broken, Unsafe, et al from searches.

We need to be clear on the terminology here. The Chocolatey Community Repository works with packages, not products. If a package is EOL or deprecated, it will be be reflected in the title.

packages marked/tagged as Obsolete, Deprecated, Broken, Unsafe,

There is no 'Obsolete' or 'Unsafe' status of a package. And tags are part of the package metadata set by the maintainer.

Given we don't have the statuses that you mention, and I can see no way for us to determine them from the information we have (perhaps EOL or Deprecated) and packages are not tagged by the repository itself, but maintainers, I can't see what we can implement out of this issue?

@davidem00
Copy link
Author

I'm suggesting that these be indicated with tags, rather than separate state variables.
I would think enough of the maintainers, even if not all, would be amenable to adding some tags to the relevant packages, starting at "the top" of the Popularity list

@davidem00
Copy link
Author

wrt the terminology, I purposely made a distinction between a package and the underlying product itself to distinguish a "broken package", i.e., the package fails to install (for most anyway), from a "broken product" where a package that installs successfully, but whose installed product is non-functional.

@pauby
Copy link
Member

pauby commented Nov 17, 2023

I'm suggesting that these be indicated with tags, rather than separate state variables.
I would think enough of the maintainers, even if not all, would be amenable to adding some tags to the relevant packages, starting at "the top" of the Popularity list

Encouraging maintainers to use a set of tags that haven't been defined isn't something that we are or are likely to work on. This has been talked about from time to time with repositories such as the Chocolatey Community Chocolatey Packages repository but nothing has been implemented. Even if it were, this isn't applicable to other maintainers.

wrt the terminology, I purposely made a distinction between a package and the underlying product itself to distinguish a "broken package", i.e., the package fails to install (for most anyway), from a "broken product" where a package that installs successfully, but whose installed product is non-functional.

I appreciate the distinction. The Community Repository deals with packages though, not products. A non-functional product has many definitions. If a package installs correctly, then it's a functional package.

@davidem00
Copy link
Author

are only a limited predefined set of tags that can be used on packages, or are Maintainers free to apply any terms they see fit?

@pauby
Copy link
Member

pauby commented Nov 18, 2023

Tags are not predefined so maintainers can add whatever seems appropriate for their package.

@pauby pauby added the 0 - Waiting on User Waiting on a response from either a commenter or ticket creator. label Dec 23, 2023
@pauby
Copy link
Member

pauby commented Dec 23, 2023

There has been no update to this in some time, so I'm going to go ahead and close this, but we can reopen it if necessary.

@pauby pauby closed this as not planned Won't fix, can't repro, duplicate, stale Dec 23, 2023
@pauby pauby added Invalid / Not Issue / No repro / Not Implementing Tickets related to things that are invalid or are unable to be reproduced. and removed 0 - Waiting on User Waiting on a response from either a commenter or ticket creator. labels Dec 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid / Not Issue / No repro / Not Implementing Tickets related to things that are invalid or are unable to be reproduced.
Projects
None yet
Development

No branches or pull requests

2 participants