40 Commits

Author SHA1 Message Date
Hsiao-nan Cheung ebd8c036fa chore(release): Bump to version 0.5.3 (#6257)
* fix (decompress): `Expand-7zipArchive` only delete temp dir / `$extractDir` if it is empty (#6092)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>

* refactor(download): Move download-related functions to 'download.ps1' (#6095)

* fix(download): Fallback to default downloader when aria2 fails (#4292)

* fix(commands): Handling broken aliases (#6141)

* fix(shim): properly check `wslpath`/`cygpath` command first (#6114)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>

* fix(scoop-bucket): Add missing import for `no_junction` envs (#6181)

Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>

* docs(chglog): Update to 0.5.3 (#6258)

* perf(shim): Update kiennq-shim to v3.1.2 (#6261)

* fix(decompress): Replace deprecated 7ZIPEXTRACT_USE_EXTERNAL config (#6327)

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>

* fix(scoop-uninstall): Fix uninstaller does not gain Global state (#6430)

* global arg

* changelog

* refactor(Get-Manifest): Select actual source for manifest (#6142)

* first step

* Revert "first step"

This reverts commit c5907c3e25.

* refactor(Get-Manifest): Select actual source for installed manifest

* rework sub-commands, `scoop-depends` is NOT working at this stage

* URI manifest

* opt

* deprecated manifest

* source of manifests

* source of manifest pt2

- Mark URI(path/URL/UNC/etc.) query as standalone manifest
- Drop `installed` and `available update` items for [query] and [installed] are different sources.

* remove variable preventing I forget it

* scoop-info: fix source of manifest on bucket

* fix `scoop-depends`

* Fix Standalone and Source detection

* fix global install

* Fix scoop-cat, scoop-home

- Query for remote manifest

* scoop-list: info +deprecated

* manifest: Fix first selected manifest

* gramma..

* Fix 61b3259

* length

* fix(scoop-depends-tests): Mocking `USE_EXTERNAL_7ZIP` as $false (#6431)

* fix(scoop-depends-tests): Mocking `USE_EXTERNAL_7ZIP` as $false to avoding error when it is $true

* CHANGELOG

* feat(autoupdate): GitHub predefined hashes support (#6416)

* feat(autoupdate): predefined hash case for GitHub

- Remove `sha256:` prefix in `format_hash()`
- Add GitHub support in `get_hash_for_app()`

Close #6381

* doc(chglog): GitHub auto hash update

* fix(autoupdate): remove prefix only

* docs(CHANGELOG): Update to 0.5.3 (#6432)

* docs(CHANGELOG): Update to 0.5.3

* 6416

---------

Signed-off-by: Chawye Hsu <su+git@chawyehsu.com>
Co-authored-by: Olav Rønnestad Birkeland <6450056+o-l-a-v@users.noreply.github.com>
Co-authored-by: kiennq <kien.n.quang@gmail.com>
Co-authored-by: HUMORCE <humorce@outlook.com>
Co-authored-by: Ryan <sitiom@proton.me>
Co-authored-by: Chawye Hsu <su+git@chawyehsu.com>
Co-authored-by: Bassel Rachid <101208715+basselworkforce@users.noreply.github.com>
Co-authored-by: Wordless Echo <wordless@echo.moe>
2025-08-11 00:38:38 +00:00
Hsiao-nan Cheung 92b71c6057 refactor(core): Get rid of 'fullpath' (#3533) 2024-04-10 14:55:20 +08:00
Richard Kuhnt 360daa706a feat(chore): Improve git.exe execution and add parallel bucket updates (#5122) 2022-11-23 13:58:51 +08:00
Rashil Gandhi 4d261e7349 feat(scoop-status): Add flag to disable remote checking (#5073)
* feat(scoop-status): Add flag to disable remote checking

* changelog

* Add `break` to stop checking rest of the buckets

* change flag name to `--local`

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-08-04 08:35:28 +05:30
L. Yeung 664e667bed fix(scoop-status): Correct formatting of Info output (#5047)
* fix(scoop-status): Correct formatting of `Info` output

* Update CHANGELOG.md
2022-07-15 11:38:30 +05:30
Rashil Gandhi 6629331799 feat(scoop-status): Check bucket status, improve output (#5011)
* feat(scoop-status): Check bucket status, improve output

* Update CHANGELOG.md
2022-06-22 15:40:24 +05:30
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
HUMORCE 63b858c41f style: Use correct casing for $PSScriptRoot (#4775) 2022-03-04 22:55:45 +08:00
HUMORCE 0cb6152e1a fix(scoop-bucket): Fix date formatting issues with git bucket(s) (#4759) 2022-02-25 11:32:50 +08:00
Rashil Gandhi 8c02776c6c refactor(git): Remove unused functions (#4703)
* refactor(git): Remove unused functions

* unused imports
2022-02-01 11:37:44 +00:00
HUMORCE 5b0bdaf893 refactor(git): Use 'git -C' to specify the work directory instead of 'Push-Location'/'Pop-Location' (#4697)
* add `git_cmd`

-without any preset command/args

* remove unnecessary import

- `git.ps1`

* stop `Push-Location` and `Pop-Location` before/after git operations

* stop `Push-Location` and `Pop-Location` before/after git operations

* consistency of naming variable

* CHANGELOG

* punctuation mark

* remove functions that are no longer used

- `git_fetch`
- `git_pull`
- `get_checkout`
2022-02-01 13:16:45 +05:30
Richard Kuhnt 4ec576a859 refactor(bin/libexec): remove config.ps1 imports 2019-05-10 12:16:36 +02:00
Richard Kuhnt 44975dce58 feature(update): Add hold/unhold command (#3444)
Allows un/locking a program to the current version and enable/disable updates.
Close #3232
Close #1941
2019-05-08 20:01:21 +02:00
Chawye Hsu e1bb1e91d0 Lint: PSAvoidUsingCmdletAliases (#2075) 2018-03-03 18:41:19 +01:00
Richard Kuhnt 2020a47506 Use app_status() in the actual status command 2017-08-30 22:11:27 +02:00
TeaDrivenDev 1342452b04 Reduce feedback messages 2017-06-19 03:39:15 +02:00
TeaDrivenDev ae3dd3883a Improve feedback messages when Scoop is outdated and updated 2017-06-04 18:58:49 +02:00
Richard Kuhnt 18c6e908e7 Fix scoop status output for failed installs 2017-06-02 18:14:27 +02:00
Luke Sampson 1dc4d87626 Wrap 'app' in quotes for consistency. 2017-02-13 20:36:29 +11:00
Luke Sampson 1c173bc56d Use sentence case for UI messages. 2017-02-13 20:20:41 +11:00
Simon Hartcher 637480f5b8 Fix scoop not using proxy for git commands (#843)
Commands that call git from scoop will now pass proxy details. The
command is executed using `cmd` to avoid polluting the user's
environment as the variables set will die with the process.

Fixes #842
2016-05-09 17:55:05 +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
Simon Hartcher 3e0b5293bc Changed scoop-status to git fetch quietly 2015-04-04 15:45:52 +11:00
Simon Hartcher ed3972ee75 Removed unused timestamp code 2015-04-04 14:58:04 +11:00
Simon Hartcher 735ee17571 Fixed status command. Added support for custom repo/branch. 2015-04-04 14:48:41 +11:00
Simon Hartcher 94ae0cc92a Changed scoop update to use git for updating self 2015-04-04 14:22:23 +11:00
Luke Sampson ce5b9878f0 better help summary for 'scoop status' (see #155) 2014-08-31 09:12:44 +10:00
Luke Sampson b4ab131d91 add proxy support, see #86 2014-05-12 12:42:55 +10:00
Luke Sampson 79b04bb877 scoop status: report missing runtime dependencies 2014-01-01 09:22:12 +10:00
Luke Sampson 9a24df27be live-debugging scoop status for global apps 2013-09-05 15:23:07 +10:00
Luke Sampson 878b212bb9 test global dir exists before running gci on it 2013-09-05 15:18:41 +10:00
Luke Sampson 257f424914 status checks global apps too 2013-09-05 15:17:13 +10:00
Luke Sampson 7382e17561 convert spaces to tabs 2013-08-15 13:05:00 +10:00
Luke Sampson b4d7cf3c17 refactor for buckets 2013-08-08 10:39:31 +10:00
Luke Sampson 6579adf365 remember when scoop was last updated and report this in 'scoop status' 2013-08-05 16:43:59 +10:00
Luke Sampson 4f0b1b91c1 support setting environment variables (and removing them on uninstall) 2013-07-22 21:36:43 +10:00
Luke Sampson 0f14f80857 status: show old/new versions (testing on runat) 2013-07-21 20:38:46 +10:00
Luke Sampson 246ff1b384 actually add status command 2013-07-21 20:33:49 +10:00