Description
In https://github.com/open-component-model/open-component-model/blob/d134f52155dcc1f25829cd1fff01cac5bd7aa5a6/bindings/go/helm/repository/resource/resource_repository.go#L118 we added a helper method that walks the downloaded dir and tars a helm chart and prov file.
This should actually be doable with filesystem.GetBlobFromPath (https://github.com/open-component-model/open-component-model/blob/1062fdf73fd4724133ca0fe0c81b5a9e58ff1f39/bindings/go/blob/filesystem/blob_from_path.go#L52)
After testing for several hours, we decided to do this at a later stage.
The problem seems to be that GetBlobFromPath works async with Pipes, but our tarReader that later accesses the blob, cannot handle this correctly.
Done Criteria
Description
In https://github.com/open-component-model/open-component-model/blob/d134f52155dcc1f25829cd1fff01cac5bd7aa5a6/bindings/go/helm/repository/resource/resource_repository.go#L118 we added a helper method that walks the downloaded dir and tars a helm chart and prov file.
This should actually be doable with
filesystem.GetBlobFromPath(https://github.com/open-component-model/open-component-model/blob/1062fdf73fd4724133ca0fe0c81b5a9e58ff1f39/bindings/go/blob/filesystem/blob_from_path.go#L52)After testing for several hours, we decided to do this at a later stage.
The problem seems to be that
GetBlobFromPathworks async withPipes, but ourtarReaderthat later accesses the blob, cannot handle this correctly.Done Criteria