Skip to content

Repository files navigation

webOS Compatibility Checker

This is a rewrite of compat-checker in Rust.

Exit codes

All four tools use the same codes. A script can tell an incompatible package from a tool that could not run. A tool reports a bad input or a write failure and exits. It does not panic.

CodeMeaning
0Everything the tool checked is compatible.
1The tool ran, and found an incompatibility.
2Bad command line. This code comes from the argument parser.
3An input file is missing, unreadable, or not in the expected format.
4No firmware data to check against. Either the data is not installed, or --fw-releases matched none.
5The tool could not write its output.

Only webosbrew-ipk-verify and webosbrew-elf-verify use codes 1 and 4.

Code 3 wins over code 1. If the tool cannot read one input, it does not answer the question you asked, so it reports that first.

About

No description, website, or topics provided.

Resources

Stars

5 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages