Commit Graph
247 Commits
Author SHA1 Message Date
Hsiao-nan Cheung 794f8a51aa builds(checkver): Exit routine earlier if error (#5025) 2022-07-01 22:22:49 +08:00
Rashil Gandhi 53f0e9a18c feat(checkver,auto-pr): Allow passing file path (#5019)
* feat(checkver,auto-pr): Allow passing file path

* changelog

* reuse $App parameter

* Update CHANGELOG.md
2022-07-01 12:12:52 +05:30
Rashil GandhiandHsiao-nan Cheung 9723725402 fix(chore): Update help documentation (#5002)
* tweaks to help system

* update help text

* update changelog

* fix order of printing deps

* Apply suggestions from code review

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

* Update scoop-help.ps1

* Update scoop.ps1

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-06-21 12:08:05 +05:30
yi_XuandHsiao-nan Cheung 6e25e440af feat(core): Add 'Get-Encoding()' function to fix missing webClient encoding (#4956)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-06-13 23:21:57 +08:00
Hsiao-nan Cheung d056d542db fix(core): Use Invoke-Command instead of Invoke-Expression (#4941) 2022-05-26 10:54:34 +08:00
L. YeungandHsiao-nan Cheung ac2fb38722 fix(scoop): Pass CLI arguments as string objects (#4931)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-05-18 00:06:08 +08:00
Hsiao-nan Cheung 6296822f1f perf(scoop): Load libs only once (#4839) 2022-04-21 21:34:26 +08:00
CrendKing 47c0f46d58 feat(checkver): Add option to throw error as exception (#4867) 2022-04-14 21:38:56 +05:30
Alex Stelmachonak f441968983 feat(config): Try SCOOP_GH_TOKEN value first before gh_token value from config (#4842) 2022-03-26 23:42:36 +08:00
Alex Stelmachonak ad3fc4f8fb feat(config): Rename checkver_token to gh_token and SCOOP_CHECKVER_TOKEN to SCOOP_GH_TOKEN (#4832)
* Properly filtering null input in dl function when private_hosts is not set in config

* Rename checkver_token to gh_token and SCOOP_CHECKVER_TOKEN to SCOOP_GH_TOKEN
2022-03-22 03:30:19 +05:30
Hsiao-nan Cheung 5a795caca5 refactor(reset_aliases): Move core function of reset_aliases to scoop (#4794) 2022-03-11 18:10:04 +08:00
Hsiao-nan Cheung af26d86d02 refactor(relpath): Use $PSScriptRoot instead of relpath (#4793) 2022-03-10 00:30:40 +08:00
Hsiao-nan Cheung 7d5a47cc77 fix(install): Use 'Get-Command' to test scoop install status (#4785) 2022-03-08 21:00:58 +08:00
HUMORCE 63b858c41f style: Use correct casing for $PSScriptRoot (#4775) 2022-03-04 22:55:45 +08:00
Hsiao-nan Cheung e4580dd705 feat(scoop-shim): Add scoop shim to manipulate shims (#4736) 2022-02-26 22:32:54 +08:00
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
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
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
Hsiao-nan Cheung 00adc0d828 build(checkver): Fix output with '-Version' (#3774) 2022-01-08 16:09:29 +08:00
Hsiao-nan Cheung c864f68c0b test(manifest): Fix manifests validation (#4620) 2022-01-07 13:33:05 +08:00
Rashil Gandhi cbe29eddb3 chore: Update repo links 2021-12-16 01:09:21 +05:30
Rashil Gandhi 386d3be20e fix(auto-pr): Remove hardcoded 'master' branch (#4567) 2021-12-08 22:21:20 +05:30
Hsiao-nan Cheung c1d48e4853 Merge branch 'master' into develop 2021-12-06 14:49:52 +08:00
Rashil GandhiandHsiao-nan Cheung 37a886947d fix(checkver): Use GitHub token from environment (#4557)
* Use GitHub token from environment

* consistent naming

* Update bin/checkver.ps1

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

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2021-12-03 21:01:51 +05:30
Pratik Chowdhury 4ec9eccdb4 feat(checkver): improve JSONPath extraction support (#4522) 2021-11-29 16:55:13 +08:00
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
Chawye Hsu 2047f8a929 Merge branch 'master' into develop 2021-11-05 21:23:53 +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
Hsiao-nan Cheung 30e7967a04 feat(autoupdate): add multiple URL/hash/extract_dir... support 2021-11-01 13:36:37 +08: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
Rashil Gandhi b174775b71 chore: capitalize to prevent redirect (#4483) 2021-10-28 14:51:07 -07:00
Ross Smith II 5226f26f18 chore: s/lukesamson/ScoopInstaller in install.ps1 2021-10-25 18:28:51 -07:00
lxy dc7df618c1 Merge pull request #2 from lukesampson/master
Merge upstream commits
2020-12-21 11:28:04 +08:00
lxy c8453767b4 Annihilate the trailing whitespace 2020-08-13 10:19:29 +08:00
lxy 5e81d49984 Re-trigger tests 2020-08-13 09:46:18 +08:00
liuxy 91ea657923 Apply the suggestions from @Ash258 2020-06-09 09:38:22 +08:00
Chawye Hsu eada459be9 chore(scoop): Remove temporary code from the scoop executable (#3898) 2020-04-20 15:30:31 +02:00
Jakub Čábera 398ccea2ae feat(checkver): Present script property (#3900) 2020-04-20 15:29:10 +02:00
Hsiao-nan CheungandJakub Čábera 5851eaf762 feat(autoupdate): add multi-urls aupport to 'autoupdate'
Also refactor
- 'update_manifest_with_new_version' -> 'Update-ManifestProperty'
- 'update_manifest_prop' -> 'PropertyHelper'
- 'autoupdate' -> 'Invoke-AutoUpdate'

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 14:30:09 +08:00
Hsiao-nan Cheung 2a91ddb101 refactor(autoupdate): 'get_version_substitutions' -> 'Get-VersionSubstitution'
Signed-off-by: Hsiao-nan Cheung <niheaven@gmail.com>
2020-03-10 13:46:36 +08:00
Xiang ZHU eb3d42de8f fix(install): execution policy check (#3619)
fix #3590
2019-10-18 19:16:33 +02:00
Richard Kuhnt 8ee45a57dc chore(git): Remove unnecessary git_proxy_cmd() calls for local commands 2019-10-18 16:22:34 +02:00
Richard Kuhnt 08af9ff6e7 Merge branch 'develop' of github.com:lukesampson/scoop 2019-10-18 14:03:43 +02:00
Richard Kuhnt e44b848f24 Revert "Update 2019-10-18" (#3696)
This reverts commit d948720961.
2019-10-18 13:56:46 +02:00
Richard Kuhnt d948720961 Update 2019-10-18 2019-10-18 13:47:57 +02:00
Hsiao-nan Cheung 5643818e1b Revert 'Compare-Version' (#3333, #3578) (#3648) 2019-10-18 13:32:06 +02:00
Chawye Hsu 15e11e62ae fix(checkurls): Trim renaming suffix in url (#3677) 2019-10-06 10:35:09 +02:00
3e55a70971 docs(readme): Improve installation instructions (#3600) 2019-09-02 13:38:30 +02:00
Richard Kuhnt 7879d272b2 Merge branch 'master' into develop 2019-08-02 17:21:07 +02:00