aports-lint(1)
π aports-lint(1) π
okay so bestie, you're looking at the aports-lint(1) page from the General Commands Manual, and it's giving Alpine Linux package-linting realness β¨
πΈ NAME πΈ
aports-lint β a linter for Alpine Linux's ports (aports) π«Ά
β¨ SYNOPSIS β¨
aports-lint <apkbuild...>
π DESCRIPTION π
aports-lint is a linter for packages in aports and their relation to other packages in the same repo. It searches for instances of policy violations, duplicate packages and others. For an explanation of each violation that aports-lint checks for, see alint(5) under the aports-lint section.
When it finds policy violations, aports-lint will print them and exit 1. If no violations are found, then nothing will be printed and it will exit 0. no cap, that's the whole vibe check π
π₯ OUTPUT π₯
aports-lint will print to stdout whenever a policy violation is found, in the following format:
SEVERITYCERTAINITY:[TAG]:PATH::MSG
SEVERITYβ how severe a violation is, ranging fromStoMβCERTAINITYβ how likely it is not a false positive, ranging fromCtoPπ¦TAGβ the tag of the violation; seealint(5)for more details π·οΈPATHβ the path given forapkbuild-lintto check π€οΈMSGβ a short message meant for humans to know what the violation is π¬
π EXPENSIVE FIND REPO π
There's a slower yet more accurate version of the internal find_repo function, which is used to detect whether a package is present in an upper repo. You can access it by setting the EXPENSIVE_FIND_REPO variable.
Using it will cause the time needed to process an APKBUILD to jump from miliseconds to seconds, and it is not recommended if providing feedback to the user in a timely manner is required (like running this as a vim ALE plugin). fr fr, that speed drop is real π
π AUTHORS π
Maintained by Leo <thinkabit.ukim@gmail.com> π«Ά
π SEE ALSO π
π That's the page, bestie β from the General Commands Manual, aports-lint(1), dated 2026-10-14. byeee! π
β¨
π¦ where this page comes from
- alpine 3.24: atools-doc 20.2.2-r27 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms