diff options
| author | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-09 12:56:51 +0000 |
|---|---|---|
| committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-01-09 13:50:35 +0000 |
| commit | 8b67cf79d9da6331b512b9e4504522bcc5eb08e8 (patch) | |
| tree | 595b89821978352d4b93bebb7b18462afce85904 /Makefile | |
| parent | c0db4733641302439c7384e3654d3df575c1a1ce (diff) | |
| download | lua-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 'Makefile')
0 files changed, 0 insertions, 0 deletions
