kipr / harrogate

The IDE for the Wombat
GNU General Public License v3.0
5 stars 10 forks source link

Zip download fails for projects with multiple files #42

Closed jsoutherland closed 8 years ago

jsoutherland commented 8 years ago

As discovered in #41:

.zip downloads break if the project contains multiple files. We are using zip-stream for zip downloads which does not handle asynchronous calls to add entries. This works in VMs but not on our controllers. We should use archiver (https://www.npmjs.com/package/archiver) to fix this and simplify our .tar, .tar.gz, and .zip download code.