Commit Graph
360 Commits
Author SHA1 Message Date
Simon Hartcher eacd2778d0 Make progress stateless 2017-02-11 16:16:20 +11:00
Simon Hartcher 93916d618e Remove smelly reference to $wres in dl_progress 2017-02-11 15:23:21 +11:00
Simon Hartcher b5788250d1 Remove old comment 2017-02-11 15:20:54 +11:00
Simon Hartcher 87c6756d3c Refactor dl functions
In the future I want to be able to have different download providers
(aria2c for example) so I'm trying to decouple progress display a bit.

- Removed dl_simple
- Refactored dl_progress; Renamed to dl
- Added dl_progress function
2017-02-11 15:14:53 +11:00
Simon Hartcher 1d6c524629 Reduce dl_progress nesting to make more readable 2017-02-11 14:19:04 +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 211249238e handle downloading a zip containing a zip of the same name (see #1276) 2017-01-30 08:01:05 +11: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 2339036e6f fix prune_uninstalled 2017-01-24 18:23:44 +11:00
Luke Sampson 33e6fbb30c fix prune_uninstalled not populating array correctly 2017-01-24 18:19:30 +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 faa91eadc6 fix AppVeyor tests 2017-01-22 14:47:47 +11:00
Luke Sampson d15bb91cb7 Add support for installing PowerShell modules (see #1246) 2017-01-22 14:44:54 +11:00
Luke Sampson dd5dbfdb5c reset gm => get-member alias (fixes #1222) 2017-01-18 09:15:37 +11:00
Richard Kuhnt f41ba41508 Add version substitutions in hashfile urls and extract_dir property 2017-01-17 21:04:52 +01:00
Luke Sampson f731c1b1b3 Use any available SSL/TLS protocol for HTTPS downloads (see #1214) 2017-01-16 20:25:44 +11: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
Luke Sampson a14ffdb588 allow disabling 'current' version directory with NO_JUNCTIONS config setting (see #1202) 2017-01-10 08:47:08 +11: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
zeero 13689ccf17 Add support for lzh format. (with 7zip) 2017-01-06 00:48:25 +09:00
Luke Sampson 8b1871b20d fix: uninstall fails to remove architecture-specific shims (fixes #1191) 2017-01-04 17:42:32 +11:00
Luke Sampson 56654fb3ac Remove USE_JUNCTIONS config setting and always use 'current' directory junction to link to the currently installed version (see #1179) 2017-01-03 09:11:48 +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
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
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
Rémy b347148bbb json depth 2016-12-11 11:24:37 +01:00
Rémy 66a7f2b210 autoupdate add sha1 type 2016-12-11 10:53:14 +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
Luke Sampson 0f5ab26ab0 fix appveyor errors 2016-11-27 09:24:37 +11:00
Rémy 39360036c6 First implementation of manifest autoupdate 2016-11-26 17:32:35 +01:00
Luke Sampson fc54b2fd58 switch from ~/appdata/local/scoop to ~/scoop for new installation 2016-11-01 11:57:52 +11:00
Luke Sampson c245a7fe96 shortcuts: get start menu folder location from environment rather than predefined user profile path (see #1029) 2016-09-22 18:20:26 +10:00
Luke Sampson 25676b79cf reduce console flicker during downloads by only updating download progress % when it has changed 2016-09-21 09:47:59 +10:00
Luke Sampson ef7bcce6f7 move shortcut functions to separate file 2016-09-21 09:41:01 +10:00
Luke Sampson b583c996e2 fix appveyor error 2016-08-20 11:30:56 +10:00
Luke Sampson f435fa35be allow .ps1 uninstaller 2016-08-20 11:27:45 +10:00
Luke Sampson 31d0f98f5f fix architecture-specific shims (see #950) 2016-07-08 07:04:26 +10:00