<feed xmlns='http://www.w3.org/2005/Atom'>
<title>lua-aports/bin, branch master</title>
<subtitle>Lua module to handle Alpine Linux aports tree
</subtitle>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/'/>
<entry>
<title>buildrepo: set APORTSDIR before calling abuild</title>
<updated>2019-09-17T09:59:05+00:00</updated>
<author>
<name>Sören Tempel</name>
<email>soeren+git@soeren-tempel.net</email>
</author>
<published>2018-10-14T12:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=9962a1eae793607a60f41ec62690a831f7179d63'/>
<id>9962a1eae793607a60f41ec62690a831f7179d63</id>
<content type='text'>
Without this change buildrepo fails if -a is given but the APORTSDIR
environment variable is not set when using `abuild rootbld`. With the
following error message:

	/home/nmeum/src/aports/.rootbld-repositories does not exist
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this change buildrepo fails if -a is given but the APORTSDIR
environment variable is not set when using `abuild rootbld`. With the
following error message:

	/home/nmeum/src/aports/.rootbld-repositories does not exist
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: refactor plugin API</title>
<updated>2019-01-09T13:50:35+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T12:56:51+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=8b67cf79d9da6331b512b9e4504522bcc5eb08e8'/>
<id>8b67cf79d9da6331b512b9e4504522bcc5eb08e8</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: add logfile path to aport struct</title>
<updated>2019-01-09T13:50:35+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T12:18:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=c0db4733641302439c7384e3654d3df575c1a1ce'/>
<id>c0db4733641302439c7384e3654d3df575c1a1ce</id>
<content type='text'>
this is so we can simplify the args passed to plugins
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is so we can simplify the args passed to plugins
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: replace aportsdir with conf.aportsdir</title>
<updated>2019-01-09T13:50:35+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T12:10:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=e22bd77117577c610a8dae895a9429d18ec02a90'/>
<id>e22bd77117577c610a8dae895a9429d18ec02a90</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: replace repodest with conf.repodest</title>
<updated>2019-01-09T13:50:35+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T12:08:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=01c0fe13cddb81174cefcbf589fd406e144c1c1b'/>
<id>01c0fe13cddb81174cefcbf589fd406e144c1c1b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: factor out logdirbase, use conf.logdir instead</title>
<updated>2019-01-09T13:50:35+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T12:04:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=712a2cd1368bbfa0f79c49140feb5cec8a45f2a9'/>
<id>712a2cd1368bbfa0f79c49140feb5cec8a45f2a9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: add opts and arch to conf struct</title>
<updated>2019-01-09T13:50:35+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T12:03:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=22456c12063c07183eb7c2fcf2c9be386861dda5'/>
<id>22456c12063c07183eb7c2fcf2c9be386861dda5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: set default plugins dir to /usr/share/buildrepo/plugins</title>
<updated>2019-01-09T13:50:28+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T11:40:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=340c006dff1ef6fddb0ac5595bfd74c5572e6484'/>
<id>340c006dff1ef6fddb0ac5595bfd74c5572e6484</id>
<content type='text'>
and make it possible to override in config
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and make it possible to override in config
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: add support for config file</title>
<updated>2019-01-09T13:49:24+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2019-01-09T11:30:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=ba89aa5a3f0d7632327d83f1deadc8d03f020c08'/>
<id>ba89aa5a3f0d7632327d83f1deadc8d03f020c08</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>buildrepo: pass opts to plugins</title>
<updated>2018-05-02T11:33:49+00:00</updated>
<author>
<name>Natanael Copa</name>
<email>ncopa@alpinelinux.org</email>
</author>
<published>2018-05-02T11:33:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git-old.alpinelinux.org/lua-aports/commit/?id=c68bc078ea06a406fa2b49b95e10d81069c916fc'/>
<id>c68bc078ea06a406fa2b49b95e10d81069c916fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
