Commit Graph
252 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
Luke Sampson 083cdd9743 handle version change from string to numeric (fixes #322) 2015-04-05 14:54:25 +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
Simon Hartcher 47b85e62fe Merge branch 'master' into custom-commands
Conflicts:
	lib/commands.ps1
2015-03-26 21:54:05 +11:00
Simon Hartcher 53a6c680aa Changed $env:scoop to $scoopdir for when $env:scoop is null 2015-03-26 21:47:28 +11:00
Luke Sampson 7959c1cfe2 Revert "Added support for custom commands" 2015-03-26 18:33:09 +10:00
Simon Hartcher e6e4b7492f Added support for custom commands
Custom commands `scoop-*` that are in the `$env:scoop\shims` directory
can now be run using scoop as well as the built-in commands
2015-03-26 18:24:28 +11:00
Luke Sampson 7a243c72f6 fix mkdir function 2015-03-11 13:18:15 +10:00
Simon Hartcher 2581bd8c53 Add missing commands to alias 2015-03-11 13:55:40 +11:00
Simon Hartcher afa8166e81 Added functions as aliases for powershell commands
Fixes #183
2015-03-11 13:52:30 +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 0ee6b97abb Let 7-zip extract .xz files too 2014-07-25 11:36:59 +10: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 b70a107d45 handle int/string mismatch when comparing versions 2014-06-23 09:27:43 +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 b4ab131d91 add proxy support, see #86 2014-05-12 12:42:55 +10:00
Luke Sampson 482f9b6637 add config command 2014-05-12 10:19:13 +10:00
Luke Sampson 655e346999 experimental path override for #52 2014-03-25 12:28:37 +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 31410a12ba fix for unzip when .NET version pre 4.5: ensure output directory exists first (issue #80) 2014-03-16 10:05:11 +10:00
Luke Sampson 619a7a1b05 cache show: handle 1 file 2014-03-03 17:52:55 +10:00
Luke Sampson 5e0b74630e improved comment 2014-02-21 19:57:38 +10:00
Luke Sampson ac2716eacb tidy-up 2014-02-21 19:57:02 +10:00
Luke Sampson 307ec93568 remove test 2014-02-21 19:47:26 +10:00
Luke Sampson 14625e0087 unzip: fall back to shell COM object if .NET earlier than 4.5 (#66) 2014-02-21 19:46:36 +10:00
Luke Sampson e06fdf784f abort if unzip fails 2014-01-17 08:51:15 +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 55e673961f include .tgz in the list of file extensions that 7-zip can decompress 2014-01-12 13:47:42 +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 5c52166fcd add .exe shims for programs that only look for .exes (e.g. tar calling gzip) 2014-01-05 16:25:16 +10:00
Luke Sampson 3611921a69 scoop depends: reverse display order of dependencies so that the highest level dependencies are shown first 2014-01-03 14:10:20 +10:00
Luke Sampson 753c933ee2 for cmd shims, resolve path because cmd can't interpret ~ 2014-01-02 14:20:33 +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