Commit Graph
381 Commits
Author SHA1 Message Date
Luke Sampson 1cba11e625 Show remote filename in messages when a downloaded file is being coerced to a new filename 2017-02-24 11:11:01 +11:00
Luke Sampson 24127669bd Handle dashed version components (fixes #1344) 2017-02-21 22:02:47 +11:00
Luke Sampson 02863d3a30 Possible temporary fix for #1334, disable download progress if content length has not been set (-1) 2017-02-14 13:56:46 +11:00
Luke Sampson b77e5c49f4 UI message formatting. 2017-02-14 13:47:48 +11:00
Philipp Tschannen e772900728 Exclude bitbucket from URL check (like github) 2017-02-13 15:31:55 +01: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 1ce2a76e43 Update usage messages for consistency. 2017-02-13 20:33:55 +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
Simon Hartcher 9cd2b1a293 Avoid calculating filename twice in dl_urls 2017-02-11 18:51:26 +11:00
Simon Hartcher 83a4f33c22 Download first, then check hash and extract 2017-02-11 18:45:34 +11:00
Simon Hartcher 48492f9c19 Replace url_filename with better implementation 2017-02-11 18:28:52 +11:00
Simon Hartcher c148f543b2 Remove unused return value. Refactor url_filename into method 2017-02-11 18:20:45 +11:00
Simon Hartcher f62dacef0b Fix: Progress bar no longer jumps when hitting 100% 2017-02-11 18:09:28 +11:00
Simon Hartcher 798e07a053 Add comments and fix a few bugs 2017-02-11 18:04:49 +11:00
Simon Hartcher 7f06bd6b38 Remove $url from dl_onProgress callback arguments 2017-02-11 17:40:05 +11:00
Simon Hartcher 75e8b630a5 Nicer progress bar 2017-02-11 17:35:37 +11:00
Simon Hartcher 20c23b45e6 Remove -nonewline from simple output 2017-02-11 16:26:27 +11:00
Simon Hartcher 3bc4782cd1 Add better progress output control by passing url 2017-02-11 16:21:42 +11:00
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