Jimmy Zelinskie
9c63a63944
clair: mv updater clair and mv severity to db
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
78cef02fda
pkg: cerrors -> commonerr
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
b99e2b50e2
database: Add some missing copyright headers
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
b5d8f9952e
database: fix notification test (wrong signature)
9 years ago
Quentin Machu
f8b4a52f8a
database: make notification tests more robust (old/new, update/delete vulnerabilities)
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