Skip to content

Alternate non-embedding proposal #53

Closed
@edwarnicke

Description

@edwarnicke

There has been much discussion about a non-embedding mode for OmniBOR.

Typically these proposals have all run up against a complication: it must be possible for a build tool to, by inspection, figure out the Input Manifest Identifier of an artifact it is attempting to use as input.

One possible approach for consideration might be for an output artifact, the build tool writes a simple file into the same directory as the output artifact named ${outputfile}.omnibor containing a very simple single record Input Manifest for the artifact.

Example:

  1. foo.o is the name of the output file
  2. foo.o has Artifact ID gitoid:blob:sha1:03fb9d595634e14c261c8732d52e9ee8e7976f55
  3. foo.o has Input Manifest ID gitoid:blob:sha1:7df059597099bb7dcf25d2a9aedfaf4465f72d8d

Then in the same directory as foo.o, write out a file foo.o.omnibor containing:

gitoid:blob:sha1:
blob 03fb9d595634e14c261c8732d52e9ee8e7976f55 bom 7df059597099bb7dcf25d2a9aedfaf4465f72d8d

Things to address with this idea:

  1. How to handle dual tree
  2. What should the suffix be? .omnibor or something else.

Metadata

Metadata

Assignees

No one assigned

    Labels

    c-specCategory: Improvements or additions to the OmniBOR specifications-needs-infoStatus: Further information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions