pivotal-cf / azure-blobstore-resource

A concourse resource to interact with the azure blob service.
MIT License
16 stars 15 forks source link

Would it be possible to support unpacking blobs similar to S3? #7

Closed flamechair closed 5 years ago

flamechair commented 5 years ago

The S3 Concourse supports unpacking blobs (unpack: true) as part of in, would it be possible to do the same here? The code is already written and would just have to be ported to support Azure blobstore: https://github.com/concourse/s3-resource/blob/master/in/archive.go

cf-gitbot commented 5 years ago

We have created an issue in Pivotal Tracker to manage this. Unfortunately, the Pivotal Tracker project is private so you may be unable to view the contents of the story.

The labels on this github issue will be updated when the story is started.

christianang commented 5 years ago

This sounds useful, but given my limited time to work on this resource I'm going to open this up to others to PR.

christianang commented 5 years ago

The unpack param on in has been implemented and is near feature parity with the s3 resource. Currently, supports tar, zip, gzip files similar to s3. I haven't implemented support for gzipped tarballs yet and will get to it at a later date, but 90% of the way there.

christianang commented 5 years ago

.tar.gz files are now supported with unpack so this have parity with the s3 resource (506ce413774b336b5336dde324b5f69892ab5325).

Closing.