Skip to content
Snippets Groups Projects

lint: generate options from kconfigcheck.toml

Merged Imported Administrator requested to merge lint-from-kconfigcheck-toml into master
  1. Oct 13, 2024
    • Oliver Smith's avatar
      lint: generate options from kconfigcheck.toml (MR 2412) · bf9f7586
      Oliver Smith authored
      Now that we have moved the kconfigcheck configuration into pmaports
      branches via kconfigcheck.toml, it is time to get rid of the hardcoded
      list of valid "pmb:kconfigcheck-…" options for APKBUILDs. Generate it
      from the kconfigcheck.toml of the current branch, too.
      
      These options are passed from "pmbootstrap lint" to "apkbuild-lint",
      which we run in pmaports CI.
      Unverified
      bf9f7586
    • Oliver Smith's avatar
      lint: make output of apkbuild-lint easy to spot (MR 2412) · 67a52b94
      Oliver Smith authored
      The output of apkbuild-lint is hard to spot among other log messages
      from pmbootstrap, because it is not colorized.
      
      Add "*** apkbuild-lint output ***"" before and after the output of
      apkbuild-lint, so we get a standing out message in green around the
      apkbuild-lint output.
      Unverified
      67a52b94
    • Oliver Smith's avatar
      lint: run apkbuild-lint as user, not root (MR 2412) · 8b48a95c
      Oliver Smith authored
      It is not needed to run the linter as root, so don't do it. This is
      probably a leftover from early days pmbootstrap, where pmaports.git
      wasn't chowned by the user running pmbootstrap.
      Unverified
      8b48a95c
Loading