Ilja Nosik
ecc0e44969
Use the correct Regex.Matches method ( #1707 )
...
References #1704 .
2017-09-14 09:43:13 +02:00
Richard Kuhnt
806785c636
Remove the .NET 4.7 only Group.Name property from checkver.ps1
...
The Name property was first added to System.Text.RegularExpressions.Group with .NET 4.7 (See: https://msdn.microsoft.com/en-us/library/system.text.regularexpressions.group.name )
This change makes checkver.ps1 backward compatible with older .NET versions. (thanks @nightroman)
2017-09-13 18:59:40 +02:00
Richard Kuhnt
c30a4c6432
Fix possible null reference
2017-09-12 20:06:21 +02:00
Richard Kuhnt
25dfc4d997
Rename variable so it doesn't impact automatic $matches variable (see #1704 )
2017-09-12 19:32:51 +02:00
Richard Kuhnt
82ec0fe7a1
Use Newtonsoft.Json for JSONPath querys
2017-09-10 18:04:03 +02:00
Richard Kuhnt
8098bf58b7
Add reverse property to checkver ( #1630 )
...
* Add reverse property to checkver
If set to true, the regex matches get reversed. This helps to find new versions in directory listings. (see x264)
* Update x264 to version 2851
2017-09-10 17:53:31 +02:00
Richard Kuhnt
2d8e2a079a
Remove wrong continue from checkver.ps1
2017-06-10 15:49:04 +02:00
Richard Kuhnt
492dc44b4d
Improve force update logic in checkver.ps1
...
force update now really forces an update (prior to this change it only worked when the versions were the same)
2017-06-10 15:45:27 +02:00
Richard Kuhnt
24fd3a3c7e
Move unix compatible functions to unix.ps1
...
- Change helper functions to snake_case
2017-05-28 13:59:42 +02:00
Richard Kuhnt
83000a8539
Improve exception handling for specific version installation and checkver
2017-04-06 18:37:17 +01:00
Richard Kuhnt
9a650799e0
Strip filename from referer url
2017-03-21 17:52:10 +01:00
Richard Kuhnt
c682723d99
Add referer-header to all webrequests
2017-03-19 16:29:27 +01:00
Rémy
df74d2bc0e
autoupdate: do not autodowngrade
...
The autoupdate function did not check if the found version is newer
(just !=) so it was happy to downgrade everything automatically.
Downgrades can still be forced with the -force param
2017-03-13 21:12:19 +01:00
Richard Kuhnt
825f19aa52
Add jsonpath support for checkver and hash extraction
...
Unravel if-blocks in checkver
Use new jsonpath for openssl, nuget, dart and bfg
2017-03-03 21:15:37 +01:00
Richard Kuhnt
cd49d0e37c
Better error handling for autoupdate and checkver
...
do_dl() now rethrows an exception instead of aborting. this prevents killing the autoupdate process prematurely and thus skipping queued updates.
2017-03-02 21:01:54 +01:00
Luke Sampson
8a457e3abf
fix autoupdate always writes to main bucket directory even when another directory is specified (see #1273 )
2017-01-27 15:48:35 +11:00
Luke Sampson
b79c5d4825
use any available SSL/TLS protocol with checkver (see #1214 )
2017-01-17 18:31:38 +11:00
Richard Kuhnt
c9a6c4b49d
Add matching regex groups as url templates
2017-01-15 16:31:54 +01: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
Ross Smith II
c3a0e77412
Add Windows NT to useragent ( fixes #1180 )
2016-12-30 12:58:52 -08: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
39360036c6
First implementation of manifest autoupdate
2016-11-26 17:32:35 +01:00
Richard Kuhnt
7ce9b7617e
Add scoop user-agent to checkver ( closes #1077 ) ( #1079 )
2016-10-11 07:50:07 +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
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