Commit Graph
391 Commits
Author SHA1 Message Date
Rashil GandhiandHsiao-nan Cheung 40b2d951e8 fix(scoop-bucket): Check for git before running command (#4756)
* fix(scoop-bucket): Check for git before running command

* Apply suggestions from code review

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

* Update CHANGELOG.md

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-02-24 15:11:40 +05:30
Rashil Gandhi b95ccbe14a refactor(scoop-config): Use underscores everywhere (#4745) 2022-02-21 10:01:20 +08:00
Rashil GandhiandHsiao-nan Cheung e1f569b01b feat(scoop-cat): Use bat to pretty-print JSON (#4742)
* feat(scoop-cat): Use `bat` to pretty-print JSON

* update changelog

* hide filename and line numbers

* Add `cat_style` config option

* use underscores

* Revert "use underscores"

This reverts commit 46524fc947.

* Apply suggestions from code review

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

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-02-17 22:57:18 +05:30
Rashil Gandhi d1f828c942 fix(scoop-info): Use pipe to separate bins (#4744) 2022-02-17 19:21:52 +05:30
Rashil Gandhi 26517644df refactor(scoop-info): Use List View for output (#4741)
* refactor(scoop-info): Use List View for output

* review comments
2022-02-17 08:21:38 +05:30
Rashil GandhiandHsiao-nan Cheung f83fa145de feat(scoop-cache): Handle multiple apps, show more information (#4738)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-02-16 13:06:23 +08:00
Hsiao-nan Cheung 21c5c6e775 fix(scoop-alias): Fix alias initialization (#4737)
* fix(scoop-alias): Fix alias initialization

* fix(scoop-alias): Remove 'Format-Table'
2022-02-14 20:17:15 +05:30
Hsiao-nan Cheung c41cb84404 feat(scoop-alter): Add scoop alter command to switch shim's target (#4727) 2022-02-13 20:42:55 +08:00
CrendKingandHsiao-nan Cheung 14854c3548 feat(config): Allow Scoop to ignore running processes during reset/uninstall/update (#4713)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-02-11 13:55:42 +08:00
Hsiao-nan Cheung c01960f283 fix(scoop-update): Enforce $null array (#4725) 2022-02-09 18:27:37 +08:00
Hsiao-nan Cheung 285ffd0322 fix(no-junction): Fix error when 'NO_JUNCTIONS' is been set (#4722) 2022-02-09 11:08:56 +08:00
Rashil Gandhi b69bdbd6d2 feat(scoop-list): Show last-updated time (#4723) 2022-02-09 11:08:24 +08:00
Hsiao-nan Cheung ba970d5c42 fix(versions): Get current version from failed installation if possible (#4720) 2022-02-09 11:07:54 +08:00
Rashil Gandhi e450843827 refactor(scoop-list): Allow list manipulation (#4718)
* refactor(scoop-list): Allow list manipulation

* update changelog
2022-02-08 17:26:23 +05:30
Rashil Gandhi 7967905980 fix(scoop-bucket): Use git instead of git_cmd (#4707) 2022-02-02 20:05:17 +00:00
HUMORCEandRashil Gandhi 0e4721a408 feat(scoop-bucket): List more detailed information for buckets (#4704)
* refactor(scoop-bucket): Show source/lastupdate for buckets

* use `StartsWith`

* CHANGELOG

* punctuation

* style

* upd

* Update libexec/scoop-bucket.ps1

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>

* count num of manifests in the buckets

* update changelog

* remove write-host

* friendly_path

* datetime format

* order

* sty

* prop.

* trim

* obj

* update CHANGELOG

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
2022-02-03 01:13:37 +05:30
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 c6b10c8f89 refactor(diagnostic,scoop-checkup): Improvements for 'check_windows_defender' and 'scoop-checkup' (#4699)
* Downgrade defender checks from `warn` to `info`

* checkup update

- Skip `check_windows_defender` when have not admin privileges
- Separate defender issues($defenderIssues)
- Security Tips

* Skip check for `ExclusionPath` if defender realtime protect is disabled

* elif

* CHANGELOG
2022-02-01 13:24:48 +05:30
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
Rashil Gandhi ba28a4f4f1 refactor(COMSPEC): Deprecate use of subshell cmd.exe (#4692) 2022-01-26 10:47:39 +08:00
Hsiao-nan Cheung 158c0fd4d0 fix(install-status): Correctly handle failed installation of apps (#4676) 2022-01-25 21:58:03 +08:00
Hsiao-nan Cheung 81b7aaf8d7 fix(scoop-update): Remove 'Done.' output (#4672) 2022-01-18 15:45:43 +08:00
Hsiao-nan Cheung 4e64db7f93 fix(cleanup): Remove apps other than current version (#4665) 2022-01-18 14:25:55 +08:00
Hsiao-nan Cheung 6f8bf04ce5 fix(scoop-update): Skip updating non git buckets (#4670) 2022-01-18 01:28:28 +08:00
Hsiao-nan Cheung 5b87c99aa8 refactor(deps): Rewrite 'depends.ps1' (#4638) 2022-01-12 11:10:55 +08:00
Rashil Gandhi cabaf59f62 feat(install|virustotal): Allow skipping update check (#4634) 2022-01-08 16:05:56 +05:30
Rashil Gandhi 9142703bce feat(download): Allow downloading without installing (#4621)
* feat(download): Allow downloading without installing

* update changelog

* rename 'skip' -> 'no-hash-check'

* add --no-update-scoop flag
2022-01-08 15:59:19 +05:30
Hsiao-nan Cheung 5d8aeb54bb test(test-bin): Only write output file in CI and fix trailing whitespaces (#4613) 2021-12-31 02:14:53 +08:00
Rashil Gandhi f343bd9f5e chore(config): Document all configuration options (#4579)
* chore(config): Document all configuration options

* Update README.md

* Update scoop-config.ps1

* Update scoop-config.ps1

* Update scoop-config.ps1

* Add env vars
2021-12-20 13:49:30 +05:30
Rashil Gandhi cbe29eddb3 chore: Update repo links 2021-12-16 01:09:21 +05:30
Hsiao-nan Cheung 02da753fa7 fix(core): Use '-Encoding ASCII' in 'Out-File' (#4571) 2021-12-10 00:52:44 +08:00
Rashil GandhiandHsiao-nan Cheung ef4349bee4 feat(shim): Rework shimming logic (#4543)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2021-12-02 21:23:36 +08:00
Rashil Gandhi c31ccea971 Merge pull request #4532 from MrNuggelz/patch-2
Add scoop cat command
2021-12-02 00:20:26 +05:30
Joris 29477d992a Add scoop cat command 2021-11-23 20:02:48 +01:00
Hsiao-nan Cheung ac71fccbec fix(scoop-update): Update apps with '--all' 2021-11-23 16:53:42 +08:00
Benedikt Reinartz 0f5097be4f fix(scoop-update): Fix scoop update -a requiring arguments (#4531) 2021-11-23 16:37:28 +08:00
Rashil Gandhi 6c2b34d29b Merge pull request #3871 from filmor/patch-1
Add flags as an alternative to '*' to update all
2021-11-15 10:30:02 +05:30
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
Hsiao-nan Cheung dcce404529 fix(scoop-install.ps1): Auto uninstall previous failed installation (#3281) 2021-11-08 19:46:52 +08:00
Henry Ruben Fischer 8bb7390a75 feat(message): Add config to disable aria2 warning message (#4422) 2021-11-08 19:41:26 +08:00
Chawye Hsu 2047f8a929 Merge branch 'master' into develop 2021-11-05 21:23:53 +08:00
Pratik Chowdhury 458ec9003f feat(scoop-prefix): remove unused imports and functions (#4494) 2021-11-05 13:26:02 +08:00
Gal Szkolnik 1e90310838 Fix incompatible with Pansies url alias
Fixes https://github.com/ScoopInstaller/Scoop/issues/4185
A continuation of https://github.com/ScoopInstaller/Scoop/pull/4342
2021-11-02 09:38:47 -04:00
Rashil Gandhi 6c340cb7e3 Merge pull request #4013 from sinloss/patch-1
Fix #4000, handle arch-specific env_add_path
2021-11-01 10:55:27 +05:30
FriendlyNeighborhoodShane 0920050464 reset: skip when app instance is running (#4359)
The issue is the same as for #2952, workaround until the proper
solution is implemented. The code is also directly copied from there.

Fixes #4310
2021-05-20 17:50:06 +02:00
lxy dc7df618c1 Merge pull request #2 from lukesampson/master
Merge upstream commits
2020-12-21 11:28:04 +08:00
liuxy 6659c55959 scoop-info: Handle arch-specific envs 2020-06-09 09:38:54 +08:00
liuxy 91ea657923 Apply the suggestions from @Ash258 2020-06-09 09:38:22 +08:00
lxy 3188115369 Fix #4000, handle arch-specific env_add_path 2020-06-08 10:16:47 +08:00
Brian Jubelirer 078b29bc80 chore(update): Update outdated PowerShell 5 warning (#3986) 2020-05-17 12:44:31 +02:00