summaryrefslogtreecommitdiffstats
path: root/bin
Commit message (Collapse)AuthorAgeFilesLines
* buildrepo: set APORTSDIR before calling abuildSören Tempel2019-09-171-4/+6
| | | | | | | | 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
* buildrepo: refactor plugin APINatanael Copa2019-01-091-4/+4
| | | | | | | | | | | | | | | 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.
* buildrepo: add logfile path to aport structNatanael Copa2019-01-091-4/+4
| | | | this is so we can simplify the args passed to plugins
* buildrepo: replace aportsdir with conf.aportsdirNatanael Copa2019-01-091-5/+5
|
* buildrepo: replace repodest with conf.repodestNatanael Copa2019-01-091-9/+9
|
* buildrepo: factor out logdirbase, use conf.logdir insteadNatanael Copa2019-01-091-2/+2
|
* buildrepo: add opts and arch to conf structNatanael Copa2019-01-091-0/+2
|
* buildrepo: set default plugins dir to /usr/share/buildrepo/pluginsNatanael Copa2019-01-091-5/+6
| | | | and make it possible to override in config
* buildrepo: add support for config fileNatanael Copa2019-01-091-3/+11
|
* buildrepo: pass opts to pluginsNatanael Copa2018-05-021-4/+4
|
* buildrepo: only skip packages with missing deps when -s is specifiedNatanael Copa2017-12-041-1/+1
| | | | | | | | This is so we will catch errors when there are circular dependencies and get the error triggered when trying to build the package. Otherwise the packages will not be built at all and warning easily gets unnoticed. For example rust -> cargo -> rust
* buildrepo: add support for abuild 3's new rootbldWilliam Pitcock2017-08-101-2/+6
|
* move binfiles to bin/ directoryJakub Jirutka2017-07-252-0/+412