carvel-dev / vendir

Easy way to vendor portions of git repos, github releases, helm charts, docker image contents, etc. declaratively
https://carvel.dev/vendir
Apache License 2.0
282 stars 50 forks source link

http fails to unpack certain tar.gz files #285

Closed reegnz closed 1 year ago

reegnz commented 1 year ago

What steps did you take:

I wanted to vendor a tar.gz file fetched from github:

apiVersion: vendir.k14s.io/v1alpha1
kind: Config
directories:
- path: sponnet
  contents:
  - path: .
    http:
      url: https://github.com/spinnaker/sponnet/archive/refs/tags/v1.26.0.tar.gz
      unpackArchive: true

What happened: The tar.gz file was not unpacked.

What did you expect: The tar.gz file should have been unpacked.

Anything else you would like to add: Originally I experimented with a fix for the issue mentioned in #150.

Environment:

❯ vendir version
vendir version 0.34.3

Succeeded

OS: MacOS Ventura 13.5


Vote on this request

This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.

πŸ‘ "I would like to see this addressed as soon as possible" πŸ‘Ž "There are other more important things to focus on right now"

We are also happy to receive and review Pull Requests if you want to help working on this issue.

reegnz commented 1 year ago

Opened this issue because I was asked to by @praveenrewar in https://github.com/carvel-dev/vendir/issues/150#issuecomment-1671193828

github-actions[bot] commented 1 year ago

This issue is being marked as stale due to a long period of inactivity and will be closed in 5 days if there is no response.

reegnz commented 1 year ago

There is an open PR already for this issue, #280 but tests still needs to be extended.