Closed
Description
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:
- foo.o is the name of the output file
- foo.o has Artifact ID gitoid:blob:sha1:03fb9d595634e14c261c8732d52e9ee8e7976f55
- 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:
- How to handle dual tree
- What should the suffix be? .omnibor or something else.