Commit graph

7 commits

Author SHA1 Message Date
alecmerdler
1142519139 tests for DataFileServiceImpl 2017-03-12 00:29:39 -08:00
alecmerdler
4e913f106d refactored DockerfileServiceImpl to return promise instead of callbacks 2017-03-09 01:26:19 -08:00
Joseph Schorr
ba0ecf03dd Fix bugs around reading in datafiles and Dockerfiles
We now properly try to read archives in all three formats. If none are valid, the dataFileService.readDataArrayAsPossibleArchive fails (as it should), and then the Dockerfile service will try to read the file directly as a Dockerfile.

Fixes #1889
Fixes #1891
2016-09-29 11:36:57 +02:00
Joseph Schorr
5e94f97a42 Fix tar-gz reading of Dockerfiles
- Fixes TAR to actually use data
- Fixes buffers for Gunzip to be a proper ArrayBufferView

Fixes #1832
2016-09-13 11:34:35 -04:00
Joseph Schorr
70b72818b7 Fix handling of plain Dockerfiles
Fixes #901
2015-11-20 18:09:25 -05:00
Joseph Schorr
7d6b4b621f Show an error if the gunzip returns an empty buffer 2015-11-04 14:50:56 -05:00
Joseph Schorr
9b87999c1c Code cleanup part #1: move all the services and directive JS code in the app.js file into its own files 2015-02-19 16:21:54 -05:00