Commit Graph

105 Commits (v2.0.0-pre.4)

Author SHA1 Message Date
Jimmy Zelinskie 6a569fd945 move config to main / decentralize config
7 years ago
Jimmy Zelinskie 9c63a63944 clair: mv updater clair and mv severity to db
7 years ago
Jimmy Zelinskie 3e4dc3834f utils: remove string.go
7 years ago
Jimmy Zelinskie e7f72ef5ad utils: rm prometheus.go
7 years ago
Jimmy Zelinskie 343e24eb7e clair: remove `types` package
7 years ago
Jimmy Zelinskie 78cef02fda pkg: cerrors -> commonerr
7 years ago
Jimmy Zelinskie 224ff82543 pgsql/migrations: fix dpkg default versionfmt
7 years ago
Jimmy Zelinskie ca9f340a91 pgsql: only select distinct layers
7 years ago
Jimmy Zelinskie ea73aa153d pgsql: searchNotificationLayerIntroducingVulnerability order by layer ID
7 years ago
Jimmy Zelinskie 627b98ef31 db/pgsql/feature: fix SQL error reporting
8 years ago
Jimmy Zelinskie 8d29bf860d versionfmt: convert to using constant over literal
8 years ago
Jimmy Zelinskie 8df8170ba5 db/pgsql/migration: convert to pure SQL
8 years ago
Jimmy Zelinskie 9e39a26f26 backfill version_format column
8 years ago
Jimmy Zelinskie 033709eaea add registerable version formats
8 years ago
Jimmy Zelinskie 9338f28e82 psql/migrations: fix ordering
8 years ago
Jimmy Zelinskie d4522e9c6e api/v1: indexed layers for notifications
8 years ago
Quentin Machu 1fcae6abb8 Merge pull request #280 from coreos/add_idx_deleted_at
8 years ago
Quentin Machu 7a3dd5c817 pgsql: Disable hashjoins to get introducing layers for notifications
8 years ago
Quentin Machu eeb13a02ba pgsql/migrations: add index on Vulnerability_Notification.deleted_at
8 years ago
Jimmy Zelinskie dab6e492b8 Merge pull request #279 from coreos/searchintro_optimize
8 years ago
Quentin Machu dc8f71024f pgsql: Reduce cost of GetNotification by 2.5
8 years ago
Jimmy Zelinskie 7cff31a058 pgsql/migrations: add ldfv compound index
8 years ago
Jimmy Zelinskie 9dc002621a psql: add useful indexes
8 years ago
Quentin Machu 7fddd68f4f Merge pull request #263 from Quentin-M/rhel_unique_fixedin
8 years ago
Quentin Machu ec0aad9b7a pgsql: Use booleans instead of varchar to return creation status
8 years ago
Quentin Machu cd23262e41 pgsql: Do not insert entry in Vulnerability_FixedIn_Feature if existing
8 years ago
Quentin Machu b8865b2106 pgsql: Replace liamstask/goose by remind101/migrate
8 years ago
Matt Moore 90cc8243ba Add Ubuntu yakkety to the namespace mapping.
8 years ago
Quentin Machu a03459d02e Merge pull request #165 from Quentin-M/db_registration
8 years ago
Jimmy Zelinskie 5d8336acb3 pgsql: use subquery to plan GetNotification query (#182)
8 years ago
Quentin Machu 836d37b275 *: use `path/filepath` instead of `path`
8 years ago
Quentin Machu b99e2b50e2 database: Add some missing copyright headers
8 years ago
Quentin Machu 629d2ce662 database: Mock Datastore interface
8 years ago
Quentin Machu a38fbf6cfe worker/database: Move upgrade detection logic out of database to worker
8 years ago
Jimmy Zelinskie 51f9c5dcb4 pgsql: remove unnecessary join used in GetNotification (#179)
8 years ago
Quentin Machu e7b960c05b database: Allow specifying datastore driver by config
8 years ago
Quentin Machu 79ba99bbea database: Fix invalid error message
8 years ago
Jimmy Zelinskie 363cde29f4 psql: add debug message for duplicate layers
8 years ago
liangchenye 1a863a06cf remove the useless pointer of NextPage field; check namespace notfound error
8 years ago
liangchenye 48ffb2687a use encrypt page in listVuln api
8 years ago
liangchenye a541e964e0 New API: list vulnerabilities by namespace
8 years ago
Quentin Machu 9b191fb598 database: Find the FeatureVersion we try to insert before doing any lock
8 years ago
Jimmy Zelinskie 500fc4e407 various: gofmt -s
8 years ago
Jimmy Zelinskie 8fd0aa162b various: spelling corrections
8 years ago
Quentin Machu 84319507df database: use constants to store queries
8 years ago
Quentin Machu 06531e01c5 database: disable hash/merge joins in FindLayer
8 years ago
Quentin Machu 18f2d7e672 database: modify join table in FindLayer to reduce cost by 3.5x
8 years ago
Quentin Machu 6d2eedf121 api/database: add the layer name that add each feature in getLayer
8 years ago
Quentin Machu b5d8f9952e database: fix notification test (wrong signature)
8 years ago
Quentin Machu f0816d2c4d database: add docs about the interface
8 years ago