scoop-search icon indicating copy to clipboard operation
scoop-search copied to clipboard

search from other known buckets

Open beerpiss opened this issue 2 years ago • 0 comments

This PR uses the GitHub API to search packages from other known buckets:

scoop-search on  master [!?] via 🐹 v1.18.1 
❯ .\scoop-search.exe cascadia
Results from other known buckets...
(add them using 'scoop bucket add <name>')

'nerd-fonts' bucket (install using 'scoop install nerd-fonts/<app>'):
    Cascadia-Code
    CascadiaCode-NF-Mono
    CascadiaCode-NF

This has been a feature in scoop since 2016 (ScoopInstaller/Scoop#658):

scoop-search on  search-other-known-buckets [!?] via 🐹 v1.18.1 
❯ scoop.ps1 search cascadia
Results from other known buckets...
(add them using 'scoop bucket add <name>')

'nerd-fonts' bucket (install using 'scoop install nerd-fonts/<app>'):
    Cascadia-Code
    CascadiaCode-NF-Mono
    CascadiaCode-NF

Deviations from scoop

Can be reversed if you want to.

  • Online search ends early if the ratelimit is reached midway. I know this isn't the same behavior as scoop search, but please consider accepting it anyway, online search is useless when API limit hits anyway.
  • ~~Uses gh_token in scoop's config if available, for higher rate limits~~ Removed as it fails the goal of behaving the same as scoop search.

beerpiss avatar May 14 '22 06:05 beerpiss