Commit Graph

100 Commits

Author SHA1 Message Date
Hsiao-nan Cheung
0b6de90c03 feat(relicense): Relicense to dual-license (Unlicense or MIT) (#4903)
Co-authored-by: Chawye Hsu <chawyehsu@hotmail.com>
Co-authored-by: Tyler887 <tylermageeshields@gmail.com>
2022-05-08 11:13:09 +08:00
Hsiao-nan Cheung
b96abcfda9 feat(scoop-cleanup): Add -a/--all switch to cleanup all apps (#4906) 2022-05-07 11:23:33 +08:00
Hsiao-nan Cheung
cb7cd99e7a docs(changelog): Rearrange CHANGELOG (#4897) 2022-05-04 10:44:01 +08:00
L. Yeung
22365c2169 fix(bucket): Return empty list correctly in Get-LocalBucket (#4885)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com>
2022-04-27 17:37:18 +08:00
Hsiao-nan Cheung
e6d03715fa fix(libs): Add missing 'json.ps1' dependency (#4884) 2022-04-23 01:44:03 +08:00
Hsiao-nan Cheung
6296822f1f perf(scoop): Load libs only once (#4839) 2022-04-21 21:34:26 +08:00
Krisztián Csordás
7ee74a0638 fix(scoop-list): Fix format specifier for minutes in date format (#4880) 2022-04-19 17:48:59 +08:00
Hsiao-nan Cheung
f947b620d5 fix(test): Remove 'description' requirement (#4874) 2022-04-16 01:19:51 +08:00
CrendKing
47c0f46d58 feat(checkver): Add option to throw error as exception (#4867) 2022-04-14 21:38:56 +05:30
Hsiao-nan Cheung
f6679c2170 build(schema): Remove 'description' from required fields (#4853) 2022-04-03 00:35:13 +08:00
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
Chawye Hsu
72fd0c5f83 docs(readme): Update installation instruction (#4825) 2022-03-23 13:59:16 +08:00
Kinshuk Bairagi
d29e336417 fix(install): Fix Junction creation during installation inside containers (#4837) 2022-03-23 13:43:44 +08:00
Hsiao-nan Cheung
32de4c5714 refactor(bucket): Move 'Find-Manifest' and 'list_buckets' to 'buckets' (#4814) 2022-03-23 10:47:52 +08:00
Rashil Gandhi
ced36b285d doc(scoop-shim): Fix typo (#4836)
* Update scoop-shim.ps1

* Update CHANGELOG.md
2022-03-22 19:56:21 +05:30
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
Thad Smith
45db5fb325 feat(install): Allow downloading from private repositories (#4254)
* added ability to use private github repositories

To do this, define a gh_api_token in the sccop config, if the repository is private it will use the apis to get and use the asset id

* corrected inherited linting error

* updated url to pull filename

* inlined get_headers and get-members functions and updated changelog

* simplified host headers and switched to checkver_token from: astelmachonak-nydig

* added ability to use private github repositories

To do this, define a gh_api_token in the sccop config, if the repository is private it will use the apis to get and use the asset id

* updated url to pull filename

* inlined get_headers and get-members functions and updated changelog

* simplified host headers and switched to checkver_token from: astelmachonak-nydig

* Update lib/core.ps1

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

* Update lib/core.ps1

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

* Fix RegEx

* Some tweaks

* optimize

Co-authored-by: Rashil Gandhi <46838874+rashil2000@users.noreply.github.com>
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
Co-authored-by: Rashil Gandhi <rashil2000@gmail.com>
2022-03-22 02:25:53 +05:30
Rashil Gandhi
5e4e6e9e5d doc(readme): Fix badges for Gitter and CI Tests (#4830)
* Update README.md

* Update CHANGELOG.md
2022-03-21 14:49:22 +05:30
tech189
53cdf68e26 fix(scoop-download): Add failure check (#4822)
* scoop-download failure check, aria2 warn if uninstalled

* Revert core.ps1

* Update CHANGELOG.md
2022-03-18 20:36:46 +05:30
Chawye Hsu
4d36cbd90d fix(decompress): Fix tarball decompression (#4813)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-03-17 20:30:43 +08:00
e6c31d
635ae1715a fix(shim): Correctly quote $@ in sh->ps1 shims (#4809) 2022-03-14 08:58:30 +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
Chawye Hsu
5025661fa2 fix(shim): Manipulating shims with UTF8 encoding (#4791) 2022-03-10 15:55:15 +08:00
Rashil Gandhi
476b507bb6 fix(update): Skip logs starting with (chore) (#4800)
* fix(update): Skip logs starting with `(chore)`

* Update CHANGELOG.md
2022-03-10 13:14:46 +05:30
Hsiao-nan Cheung
a66a086fb0 fix(installed): If no $global, check both local and global installed (#4798) 2022-03-10 13:05:49 +08:00
Hsiao-nan Cheung
60d308f7d6 fix(scoop-prefix): Fix typo that breaks global installed apps (#4795) 2022-03-10 01:24:46 +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
Hsiao-nan Cheung
750ea54d49 fix(shim): Fix scoop which error (#4780) 2022-03-07 22:14:26 +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
Chawye Hsu
59328fc83c fix(config): Ensure manipulating config with UTF8 encoding (#4644) 2022-03-04 20:28:13 +08:00
HUMORCE
6bb5e932fe docs(changelog): Rearrange CHANGELOG (#4774) 2022-03-04 10:48:25 +08:00
Hsiao-nan Cheung
3af0cdbc21 docs(changelog): Rearrange CHANGELOG (#4770) 2022-03-02 12:03:45 +08:00
Hsiao-nan Cheung
765d3aad7e build(ci): Use cache in GitHub Actions (#4671) 2022-03-02 11:48:54 +08:00
Hsiao-nan Cheung
b740e98c36 docs(changelog): Bump to v0.1.0 (#4764) 2022-03-02 10:28:41 +08:00
Rashil Gandhi
a8e36d35c7 feat(scoop-config): Show all settings (#4765)
* feat(scoop-config): Show all settings

* cl
2022-02-28 10:53:45 +05:30
Hsiao-nan Cheung
9024ee450c fix(shim): Fix shim when app path has white spaces (#4734) 2022-02-26 22:52:46 +08:00
Hsiao-nan Cheung
e4580dd705 feat(scoop-shim): Add scoop shim to manipulate shims (#4736) 2022-02-26 22:32:54 +08:00
Hsiao-nan Cheung
a67937f77d fix(cleanup): Hotfix for #4681 (#4763) 2022-02-26 22:22:33 +08:00
Rashil Gandhi
aa61f1994a feat(scoop-info): Revamp details and show more information (#4747)
* feat(scoop-info): Introduce `verbose` flag

* feat(scoop-info): Allow passing local manifest paths

* feat(scoop-info): Show bucket and shortcuts

* feat(scoop-info): Show dependencies and suggestions

* feat(scoop-info): Show 'Updated at' and 'Updated by'

* changelog

* optimize git call

* restore clicky-ness of homepage

* simplify joining

* use getopt

* Update libexec/scoop-info.ps1

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

Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-02-25 13:06:46 +05:30
HUMORCE
0cb6152e1a fix(scoop-bucket): Fix date formatting issues with git bucket(s) (#4759) 2022-02-25 11:32:50 +08:00
Xavier Young
4047d6962c perf(install): Avoid checking all files for unlink persisted data (#4681) 2022-02-25 10:08:07 +08:00
Rashil Gandhi
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 Gandhi
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
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 Gandhi
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