summaryrefslogtreecommitdiffstats
path: root/.luacheckrc
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2019-01-09 12:56:51 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2019-01-09 13:50:35 +0000
commit8b67cf79d9da6331b512b9e4504522bcc5eb08e8 (patch)
tree595b89821978352d4b93bebb7b18462afce85904 /.luacheckrc
parentc0db4733641302439c7384e3654d3df575c1a1ce (diff)
downloadlua-aports-8b67cf79d9da6331b512b9e4504522bcc5eb08e8.tar.bz2
lua-aports-8b67cf79d9da6331b512b9e4504522bcc5eb08e8.tar.xz
buildrepo: refactor plugin API
simplify the args passed to plugin hooks: prerepo(conf, repo, stats) prebuild(conf, aport, progress) postbuild(conf, aport, success) postrepo(conf, repo, stats) By passing over conf we reduce number of args passed to hook function and we make it possible to set config options in /etc/buildrepo/config.lua that is passed on to the hook. This is useful for setting things like mqtt broker, url prefix for buildlogs and similar.
Diffstat (limited to '.luacheckrc')
0 files changed, 0 insertions, 0 deletions