Commit Graph

205 Commits

Author SHA1 Message Date
Richard Kuhnt bc08222f3d Remove unused function 2017-06-10 03:01:38 +02:00
Richard Kuhnt 495e3adb61 Add scoop services command
Allows installing windows services using WinSW (See #1526)
2017-06-10 02:30:57 +02:00
Richard Kuhnt 18c6e908e7 Fix scoop status output for failed installs 2017-06-02 18:14:27 +02:00
Richard Kuhnt 884a7a3361 Allow architecture specific shortcuts for special cases like dont-sleep or mpc-hc 2017-05-23 22:28:49 +02:00
Luke Sampson 222bac5c74 Add 'checkup' command. 2017-04-21 19:02:17 +10:00
Simon Hartcher 836f03db72 Merge pull request #1332 from lukesampson/install-specific-version
Installing specific versions using autoupdate feature
2017-04-05 16:07:27 +10:00
Richard Kuhnt 8e97c2bcc6 Allow uninstalling multiple programs even if some fail or don't exist 2017-04-03 13:13:02 +02:00
Rémy 5053c41bf0 Merge branch 'master' into install-specific-version 2017-04-02 22:10:50 +02:00
Simon Hartcher 1ba62bdda9 Fix path not returning correctly 2017-04-01 13:54:16 +11:00
Simon Hartcher 987048df38 Bail install when specific version is already installed 2017-03-31 20:12:39 +11:00
Simon Hartcher e799eb1717 Allow resetting of specific version installs 2017-03-31 20:03:13 +11:00
Simon Hartcher 2b96081c21 Merge branch 'master' into install-specific-version 2017-03-31 18:43:23 +11:00
Rémy 7b50a43049 Ensure there is an $architecture on updates if the old manifest is not found
If the old manifest is not available no $architecture is loaded
resulting in an error while installing the update.

This happend for example for php if there was a conf directory along the
versions. `conf` will be picked up as latest version but there is no
manifest inside. #1185
2017-03-31 00:54:20 +02:00
Rémy 53a3020583 Merge remote-tracking branch 'upstream/master' into persist 2017-03-30 00:15:29 +02:00
Luke Sampson 93e7a7f0ef NodeJS without $persist_dir in env_add_path / mark persist dirs as read-only (#1)
* A NodeJS install with persistence that doesn't use $persist_dir variable in manifest

* persist nodejs fix npm updating itself

* A NodeJS install with persistence that doesn't use $persist_dir variable in manifest

* Fix 'Access is denied' error removing 'current' directory junction.

* change nodejs install behaviour to match upstream installer

`npm update -g` has been remove because it has no effect on the
installed npm version and does not match the official installer
behaviour.
2017-03-30 00:13:27 +02:00
Luke Sampson 6e5b7e57bb Reset: Re-create shortcuts (fixes #1406) 2017-03-27 17:22:56 +11:00
Rémy 36e61b54f9 normalize persist terms 2017-03-26 14:08:58 +02:00
Rémy 6d00ecc60d persitent data fix global installations 2017-03-25 17:47:17 +01:00
Rémy a903d7e395 reuse install_app function in scoop update 2017-03-25 16:28:06 +01:00
Rémy a4df96ceae nodejs persistence: use npm prefix to install bins into data dir / env_add_path with $data_dir 2017-03-25 16:28:06 +01:00
Rémy 355dde0109 test-path before trying to delete 2017-03-25 16:28:05 +01:00
Rémy 7e97081517 implement uninstall --purge to remove the app data 🗑 2017-03-25 16:28:05 +01:00
Luke Sampson e475d49f03 Scoop which: report on the command that will actually be executed instead of preferencing commands of the same name with a .ps1 extension. 2017-03-24 10:25:08 +11:00
Richard Kuhnt 42397594d7 Better error handling for scoop-alias 2017-02-27 11:20:33 +01:00
Simon Hartcher c7179c0aad Fix progress bar when updating
`core.ps1` has a `dl` function which overrides the `install.ps1`
function of the same name. Fixed by importing `install.ps1` last
2017-02-16 22:06:47 +11:00
Simon Hartcher 9dfc30f931 Add basic specific version installation using autoupdate 2017-02-13 23:34:51 +11:00
Luke Sampson e8e5ac5615 Update more UI messages for consistency. 2017-02-13 20:53:36 +11:00
Luke Sampson 1dc4d87626 Wrap 'app' in quotes for consistency. 2017-02-13 20:36:29 +11:00
Luke Sampson eed621ab2a Update another UI message for consistency. 2017-02-13 20:31:27 +11:00
Luke Sampson 61547cea7c Update more UI messages for consistency. 2017-02-13 20:29:54 +11:00
Luke Sampson d2a8f6798f Update UI messages for consistency. 2017-02-13 20:25:56 +11:00
Luke Sampson 1c173bc56d Use sentence case for UI messages. 2017-02-13 20:20:41 +11:00
Luke Sampson b21b6a2be1 Add 'suggest' directive as an alternative to 'depends'. Allows manifest authors to suggest apps with complementary features, without installing them automatically (fixes #1263) 2017-02-12 16:37:02 +11:00
mrkishi e306114063 Notify empty results for scoop-search 2017-01-31 00:50:51 -02:00
Luke Sampson 5a82918d0e Update 'scoop help cache' to show example of removing everything from cache (see #1288) 2017-01-31 09:43:44 +11:00
mrkishi c5f95975c6 Fix scoop-reset's undefined get_config error 2017-01-30 09:00:02 -02:00
Luke Sampson 20dcaaa253 fix appveyor tests 2017-01-24 18:25:25 +11:00
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