Skip to content

Replace inmemory blob with direct blob in input methods #580

@ikhandamirov

Description

@ikhandamirov

Description

dir and helm input methods default to inmemory.New() when creating blob.ReadOnlyBlob instances. This is not desired, and the behavior should be changed in favor of using the direct blobs, introduced by open-component-model/open-component-model#503.

We want this, because then no input method will buffer by default and the consumer (instead of the producer) can actually decide on buffering or not. An example where this is useful is when we have compressed blobs after which we only have dynamic size information. We can delay the buffering until the OCI layer: open-component-model/open-component-model#512

Done Criteria

  • Code has been reviewed by other team members
  • Analysis of existing tests (Unit and Integration)
  • Unit Tests created for new code or existing Unit Tests updated
  • Integration Test Suite updated (includes deletion of existing unnecessary Integration Test and/or creation of new ones if required)
  • Enduser Documentation updated (if applicable)
  • Internal technical Documentation created/updated (if applicable)
  • Successful demonstration in Review

Metadata

Metadata

Labels

area/ipceiImportant Project of Common European Interestkind/tasksmall task, normally part of feature or epic

Type

No fields configured for Task.

Projects

Status
🍺 Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions