518 Commits

Author SHA1 Message Date
Luke Sampson 79def7adad continue installing remaining apps when some requested apps are already installed (see #1256) 2017-01-24 18:10:35 +11:00
Luke Sampson ab51d469f4 make search case-insensitive (fixes #1250) 2017-01-23 07:54:15 +11:00
Luke Sampson d15bb91cb7 Add support for installing PowerShell modules (see #1246) 2017-01-22 14:44:54 +11:00
Luke Sampson 8b1871b20d fix: uninstall fails to remove architecture-specific shims (fixes #1191) 2017-01-04 17:42:32 +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
Luke Sampson 597198eb8a don't show update succeeded when git pull fails 2016-11-13 16:25:38 +11:00
Felipe do Rego Pinto fa17c2bd4c Command 'scoop update' delete scoop if download fail. (#1120)
* try catch on update

fixes #1118

* deleting the right dir

* added -ea stop to git command

* added try catch to bucket update

* removing space

* Removing -ea from git command, since it isn´t a scriptlet

* When git clone fail, it does not create de $newdir, so I changed the code
to check for this path.

When the git pull fail, nothing happens, so It doesnt need any changes

Also, git error could not be catch in powersheel exception

* removing blank lines
2016-11-13 16:12:41 +11:00
Sergey 43e0c20468 Print '0 B' when cache is empty (#1109)
If cache is empty `$total_length` is null, and the output is:
```
λ scoop cache show some-non-existing-app
total: 0 files,  B
```

Cast sum to double to get '0 B' instead
2016-11-08 10:45:30 +11:00
Luke Sampson 8c8bfc1132 support -i, --independent flag for scoop update (see #1064) 2016-10-06 18:50:43 +10:00
Luke Sampson ef7bcce6f7 move shortcut functions to separate file 2016-09-21 09:41:01 +10:00
Luke Sampson ae3fdb62ce add -i/--independent switch to install without dependencies (see #985) 2016-08-15 06:55:51 +10:00
Luke Sampson 0bcb44a281 implement architecture-specific shims 2016-06-24 07:22:04 +10:00
Luke Sampson 291f6caf80 restore @deevus's relative paths (fixes #443) 2016-06-03 19:13:06 +10:00
Luke Sampson 68da60c2c9 use UTF8 encoding for shims for better handling of usernames containing special characters (fixes #572) 2016-06-03 18:00:40 +10:00
Luke Sampson fb1dd522de Fix 'scoop which' when username has space (fixes #673) 2016-06-03 17:24:05 +10:00
Luke Sampson 3553b2ec02 allow uninstalling multiple apps (fixes #719) 2016-06-03 15:22:26 +10:00
Luke Sampson fad7fd5a25 fixes to #888 to match conventions 2016-06-03 14:14:35 +10:00
Luke Sampson 47c66aa977 Merge branch 'bucket-known' of git://github.com/wangzq/scoop into wangzq-bucket-known 2016-06-03 12:41:24 +10:00
wangzq abbc571b62 Update usage 2016-06-03 11:17:40 +08:00
wangzq 4cf833364f Add a new subcommand "list-known" to command "bucket" 2016-06-03 11:13:28 +08:00
Luke Sampson e37577b072 handle username with space for git commands (fixes #885) 2016-06-02 22:54:02 +10:00
Luke Sampson 3e17a60bb0 reinstate download progress % indicator, along with new filesize display 2016-06-01 21:22:11 +10:00
Luke Sampson 376630fd80 Fix: first scoop update fails because scoop deletes itself too early (needs to call itself to get proxy config for git clone) 2016-06-01 09:09:02 +10:00
wangzq 92d75884f3 #864 Fix following issue when searching on a new Win10 (#865)
invoke-webrequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.
2016-05-25 09:20:54 +10:00
Luke Sampson 6e921e9b2f allow .exe installers to access $global variable (see #854) 2016-05-18 12:36:36 +10:00
Simon Hartcher 637480f5b8 Fix scoop not using proxy for git commands (#843)
Commands that call git from scoop will now pass proxy details. The
command is executed using `cmd` to avoid polluting the user's
environment as the variables set will die with the process.

Fixes #842
2016-05-09 17:55:05 +10:00
Luke Sampson fff82e2d72 add architecture-specific support for pre- and post-install (see #783) 2016-04-16 11:58:59 +10:00
Luke Sampson d11582be6b don't ignore --arch flag (fixes #750) 2016-03-23 20:52:26 +10:00
Chawye Hsu 6bf5ffa032 Use https protocol
...to prevent connection reset.
2016-02-28 16:41:14 +08:00
Ryan J. McDonough 280e4ecd81 Adding support for Start Menu shortcuts 2016-02-07 09:40:37 -05:00
Simon Hartcher bea3189583 Add ability to search known buckets that haven't been added locally
By using githubs api we can search known buckets that haven't been added
to the local scoop instance. When a local search doesn't return any
results, other known buckets will be searched via github. If the rate
limit has been reached (60 per hour as of impl) the search won't occur.
2016-01-24 17:57:06 +11:00
Luke Sampson bf024705a8 search: better handling for invalid query (fixes #634 2016-01-14 17:16:00 +10: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
Simon Hartcher b68ccaa8f4 Fix scoop-which to support relative shims
Fixes #442
2015-07-27 18:47:48 +10:00
Simon Hartcher bf4e92588c Sanitise path when returning manifest path
Fixes #386
2015-07-24 14:04:38 +10:00
Simon Hartcher 53a3224b3a Add --quiet opt to update command to suppress extraneous messages 2015-06-04 12:44:28 +10:00
Simon Hartcher 9e7bb98399 Add scoop-alias command
Fixes #377
2015-05-31 16:47:30 +10:00
Luke Sampson bc1a8e4945 brute force fix for powershell alias problems 2015-05-11 20:17:59 +10:00
Luke Sampson b103b80045 scoop which: handle double-quoted paths in shims (fixes #358) 2015-05-11 13:41:53 +10:00
Simon Hartcher 24347c2afb Revert "Add ability to reset scoop (also adds Git Bash support)" 2015-05-10 12:05:11 +10:00
Simon Hartcher 3538788132 Add support for resetting scoop 2015-05-09 21:52:21 +10:00
Simon Hartcher 3e0b5293bc Changed scoop-status to git fetch quietly 2015-04-04 15:45:52 +11:00
Simon Hartcher ed3972ee75 Removed unused timestamp code 2015-04-04 14:58:04 +11:00
Simon Hartcher 735ee17571 Fixed status command. Added support for custom repo/branch. 2015-04-04 14:48:41 +11:00
Simon Hartcher 94ae0cc92a Changed scoop update to use git for updating self 2015-04-04 14:22:23 +11: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 fe92dd7962 Added scoop-home command
`scoop home <app>` opens the homepage for the given app
2015-03-28 18:29:07 +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 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
Simon Hartcher 2e420f6fe2 Fixed encoding for files created using scoop-create 2015-03-13 16:46:18 +11:00