Skip to content

0.8.0

Choose a tag to compare

@mariotaku mariotaku released this 06 Aug 23:59
· 5 commits to main since this release

Two package-level faults ipk-verify said nothing about. Both warn, and neither changes the exit code.

A package not built by a packager

:warning: This package looks hand-rolled. Please build it with `ares-package`.

Such a package has whatever layout its author gave it, and the rest of the report rests on that. webosbrew/apps-repo#218 had to be turned away for this by hand: its control file stopped after Description, and the missing Installed-Size crashed the repogen side of the check with a message that named none of it.

ares-package from webos-tools/cli and ares-cli-rs both always write Installed-Size and the two webOS-* fields, so their absence is the signal. Checked against every package in apps-repo: none of them warns.

Install hooks

:warning: This package carries install hooks (postinst, prerm). webOS runs none of them.

webOS runs no maintainer script, so a package that puts its setup in a postinst installs and does nothing it meant to do. preinst, postinst, prerm and postrm are reported; md5sums and conffiles carry no code, so they are not.

Fixtures

Two packages hold the same trivial web app, built both ways: ares_packaged.ipk straight out of ares-package, and hand_rolled.ipk written by hand with both faults. The tests read real files, not a mock.