Richard Kuhnt
c9a6c4b49d
Add matching regex groups as url templates
2017-01-15 16:31:54 +01:00
Luke Sampson
8b1871b20d
fix: uninstall fails to remove architecture-specific shims ( fixes #1191 )
2017-01-04 17:42:32 +11:00
Rémy
98fba649fb
Checkver add github helper
...
Lot of manifests are using github tags to find the latest version the
url's and regex is mostly the same.
`checkver` now can also be the string "github" if the `homepage` links
to the github repo
If `homepage` is not the repo `{"checkver": "github":
"https://github.com/user/repo "}` can be used
2017-01-01 18:22:31 +01:00
Rémy
5bb63483a4
Add -forceUpdate switch to bin/checkver.ps1
...
Useful for when only hash updates and for testing ;-)
2017-01-01 16:59:22 +01: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
Ross Smith II
c3a0e77412
Add Windows NT to useragent ( fixes #1180 )
2016-12-30 12:58:52 -08:00
Mikhail-T
cc37f6e335
improved message
2016-12-25 17:42:07 -06:00
Mikhail-T
4aebd39d8b
show message only if execution policy is not set
2016-12-25 17:28:01 -06:00
Mikhail-T
566608b695
confirm making execution policy change
2016-12-25 16:57:38 -06:00
Mikhail-T
03c9f4e1f3
removed trailing spaces
2016-12-24 21:08:26 -06:00
Mikhail-T
73a2fcae35
set execution policy on scoop install
...
I've tested this by running updated script as below:
```iex (new-object net.webclient).downloadstring('https://gist.githubusercontent.com/mikhail-tsennykh/f65a3addf22b36681b1eb7c6d708bed2/raw/4040fe0c156512a63b1dcfea2fd5595b26e1a1f1/scoop%2520auto%2520set%2520execution%2520policy%2520test ')```
nice to skip extra step (unless there is some good reason not to do it on scoop install).
2016-12-24 21:03:53 -06:00
Rémy
981fc22be4
show autoupdate info in checkver output
2016-12-11 14:03:21 +01:00
Rémy
976d358c87
autoupdate single url/hash support / update extract_dir / hashing by download
2016-12-11 13:34:01 +01:00
Rémy
f3d486c1c5
fix manifest encoding
2016-12-11 09:50:09 +01:00
Rémy
904d0703f9
custom json formatter
2016-12-11 09:50:09 +01:00
Rémy
39360036c6
First implementation of manifest autoupdate
2016-11-26 17:32:35 +01:00
Rémy
2f982802d8
Add checkver definition to many apps ( #1119 )
...
* add checkver definitions
* add script to list manifests without checkver definition
2016-11-10 13:32:59 +11:00
Richard Kuhnt
7ce9b7617e
Add scoop user-agent to checkver ( closes #1077 ) ( #1079 )
2016-10-11 07:50:07 +10:00
Luke Sampson
ef7bcce6f7
move shortcut functions to separate file
2016-09-21 09:41:01 +10:00
Luke Sampson
b30afe650d
don't terminate Powershell session when calling install with invoke-expression (see #980 )
2016-08-15 07:10:33 +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
1a2db05366
Fix #376 Robocopy is not always in PATH
...
Add ensure_robocopy_in_path method to core.ps1 which checks if
robocopy is available, then shims it if not.
2015-05-30 17:53:41 +10:00
Luke Sampson
bc1a8e4945
brute force fix for powershell alias problems
2015-05-11 20:17:59 +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
5cdc47214a
Add .bashrc generation to install script
...
Fixes #354
2015-05-09 23:38:32 +10:00
Luke Sampson
93b3630db5
add bin/test shortcut
2015-04-13 12:22:18 +10:00
Simon Hartcher
ed3972ee75
Removed unused timestamp code
2015-04-04 14:58:04 +11:00
Luke Sampson
b4ab131d91
add proxy support, see #86
2014-05-12 12:42:55 +10:00
Luke Sampson
89f0eca323
use single-line regexp for checkver
2014-04-04 10:48:29 +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
f0ca6332f2
remove any existing events from session before checking versions
2014-03-03 22:25:13 +10:00
Luke Sampson
199919aedd
async version checking
2014-03-03 22:15:07 +10:00
Luke Sampson
11cf9c7d93
make it easier to check one app
2014-03-03 21:16:19 +10:00
Luke Sampson
410753833c
julia 0.2.1
2014-03-03 20:50:59 +10:00
Luke Sampson
328a22ada4
git 1.9.0 (checkver)
2014-03-03 20:31:23 +10:00
Luke Sampson
14e24e5f32
script to check websites for current versions of programs
2014-03-03 20:23:51 +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
634464e3de
simpler, faster unzip (5x speedup, see #35 )
2013-12-02 12:33:40 +10:00
Luke Sampson
e9a89bebe6
disable strict mode for scoop command (see #33 and #36 )
2013-11-13 08:23:27 +10:00
Luke Sampson
60a499e5a7
fix 7zip msi code (64/32bit codes are different)
2013-09-03 15:07:58 +10:00
Luke Sampson
0f222b74be
support globally uninstalling scoop
2013-09-03 14:26:13 +10:00
Luke Sampson
cb291e656b
handle 'scoop /?', work on getopt
2013-09-02 15:59:15 +10:00
Luke Sampson
9ee42e7c0a
refactor installed_apps, more reorg for global
2013-09-01 12:41:54 +10:00
Luke Sampson
555e189d33
beginning refactoring for global installs
2013-08-30 16:58:20 +10:00
Luke Sampson
cb57c494ce
rename *_env functions to env_*
2013-08-26 08:29:31 +10:00
Luke Sampson
7ccaf2b1cd
fix bug in install trying to write last_updated, remove shims one-by-one when uninstalling apps so they aren't left around to cause strange errors when another app dir can't be deleted later down the line
2013-08-15 15:05:19 +10:00
Luke Sampson
6326cc23e4
clearer uninstall
2013-08-15 15:00:41 +10:00
Luke Sampson
a59cbfadbf
fix uninstall bug that deleted all files in current dir
2013-08-15 14:56:22 +10:00
Luke Sampson
970ecc75a0
better uninstall?
2013-08-15 14:49:33 +10:00