1. 22 Nov, 2019 2 commits
  2. 11 Nov, 2019 4 commits
  3. 05 Nov, 2019 1 commit
    • Kevin Daudt's avatar
      apkbuild-lint: fix false negative with custom variables · 766fb58e
      Kevin Daudt authored
      When a non-standard variable has a prefix of a standard variable,
      apkbuild-lint does not complain at the moment. For example:
      
      ```sh
      depends_foo="abc"
      ```
      
      is a non-standard variable, but because it starts with `depends`, which
      is a standard variable, it is not caught.
      
      Let's fix that by including an `=` in the negative lookahead, so no
      longer functions as a prefix match. See [regexp101 example][0].
      
      [0]:https://regex101.com/r/qhVwsP/1
      766fb58e
  4. 04 Nov, 2019 1 commit
    • Kevin Daudt's avatar
      initd-lint: prevent false positive for start_pre · 16de5ac6
      Kevin Daudt authored
      start_pre is perfectly fine to have in an init script, but initd-lint
      accidentally flagged it as a custom `stop` function.
      
      Tighten the match for custom start/stop function to prevent false
      positives.
      16de5ac6
  5. 22 Oct, 2019 1 commit
  6. 21 Oct, 2019 2 commits
    • Kevin Daudt's avatar
      run unittests in gitlab-ci · 79924db2
      Kevin Daudt authored
      79924db2
    • Kevin Daudt's avatar
      apkbuild-lint: allow double underscore as argument · c4e38033
      Kevin Daudt authored
      apkbuild-lint guards against parameters starting with a double
      underscore as they are reserved. But the check for this is a bit too
      eager and also warns when something starts with a double underscore
      which is not a variable.
      
      For example:
      
      ```sh
      function foo() {
          make -D__VAR=value
      }
      ```
      
      is a legal construct, but this resulted in a warning. This is because
      the start-of-string / tab part was marked optional, which makes the test
      look for anything starting with a double underscore.
      
      Remove the `?` from the group to actual anchor the check.
      
      Fixes #24
      c4e38033
  7. 11 Oct, 2019 2 commits
  8. 14 Sep, 2019 2 commits
  9. 26 Aug, 2019 5 commits
  10. 17 Aug, 2019 2 commits
  11. 06 Aug, 2019 8 commits
  12. 01 Aug, 2019 3 commits
  13. 31 Jul, 2019 7 commits