26 Commits

Author SHA1 Message Date
pynappo c71376e12c feat(config): Allow scoop to check and update 'nightly' apps (#5166)
Co-authored-by: Hsiao-nan Cheung <niheaven@gmail.com>
2022-10-18 23:46:13 +08:00
Hsiao-nan Cheung 08ecdd16a8 fix(config): Change config option to snake_case in file and SCREAMING_CASE in code (#5116) 2022-08-21 19:51:31 +08:00
Hsiao-nan Cheung 6296822f1f perf(scoop): Load libs only once (#4839) 2022-04-21 21:34:26 +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
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 e09127f7be fix(versions): Fix wrong version number when only one version dir (#4679) 2022-01-21 13:05:43 +08:00
Rashil Gandhi cbe29eddb3 chore: Update repo links 2021-12-16 01:09:21 +05:30
Hsiao-nan Cheung ae89213842 fix(versions): Fix situation that contains '_' 2021-11-15 13:22:04 +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
Retia 3d8d5e84c3 Improvements for the reset command to deal with empty current alias dir correctly (#2896) 2018-12-16 07:45:59 -08:00
Chawye Hsu 731247876d [Pending] Finally we add the code linting and its tests! (#2108)
* Lint: PSPossibleIncorrectComparisonWithNull

* Lint: PSUseLiteralInitializerForHashtable

* Lint: PSUseBOMForUnicodeEncodedFile

* Lint: PSUseApprovedVerbs

* Lint: PSAvoidGlobalVars

* Lint: PSAvoidUsingEmptyCatchBlock

* Lint: PSUseShouldProcessForStateChangingFunctions

* Lint helper: Add PSScriptAnalyzer integration for vscode

* Fix lint: PSUseBOMForUnicodeEncodedFile

* Tests: ignore previous TestResults.xml

* Tests: add PowerShell script linting into tests!

* Add PSScriptAnalyzer into appveyor ci

* Update Scoop-Linting.Tests.ps1
2018-03-13 14:26:55 +01:00
Chawye Hsu e1bb1e91d0 Lint: PSAvoidUsingCmdletAliases (#2075) 2018-03-03 18:41:19 +01:00
Richard Kuhnt ff76d131ea Fix version splitting 2017-05-24 21:33:16 +02:00
Luke Sampson 24127669bd Handle dashed version components (fixes #1344) 2017-02-21 22:02:47 +11:00
Luke Sampson abd6d0e6c5 Use a 'current' directory junction for the current version of apps, so that path is maintained across app updates (see #1179) 2016-12-31 22:12:53 +11: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 083cdd9743 handle version change from string to numeric (fixes #322) 2015-04-05 14:54:25 +10:00
Luke Sampson b70a107d45 handle int/string mismatch when comparing versions 2014-06-23 09:27:43 +10:00
Luke Sampson df288ee739 scoop list works for global apps 2013-09-02 08:44:44 +10:00
Luke Sampson 9ee42e7c0a refactor installed_apps, more reorg for global 2013-09-01 12:41:54 +10:00
Luke Sampson 8725524f42 fix hash 2013-08-30 20:11:58 +10:00
Luke Sampson b4d7cf3c17 refactor for buckets 2013-08-08 10:39:31 +10:00
Luke Sampson 374191ec1f vagrant, better MSI support 2013-07-20 12:07:03 +10:00
Luke Sampson fbe581994f handle updating when original install was from url 2013-06-28 15:13:57 +10:00
Luke Sampson 7e7f17780c fix install, stub latest_version to check URL 2013-06-28 14:32:51 +10:00
Luke Sampson 469c0b7a99 implement 'scoop update <app>', refactor install functions 2013-06-27 11:40:23 +10:00