Jimmy Zelinskie
9c63a63944
clair: mv updater clair and mv severity to db
8 years ago
Jimmy Zelinskie
3e4dc3834f
utils: remove string.go
8 years ago
Jimmy Zelinskie
343e24eb7e
clair: remove `types` package
...
This removes the `types` package instead moving the contents to the
top-level clair package.
This change also renames the `Priority` type to `Severity` in order to
reduce confusion.
This change also removes the IsValid method and replaces it with a safe
constructor to avoid the creation of invalid values.
Many docstrings were tweaked in the making of this commit.
8 years ago
Jimmy Zelinskie
8d29bf860d
versionfmt: convert to using constant over literal
8 years ago
Jimmy Zelinskie
033709eaea
add registerable version formats
...
Since we only ever used dpkg, this change shims everything into using
dpkg.
8 years ago
Quentin Machu
e7b960c05b
database: Allow specifying datastore driver by config
...
Fixes #145
8 years ago
Jimmy Zelinskie
500fc4e407
various: gofmt -s
9 years ago
Quentin Machu
84319507df
database: use constants to store queries
9 years ago
Quentin Machu
7c11e4eb5d
updater/database: do not create notifications during the initial update
9 years ago
Quentin Machu
94ece7bf2b
database: fix notification design and add vulnerability history
9 years ago
Quentin Machu
8be18a0a01
database: write more of the notification system
9 years ago
Quentin Machu
82175dcfe9
*: add missing copyright headers
9 years ago
Quentin Machu
bd17dfb5e1
database: ensure that concurrent vulnerability/feature versions insertions work fine
9 years ago