Generate Build Specification

Description

Generate a build specification for a given software component.

Usage

usage: ./run_macaron.sh gen-build-spec [-h] -purl PACKAGE_URL --database DATABASE [--output-format OUTPUT_FORMAT]

Options

-h, --help

Show this help message and exit.

-purl PACKAGE_URL, --package-url PACKAGE_URL

The PURL (Package URL) string of the software component for which the build specification is to be generated.

--database DATABASE

Path to the database.

--output-format OUTPUT_FORMAT

The output format. Can be default-buildspec (default), rc-buildspec (Reproducible-central build spec for Java), or dockerfile (currently only supported for Python packages)

Build Specification Schema

The corresponding JSON schema is available in the resources directory of the repository. Be sure to use the schema that matches your Macaron release by selecting the appropriate GitHub tag.