githubRelease.unpackArchive.path
should support globbing
#49
Labels
carvel-accepted
This issue should be considered for future work and that the triage process has been completed
enhancement
This issue is a feature request
Describe the problem/challenge you have
Assets in Github releases often include the release version as part of the asset's filename, but
vendir
'sunpackArchive
option does not currently support globbing, although thegithubRelease.assetNames
array does support globbing. Lack of globbing support means thatunpackArchive
cannot be used as intended for many Github Releases.Currently, attempting to pass a glob results in a cryptic "Expected known archive type (zip, tgz, tar)" error message.
For example,
this works, but you have to know the filename in advance:
this fails:
“Error: Syncing directory ‘config/upstream’: Syncing directory ‘prometheus’ with github release contents: Expected known archive type (zip, tgz, tar)”
Describe the solution you'd like
Globbing should be supported. If the user-provided glob matches multiple files, an error message would be acceptable, as would be unpacking all of the specified archives.
The text was updated successfully, but these errors were encountered: