518 Commits

Author SHA1 Message Date
Richard Kuhnt 65a804d15f Improve cleanup command output and behavior 2017-08-30 22:13:09 +02:00
Richard Kuhnt 2020a47506 Use app_status() in the actual status command 2017-08-30 22:11:27 +02:00
Richard Kuhnt 51564672c4 Use show as default option for cache command 2017-08-30 21:41:43 +02:00
Richard Kuhnt 4ab82f60bb Run scoop update every so often before installing/updating apps
This change should reduce issues with outdated manifests/hashes/URLs.
Every successful execution of `scoop update` will save the date/time to `~\.scoop`
Every execution of `scoop update x` or `scoop install x` will check last saved date/time and run `scoop update` beforehand if the last run was more than 3 hours ago.
2017-08-30 17:17:38 +02:00
Richard Kuhnt e57c2ce08e Use write-host in update command 2017-08-30 17:08:30 +02:00
Richard Kuhnt e74d7de883 Remove unused and commented code from update command 2017-08-30 15:11:14 +02:00
Richard Kuhnt 84bd16b82d Improve ensure_all_installed() behavior and move it to core.ps1
This change removes the use of abort() and exit 1 from ensure_all_installed() so the command doesn't stop if only one app in the list is not found.
2017-08-30 15:10:45 +02:00
Richard Kuhnt 9b3e7c83f9 Move applist() from update/cleanup commad to core 2017-08-30 15:06:54 +02:00
Richard Kuhnt 8f1f7d99fe Better cleanup command output 2017-08-30 15:04:17 +02:00
Richard Kuhnt 6bce220334 Fix cleanup command help 2017-08-30 15:03:33 +02:00
noah the goodra 60e424bdb0 add cleanup command (#1648) 2017-08-30 14:45:45 +02:00
Luke Sampson 06ecaa87c1 Fix remote search doesn't show full app name. (fixes #1612) 2017-07-20 16:53:18 +10:00
Richard Kuhnt 35c93ab4aa Remove blocking abort from scoop update 2017-07-10 21:11:35 +02:00
TeaDrivenDev 1342452b04 Reduce feedback messages 2017-06-19 03:39:15 +02:00
TeaDrivenDev ae3dd3883a Improve feedback messages when Scoop is outdated and updated 2017-06-04 18:58:49 +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