aports-lint.1.scd 1.59 KB
Newer Older
Leo's avatar
Leo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


aports-lint - A linter for Alpine Linux's ports (aports)


*aports-lint* <apkbuild...>


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. See *alint(5)* under the aports-lint section
for an explanation of each violation that aports-lint checks for.

aports-lint will print the policy violations found and exit 1, if no violations
are found then nothing will be printed and it will exit 0.

Leo's avatar
Leo committed
21 22 23 24 25 26 27 28 29 30 31 32 33

aports-lint will print to stdout whenever a policy violation is found in the
following format


- *SEVERITY* refers to how severe a violation is, ranging from *S* to *M*.
- *CERTAINITY* refers to how likely it is not a false positive, ranging from *C* to *P*
- *TAG* refers to the tag of the violation, see *alint(5)* for more details.
- *PATH* refers to the path given for *apkbuild-lint* to check.
- *MSG* is a short message meant for humans to know what is the violation.

Leo's avatar
Leo committed
34 35 36 37 38 39 40 41

A slower yet more accurate version of the internal find_repo function used to detect
whether a package is present in an upper repo can be accessed by setting the
*EXPENSIVE_FIND_REPO* variable. Using it will cause time needed to process an APKBUILD
to jump from miliseconds to seconds and is not recommended if providing feedback to the
user in a timely manner is required (like running this as a vim ALE plugin).

Leo's avatar
Leo committed
42 43 44 45 46 47 48

Maintained by Leo <thinkabit.ukim@gmail.com>


*alint(5)* *apkbuild-lint(1)*