Skip to content

Define generic directory heirarchy for content addressable objects #140

@stevvooe

Description

@stevvooe

#38, #23 and #94 outlined support for transporting content addressable OCI image objects in a tar layer. Tar may not be a desirable transport in all cases. We need to ensure that we have a generic layout that can work in several situations:

  1. Directory layout works in zipfile.
  2. Directory layout works on most filesystems.
  3. Works over ssh or other path oriented platforms.

A CAS image layout has the following properties:

  1. Only objects are files and directories.
  2. Metadata is not preserved.
  3. Atomic assembly may be undefined (writes).

This issue can be closed when we are confident that the image layout specification is sufficiently generic:

  • Confirm that current image layout doesn't require backwards compatible changes to support this. (pre-1.0)
  • Confirm shipping of content over the following:
    • Plain old directory on windows and unix platform
    • Translating between zip and tar is lossless.
  • Consider directory layout as a possible caching target

My guess is that we already meet much of this criteria. Footwork will be in cross-platform confirmation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions