Quentin Machu
c2605e0bf2
worker: verify download status code
2016-02-24 16:36:45 -05:00
Quentin Machu
41736e4600
worker: DetectData should return an error if the supported detector failed
2016-02-24 16:36:45 -05:00
Quentin Machu
98ed041956
worker: remove double error
2016-02-24 16:36:45 -05:00
Quentin Machu
9b51f7f4fb
worker: raise worker version number
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
2f57f0d4b1
worker: change worker errors to bad request errors
2016-02-24 16:34:54 -05:00
Quentin Machu
b3ddfbc353
worker: remove namespace whitelist
...
As Clair let developers register their own detectors
2016-02-24 16:34:54 -05:00
Quentin Machu
90fe137de8
worker: move each data detector to their own packages and remove image format whitelist
2016-02-24 16:34:54 -05:00
Quentin Machu
4bdbd5e6db
*: fix several tests
2016-02-24 16:34:54 -05:00
Quentin Machu
82175dcfe9
*: add missing copyright headers
2016-02-24 16:34:54 -05:00
Quentin Machu
34842fd8f7
worker: fix dpkg detector and adapt tests
2016-02-24 16:34:54 -05:00
Quentin Machu
85fa3f9a38
updater/worker: adapt several tests
2016-02-24 16:34:54 -05:00
Quentin Machu
970756cd5a
database: do insert/find layers (with their features and vulnerabilities)
2016-02-24 16:32:21 -05:00
Quentin Machu
2c150b015e
*: refactor & do initial work towards PostgreSQL implementation
2016-02-24 16:32:21 -05:00
Quentin Machu
343ce39865
worker: detect the status code when downloading a layer and expect 2XX.
2016-02-09 16:55:56 -05:00
Liang Chenye
4b11491067
add ImageFormat to worker_test and programs under contrib
...
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-12-15 21:01:22 -08:00
Liang Chenye
41509ccd3e
add imageFormt to API.md; add xz to Dockerfile; fix bugs
...
Signed-off-by: Liang Chenye <liangchenye@huawei.com>
2015-12-15 20:29:53 -08:00
liangchenye
354c4b3672
always trim './'
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
2015-12-15 11:34:22 +08:00
liangchenye
b1775ed3dc
add data detector to support ACI and other format in the future
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
2015-12-11 19:37:25 +08: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