Commit Graph

9 Commits

Author SHA1 Message Date
Nicolas Lamirault
0786b2c060 Refactoring packages
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2016-01-05 13:32:19 +01:00
Nicolas Lamirault
58cdb88537 Add utils for Archlinux
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2016-01-05 13:31:17 +01:00
Nicolas Lamirault
c7fe1f5726 Init Arch Linux support.
- Add OS detection and Packages management using Pacman.
- Add core, community, extra and archlinuxfr (yaourt) databases
for unit tests

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2016-01-05 13:30:03 +01:00
Nicolas Lamirault
fb1c19a901 Add ArchLinux to lsbrelease test
Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2016-01-05 11:41:27 +01:00
Nicolas Lamirault
011f6356e1 Check rpm executable
Before launching unit tests, we check if 'rpm' command
is present or not.

Signed-off-by: Nicolas Lamirault <nicolas.lamirault@gmail.com>
2016-01-05 11:25:31 +01:00
Quentin Machu
eb7e5d5c74 main: Use configuration file instead of flags and simplify app extension.
Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.

Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
2015-12-08 11:50:52 -05:00
Quentin Machu
ac0e68efe7 worker: Add a missing CleanURL 2015-11-18 15:02:07 -05:00
Quentin Machu
f229083e1e database/worker: Remove useless log message 2015-11-16 13:21:06 -05:00
Quentin Machu
3ec262dd51 Initial commit 2015-11-13 14:11:28 -05:00