Commit Graph
109 Commits
Author SHA1 Message Date
Simon Hartcher 49bd9b637d Add tests for shim
Refactored rm_shims into two functions rm_shims and rm_shim
Added tests for shim and rm_shim
Added test for quote in username (#196)
2015-04-12 21:15:50 +10:00
Simon Hartcher 2c31213431 Added simplistic nightly support
When an app versioned as "nightly" is installed (or updated),
the current date is appended to the version which changes the
version directory to nightly-yyyymmdd.

Fixes #181
2015-03-30 23:32:08 +11:00
Simon Hartcher ed81937b1a Bugfixes
Fixed failure to overwrite cached file
Fixed no cache warning every update
2015-03-28 17:52:54 +11:00
Simon Hartcher cecb04542c Added --no-cache option to scoop update
Ignores cache when updating an app
2015-03-28 17:45:10 +11:00
Luke Sampson b806cbd412 don't fail a global install when dependencies are installed locally (fixes #216) 2014-11-18 06:55:44 +07:00
Luke Sampson d9a1d0041c a few small cookie clean-ups 2014-11-12 06:16:10 +10:00
Scott Moore 0af8ebff5b Support HTTP cookies 2014-11-11 22:59:02 +11:00
Luke Sampson cb2ff446e6 fixes #189: check for failed installs of dependencies and give a more useful error message if that's the case 2014-11-03 09:33:43 +10:00
Kody Brown 89dcbefbc5 Renamed pre_create_shims to pre_install. Much better. 2014-08-14 22:21:14 -06:00
Kody Brown 7d62d005da Added a new event 'before_create_shims'.. the json file uses 'before_shims', but I spelled it out in the ps code. Don't really like the name of either, but I needed the functionality for gow.json (incoming). 2014-08-14 20:20:36 -06:00
Luke Sampson b68c737cf4 fix for #129 2014-07-17 09:06:43 +10:00
Luke Sampson 2a3427bdd7 fix for install where username contains spaces (see #128) 2014-07-16 10:56:37 +10:00
Luke Sampson 26195a626d experimenting with possible solution for #126 where packages aren't accessible after updating an app 2014-07-15 13:44:44 +10:00
Luke Sampson df1567c778 workarounds for windows not handling 'long' (260 char) paths (see #127) 2014-07-10 02:38:42 +10:00
Luke Sampson bf02a335d9 Use Scoop/1.0 user agent for downloads 2014-05-26 09:38:14 +10:00
Luke Sampson a8ea0b8b20 enable log for MSI extract, and show a better error message when it fails (see #105) 2014-05-15 13:20:29 +10:00
Luke Sampson f0f678261a fix for issue #83: handle space in path when extracting MSI 2014-03-21 14:10:58 +10:00
Luke Sampson 69c11d449a Revert "updated for new color naming in concfg (see lukesampson/concfg#3"
This reverts commit d4ff02bbef.
2014-03-17 18:08:33 +10:00
Luke Sampson d4ff02bbef updated for new color naming in concfg (see lukesampson/concfg#3 2014-03-17 15:58:49 +10:00
Luke Sampson 991d40d058 minor message change 2014-01-12 15:59:58 +10:00
Luke Sampson 3b90306472 allow alias and arguments for shims 2014-01-12 15:46:59 +10:00
Luke Sampson 030266db86 fix code layout 2014-01-06 17:27:27 +10:00
Luke Sampson 377948aa4c check for download error and abort the install with an appropriate message if there was an error (fixes issue #26, see also #24 and #45) 2014-01-06 17:15:28 +10:00
Luke Sampson 12a318d089 remove .exe shims when uninstalling 2014-01-05 16:35:09 +10:00
Luke Sampson 3121e86bec fix file overwrite 2014-01-02 10:23:18 +10:00
Luke Sampson 58cca68f75 fix: overwrite any existing files when extracting 2014-01-02 08:04:53 +10:00
Luke Sampson 5be66873e5 comments on deprecated MSI functions 2014-01-01 21:35:19 +10:00
Luke Sampson 6f7e90b3c0 remove unused line 2014-01-01 21:12:59 +10:00
Luke Sampson bfb912a0c8 avoid running out of disk space when copying extracted files by moving them instead 2014-01-01 21:03:42 +10:00
Luke Sampson 7909e692b6 scoop update: auto-install missing dependencies 2014-01-01 08:40:37 +10:00
Luke Sampson 6483897557 fix prune_installed function 2013-12-27 23:04:44 +10:00
Luke Sampson 5d0de2319b Merge pull request #51 from amatashkin/createdir
Add creation of '$dir\$extract_to' directory in install.ps1
2013-12-27 04:57:44 -08:00
Alexey Matashkin 43417cee67 Add creation of '$dir\$extract_to' directory in install.ps1
When the source is a file, Copy-Item expects the destination
to be a file or directory that already exists. So create dir
if needed.
2013-12-27 16:17:19 +04:00
Luke Sampson 4f2cd4bbf6 install: auto-install dependencies 2013-12-24 11:07:25 +10:00
Luke Sampson 32dc679ec9 add MSI extraction, deprecate MSI install (see issues #16, #18) 2013-12-23 11:20:54 +10:00
Luke Sampson 8b78b14a06 Merge branch 'deps' 2013-12-23 09:18:20 +10:00
Luke Sampson 634464e3de simpler, faster unzip (5x speedup, see #35) 2013-12-02 12:33:40 +10:00
Luke Sampson 08e55b916f Add 'scoop depends' command 2013-11-16 21:07:48 +10:00
Luke Sampson ac8a156796 is_in_dir: return true for checking if a directory is 'in' itself 2013-11-12 09:28:20 +10:00
Luke Sampson 531c128c9b fix error message shows 'add_to_path' instead of 'env_add_path' 2013-11-12 08:59:28 +10:00
Luke Sampson a21a2d2f1f word-wrap for notes, add note to sudo 2013-10-17 12:20:39 +10:00
Luke Sampson b8f8c20b2d support unpacking innosetup files with innounp 2013-10-04 15:40:26 +10:00
Luke Sampson 396136bef5 refactor 7zip_installed into cmd_available so it can be used to check for innounp too 2013-10-04 14:28:02 +10:00
Luke Sampson 16fbf80b1a check requirements (7zip so far) on update as well as install 2013-10-04 14:11:39 +10:00
Luke Sampson 5a4a8fd27b refactor checking 7zip requirement 2013-10-04 13:39:03 +10:00
Luke Sampson b41c21b9e0 fix check_hash not returning true 2013-09-29 13:27:27 +10:00
Luke Sampson 437af38f28 don't cache if download fails hash check 2013-09-29 13:21:30 +10:00
Luke Sampson 147ebd92ec don't try to show download % if output is redirected, see lukesampson/psutils#2 2013-09-26 18:17:17 +10:00
Luke Sampson 5c3b696fbd fix download % indicator skips to next line if 100 flows across lines 2013-09-07 20:31:29 +10:00
Luke Sampson a1187f479b better check for MSI package already installed 2013-09-03 16:35:33 +10:00