Commit Graph
54 Commits
Author SHA1 Message Date
Richard Kuhnt 82ec0fe7a1 Use Newtonsoft.Json for JSONPath querys 2017-09-10 18:04:03 +02:00
Richard Kuhnt 4490140ef8 Improve autoupdate console output 2017-09-10 17:59:25 +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 1e451657a1 Improve regex for finding hash values in checksum files
Add ./ as a possible file prefix
2017-08-24 22:59:03 +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 f737315e73 Merge pull request #1517 from lukesampson/unix-compatible
[WIP] Add Unix compatibility (for maintenance jobs and manifest testing)
2017-05-30 21:59:15 +02:00
Richard Kuhnt 9bf042f8a9 Add $basename variable 2017-05-26 16:18:26 +02:00
Richard Kuhnt 4e56191ae3 Fix the path to manifest 2017-05-24 21:52:55 +02:00
Mathias Hermansson f2305c84c6 Version substitution for license property 2017-05-16 23:24:08 +02:00
Richard Kuhnt 4eb666c6ee Introducing $baseurl variable for hash file downloads 2017-05-14 14:53:25 +02:00
Richard Kuhnt 379d1ba38d Use url_remote_filename() instead of fname and substrings to get the basename 2017-05-14 04:58:45 +02:00
Richard Kuhnt 92ab8f5e80 Move some functions to core.ps1 2017-05-14 04:54:32 +02:00
Richard Kuhnt 3050a44244 Fix hash detection and improve json path for arrays 2017-04-15 13:58:55 +02:00
Richard Kuhnt ed857590f6 Improve default hash extraction for autoupdate
The hash type will be determined automatically
2017-04-14 17:59:29 +02:00
Richard Kuhnt 83000a8539 Improve exception handling for specific version installation and checkver 2017-04-06 18:37:17 +01:00
Rémy 5053c41bf0 Merge branch 'master' into install-specific-version 2017-04-02 22:10:50 +02:00
Simon Hartcher 989a235cb2 Replace abort with throw when autoupdate fails 2017-04-02 13:21:46 +10:00
Simon Hartcher ac9a72992f Abort autoupdate when it has errors 2017-04-01 13:48:39 +11:00
Simon Hartcher 2b96081c21 Merge branch 'master' into install-specific-version 2017-03-31 18:43:23 +11:00
Simon Hartcher bfde58c720 Remove check_url function
Lots of servers block HEAD requests so it's not worth our trouble
maintaining a list of servers
2017-03-31 18:39:38 +11: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
Richard Kuhnt 0ba415d7d2 Show warning only if hash extraction is used 2017-03-18 22:16:13 +01:00
Richard Kuhnt e7a54d802b Show warning hash couldn't be found in hashurl 2017-03-18 22:06:20 +01:00
Rémy 4fb5bb2acb autoupdate extract hash with original filename 2017-03-12 20:12:43 +01:00
Richard Kuhnt d1b4bca73c Autoformat autoupdate.ps1 2017-03-04 18:16:15 +01:00
Richard Kuhnt 8150ce593f Use downloading the files as a last resort for getting updated hashs 2017-03-04 18:15:47 +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
Philipp Tschannen e772900728 Exclude bitbucket from URL check (like github) 2017-02-13 15:31:55 +01:00
Simon Hartcher 9dfc30f931 Add basic specific version installation using autoupdate 2017-02-13 23:34:51 +11:00
Ilja Nosik 4a1d4158a7 Assume that nuget.org URLs are valid
NuGet-Galleries (such as nuget.org or chocolatey.org) don't seem to support HEAD
requests.
2017-02-02 07:34:12 +01:00
Richard Kuhnt 84f212c8f6 Remove -SkipLast to restore Powershell 3 compatibility (fixes #1278)
Remove -SkipLast to restore Powershell 3 compatibility (fixes #1278)
2017-01-30 19:38:02 +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
Richard Kuhnt f41ba41508 Add version substitutions in hashfile urls and extract_dir property 2017-01-17 21:04:52 +01:00
Richard Kuhnt c9a6c4b49d Add matching regex groups as url templates 2017-01-15 16:31:54 +01:00
Richard Kuhnt 93fa2a5e8a Change version templates
Works for Semantic Versioning
2017-01-12 19:30:19 +01:00
Richard Kuhnt f79741b2ef Updates and new autoupdates
* add more version substitutions for urls (e.g. used for 7zip)
  * 7zip add autoupdate
  * update exlixr 1.4.0 and add autoupdate
  * update erlang 19.2 and add autoupdate
  * update ffmpeg 20170110 and add autoupdate
  * update flow 0.37.4 and add autoupdate
  * forge add autoupdate
  * update grails 3.2.4 and add autoupdate
  * update groovy 2.4.7 and add autoupdate
  * fix haskell url
  * update haxe 3.4.0-rc.2 and add autoupdate
  * hub add autoupdate
  * update hugo 0.18.1 and add autoupdate
  * update latex 2.9.6161 and add autoupdate
  * update lessmsi 1.5.1 and add autoupdate
  * update llvm 3.9.1 and add autoupdate
  * update mysql 5.7.17 and add autoupdate
  * fix nginx urls
  * nuget add autoupdate
  * nvm add autoupdate
  * update octave 4.2.0 and add autoupdate
  * update pester 3.4.3 and add autoupdate
  * phantomjs add autoupdate
  * update postgresql 9.6.1 and add autoupdate
  * puppet add autoupdate
  * update racket 6.7 and add autoupdate
  * update rancher 0.12.1
  * rethinkdb add autoupdate
  * update rsync 5.5.0 and add autoupdate
  * rust-msvc add autoupdate
  * rust add autoupdate
  * update sbt 0.13.13 and add autoupdate
  * update scala 2.12.1 and add autoupdate
  * update sqlite 3160200 and add autoupdate
  * update thrift 0.10.0 and add autoupdate
  * update youtube-dl 2017.01.10
2017-01-11 21:14:54 +01:00
Rémy faf40cd098 Some updates and autoupdate fixes and improvements (#1197)
* fix autoupdate hash regression

* update nodejs-lts 6.9.4

* add autoupdate.note

* update mercurial 4.0.2 and add autoupdate

* fix autoupdate if no arch specific options are set

* update syncany-cli 0.4.7 and add autoupdate

* update youtube-dl 2017.01.05 and add autoupdate

* update git-lfs 1.5.4 and add autoupdate

* fix far version number

* update imagemagick 7.0.4-3

* replace imagemagick ffmpeg with dependency (as discussed in #1192)

* update modd 0.4 and add autoupdate

* whitelist chocolatey urls from HEAD check

* update scriptcs 0.16.1 and add autoupdate

* update rg 0.3.2 and add autoupdate

* update kotlin 1.0.6 and add autoupdate

* update xz 5.2.3 and add autoupdate

* update openjdk 1.8.0.111-3 and add autoupdate

* update git-up 1.4.1 and add autoupdate

* update ninja 1.7.2 and add autoupdate
2017-01-08 08:26:20 +11:00
Rémy 551a21eab8 autoupdate, make hash mode download the default 2017-01-01 18:49:20 +01:00
Rémy 68781a890e Breaking, change autoupdate definition to use the same logic as the
architecture by the core / update the affected manifests / ability to
change extract_dir based on arch / add nssm autoupdate
2017-01-01 17:30:18 +01:00
Rémy 98bc32ce71 autoupdate update codestyle to match scoop / remove useless semicolons 2017-01-01 16:37:40 +01:00
Rémy b33049a969 Autoupdate RDF source documentation 2017-01-01 13:56:53 +01:00
Rémy 11794fe6e0 update curl 7.52.1 (*) and add autoupdate support / add autoupdate $underscoreVersion (would be
7_52_1)

Currently winampplugins.co.uk serves the 7.52.1 binary in the file
called 7.52.0
2017-01-01 13:40:59 +01:00
Rémy 5170cb9185 add support for sha512 hashes / autoupdate custom hash type support 2017-01-01 13:17:55 +01:00
Rémy 27268c455d add autoupdate RDF hash extraction support 2017-01-01 12:36:32 +01:00
Rémy 9d066eb9a4 yarn autoupdate / update yarn 0.17.10 2016-12-11 13:48:14 +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 9f7b504cff autoupdate hash url $url variable 2016-12-11 12:01:04 +01:00
Rémy 228fdc8c41 autoupdate add support for url arrays 2016-12-11 11:35:18 +01:00