manifest check
Validate a manifest file for installation errors and quality warnings.
Usage
foton manifest check [OPTIONS] <MANIFEST>
Arguments
<MANIFEST>
Path to the manifest file to validate.
Options
--no-confirm
Skip interactive confirmation prompts.
--warnings-as-errors
Treat warnings as errors, causing the command to fail if any warning is emitted.
What the command checks
manifest check reads the manifest and then stages it as if it were going to be
installed.
This includes downloading and examining the source archives or files described
by the manifest.
The command reports:
- installation errors that would prevent the package from being installed
- quality warnings for common authoring mistakes
Common warnings
Warnings can include:
- missing
display-name - missing
description - missing
license - duplicate display names or face names after normalization
includepatterns that match nothingexcludepatterns that match nothing- wildcard
includepatterns that are broader than necessary - font-like files that are neither included nor excluded
Examples
foton manifest check <manifest-path>
Treat warnings as errors:
foton --warnings-as-errors manifest check <manifest-path>
Notes
- This command is primarily intended for package authors.
- Because the command fetches sources, network access may be required.
- A manifest that parses successfully can still fail
manifest checkif the sources are invalid or the selected files do not install correctly.