Hsiao-nan Cheung
79cf33d0b7
refactor(download): Move download-related functions to 'download.ps1' ( #6095 )
2024-08-11 17:23:59 +08:00
Chawye Hsu
23d55ced72
fix(scoop-search): Catch error of parsing invalid manifest ( #5930 )
2024-05-01 00:52:49 +08:00
Hsiao-nan Cheung
2dd91d5ba3
feat(sqlite): Use SQLite for caching apps to speed up local search ( #5851 )
2024-04-19 14:02:50 +08:00
Richard Kuhnt
b3c05e71fa
perf(scoop-search): Improve performance for local search ( #5644 )
...
* perf(search): improve local search performance
* Update libexec/scoop-search.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-search.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-search.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-search.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-search.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Update libexec/scoop-search.ps1
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* Added [JsonDocument]::Parse for testing
* Fix array length check
* Used wrong function
* Add fallback function for PowerShell 5
* Check for System.Text.Json in Assemblies instead
* Show help output
* Revert "Show help output"
This reverts commit d3d6b01d08 .
* Update CHANGELOG.md
---------
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com >
2023-10-03 19:35:45 +05:30
Rashil Gandhi
847756bd1e
refactor(scoop-search): Output PSObject, use API token ( #4997 )
...
* refactor(scoop-search): Output PSObject, use API token
* warn about parsing error
* Update CHANGELOG.md
* Update scoop-search.ps1
* Apply suggestions from code review
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
* separate lines
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-06-21 11:48:58 +05:30
Xuesong
8140a2052c
fix(scoop-search): Require files in 'bucket' dir for remote known buckets ( #4944 )
2022-05-24 18:49:28 +08:00
Hsiao-nan Cheung
6296822f1f
perf(scoop): Load libs only once ( #4839 )
2022-04-21 21:34:26 +08:00
Hsiao-nan Cheung
5a795caca5
refactor(reset_aliases): Move core function of reset_aliases to scoop ( #4794 )
2022-03-11 18:10:04 +08:00
zStruCat
43d5e99705
fix(scoop-search): Remove redundant 'bucket/' in search result ( #4773 )
...
* fix remote search
* add hint
* tweak
* docs(changelog): Update CHANGELOG
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com >
2022-03-07 15:43:30 +05:30
HUMORCE
63b858c41f
style: Use correct casing for $PSScriptRoot ( #4775 )
2022-03-04 22:55:45 +08:00
Hsiao-nan Cheung
77d00d1771
refactor(versions): Refactor 'versions.ps1' ( #3721 )
...
Co-authored-by: Jakub Čábera <cabera.jakub@gmail.com >
Co-authored-by: David Duque <david.f.s.duque@tecnico.ulisboa.pt >
2021-11-14 00:44:58 +08:00
Richard Kuhnt
4ec576a859
refactor(bin/libexec): remove config.ps1 imports
2019-05-10 12:16:36 +02:00
Jakub Čábera
56d54d1c91
feature: Prepare extraction of main bucket ( #3060 )
...
- Add preparing changes for extracting the main bucket to https://github.com/scoopinstaller/scoop-main
- Download main bucket on installation
- Add check_main_bucket function
- Add main bucket to buckets.json
- Add docker-compose.yml with default debugging image
- Remove old TODOs
- Refactor bucketdir -> Find-BucketDirectory
- Remove redundant .vscode settings
2019-04-24 21:08:53 +02:00
Jakub Čábera
f8c4d174a8
[buckets] Get back to if ( #3351 )
2019-04-21 20:48:26 +02:00
Jakub Čábera
4a2f3bbfe8
fix ( #3350 )
...
[Regression] Fix search after buckets optimize
2019-04-21 20:14:34 +02:00
Jakub Čábera
4463514948
[buckets] Optimize buckets function ( #3341 )
...
* Optimize buckets function
* Use Verb-Noun naming
* Add Show-DeprecatedWarning function to core
2019-04-21 13:02:19 +02:00
Chawye Hsu
f1dbdc16d2
scoop-search: add config.ps1 to load proxy settings ( #2911 )
2018-12-17 05:57:41 -08:00
Chawye Hsu
e1bb1e91d0
Lint: PSAvoidUsingCmdletAliases ( #2075 )
2018-03-03 18:41:19 +01:00
Luke Sampson
06ecaa87c1
Fix remote search doesn't show full app name. ( fixes #1612 )
2017-07-20 16:53:18 +10:00
Luke Sampson
e8e5ac5615
Update more UI messages for consistency.
2017-02-13 20:53:36 +11:00
Luke Sampson
1c173bc56d
Use sentence case for UI messages.
2017-02-13 20:20:41 +11:00
mrkishi
e306114063
Notify empty results for scoop-search
2017-01-31 00:50:51 -02:00
Luke Sampson
ab51d469f4
make search case-insensitive ( fixes #1250 )
2017-01-23 07:54:15 +11:00
wangzq
92d75884f3
#864 Fix following issue when searching on a new Win10 ( #865 )
...
invoke-webrequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
2016-05-25 09:20:54 +10:00
Simon Hartcher
bea3189583
Add ability to search known buckets that haven't been added locally
...
By using githubs api we can search known buckets that haven't been added
to the local scoop instance. When a local search doesn't return any
results, other known buckets will be searched via github. If the rate
limit has been reached (60 per hour as of impl) the search won't occur.
2016-01-24 17:57:06 +11:00
Luke Sampson
bf024705a8
search: better handling for invalid query ( fixes #634
2016-01-14 17:16:00 +10:00
Roy Ivy III
6d9bca805f
whitespace cleanup
...
* makes changes to almost all main repo files to be in accordance with .editorconfig
* some files in "test\fixtures\..." were left alone to avoid breaking tests
* NOTE: whitespace changes *only* (`git diff -b` shows no changes)
2015-08-17 22:54:43 -05:00
Luke Sampson
bc1a8e4945
brute force fix for powershell alias problems
2015-05-11 20:17:59 +10:00
Luke Sampson
4d1b817731
fix for scoop search when an app contains a bin alias with no arguments (see lukesampson/scoop-extras#56 )
2014-12-24 11:09:27 +10:00
Luke Sampson
b4ab131d91
add proxy support, see #86
2014-05-12 12:42:55 +10:00
Luke Sampson
2d60282155
fix search so it includes bin matches from buckets other than main
2013-12-03 19:29:39 +10:00
Luke Sampson
7382e17561
convert spaces to tabs
2013-08-15 13:05:00 +10:00
Luke Sampson
01fa31e0f7
scoop search: show matching bin if applicable so that it's obvious why the app matches the query
2013-08-12 16:53:44 +10:00
Luke Sampson
82f8948869
make scoop search match bin files as well as app names
2013-08-12 15:02:53 +10:00
Luke Sampson
7189606518
scoop list [query]
2013-08-09 13:25:44 +10:00
Luke Sampson
b4d7cf3c17
refactor for buckets
2013-08-08 10:39:31 +10:00
Luke Sampson
b852236bd7
start on scoop search for buckets, fix a few places where latest_version was used instead of current_version
2013-08-07 16:24:55 +10:00
Luke Sampson
4ec238ed36
use scoop-*.ps1 for libexec
2013-07-18 12:51:15 +10:00