Commit Graph

650 Commits

Author SHA1 Message Date
Quentin Machu
941a10cc2b Merge pull request #35 from mrqwer88/check_openvz_mirror_with_clair
add tool for check openvz mirrors with clair to contrib
2015-12-04 18:04:04 -05:00
Quentin Machu
d05a97a0a1 Merge pull request #29 from Quentin-M/notifier_tls
notifier: Refactor and add client certificate authentification support.
2015-12-04 16:59:47 -05:00
Quentin Machu
9946382223 api: Extracted client cert & HTTP JSON Render to utils. 2015-12-04 16:56:20 -05:00
Quentin Machu
20a126c84a notifier: Refactor and add client certificate authentification support.
Fixes #23
2015-12-04 16:53:54 -05:00
Quentin Machu
f106b64bc4 Merge pull request #22 from Quentin-M/predcst
database: put missing predicates in consts and un-expose some of them
2015-12-04 16:53:35 -05:00
Quentin Machu
9fc29e291c database: put missing predicates in consts and un-expose some of them
Fixes #16
2015-12-04 16:50:18 -05:00
Quentin Machu
1fefacfa63 Merge pull request #41 from coreos/travisfix
travis: disable install step
2015-12-04 16:33:55 -05:00
Jimmy Zelinskie
02d38843cb travis: disable install step 2015-12-04 16:24:03 -05:00
Quentin Machu
46fffdfc81 Merge pull request #33 from Quentin-M/insertvulns
database: Improve InsertVulnerabilities.
2015-12-04 15:49:56 -05:00
Quentin Machu
15bc682f60 Merge pull request #36 from coreos/gc
api/database: Add the ability to delete layers
2015-12-04 15:21:01 -05:00
Quentin Machu
8285c567c8 database: Improve InsertVulnerabilities. 2015-12-04 14:42:58 -05:00
Quentin Machu
e444e93c97 api/database: Add the ability to delete layers 2015-12-04 14:42:21 -05:00
Jimmy Zelinskie
cadc182cc4 readme: add travis-ci badge
[ci skip]
2015-12-02 13:45:14 -05:00
Jimmy Zelinskie
1b55d387f6 travis: add missing rpm dependency 2015-12-02 13:39:59 -05:00
Quentin Machu
07268a7b5e Merge pull request #39 from coreos/travis
travis: initial travis.yml
2015-12-02 13:25:14 -05:00
Quentin Machu
46f356e890 Merge pull request #37 from Quentin-M/updater_refactor
updater: Refactor and merge fetcher responses
2015-12-02 13:23:30 -05:00
Jimmy Zelinskie
5873ab892c travis: initial travis.yml 2015-12-02 12:39:13 -05:00
Barak Michener
326ad7fc13 Merge pull request #38 from Quentin-M/causedby
api: Specify what packages cause the layer to have vulnerabilities.
2015-12-01 17:05:45 -05:00
Quentin Machu
9db0e63401 api: Specify what packages cause the layer to have vulnerabilities. 2015-12-01 17:02:49 -05:00
Quentin Machu
a7b683d4ba updater: Refactor and merge fetcher responses
Fixes #17 and lays the groundwork for #19.
2015-12-01 16:18:45 -05:00
Sergei A Mamonov
75aff0382a contrib: check-openvz-mirror-with-clair fix license 2015-11-30 23:11:18 +03:00
Sergei A Mamonov
8b137e8a95 contrib: add copyright in check-openvz-mirror-with-clair 2015-11-30 00:13:19 +03:00
Quentin Machu
7df8e7fb1a contrib: add copyright in analyze-local-images 2015-11-29 15:56:34 -05:00
Sergei A Mamonov
0919113d8b add tool for check openvz mirrors with clair to contrib 2015-11-29 23:11:36 +03:00
Quentin Machu
867279a5c9 contrib: Improve analyze-local-images docs and launch command.
Fixes #32
2015-11-24 16:37:11 -05:00
Quentin Machu
9391417b2d contrib: Wait for extraction to finish before continuing. 2015-11-24 11:11:01 -05:00
Jonathan Boulle
73f2221955 Merge pull request #26 from stapelberg/patch-1
Fix installation command in README.md
2015-11-23 13:53:09 -08:00
Michael Stapelberg
f81bc29b9e Fix installation command in README.md
The package name was missing an “s”, and “go install” only works when you already have downloaded the package.
2015-11-23 22:35:09 +01:00
Quentin Machu
fdbe1ebca8 Merge pull request #25 from fatalbanana/patch-1
Don't pass -z to tar
2015-11-23 09:44:08 -05:00
Andrew Lewis
8d071e28ff contrib: Don't pass -z to tar in analyze-local-images 2015-11-23 16:42:23 +02:00
Quentin Machu
a6d85e166f Merge pull request #21 from coreos/updatefix
stop reporting failures as successful updates
2015-11-20 18:06:39 -05:00
Jonathan Boulle
4292ed0dfd Merge pull request #24 from coreos/jonboulle-patch-1
README: minor grammar/spelling tweaks
2015-11-20 13:30:19 -08:00
Jonathan Boulle
ef7ccd3773 README: minor grammar/spelling tweaks 2015-11-20 13:30:01 -08:00
Quentin Machu
0f711d858d Merge pull request #18 from Quentin-M/local-analysis
contrib: Add a tool to analyze local Docker images
2015-11-20 15:37:43 -05:00
Jimmy Zelinskie
bf7e1a52f2 stop reporting failures as successful updates
Fixes #20.
2015-11-20 15:36:34 -05:00
Quentin Machu
46f7645a53 contrib: Add a tool to analyze local Docker images 2015-11-20 15:32:45 -05:00
Quentin Machu
cfa960d619 database: Update Cayley to fix slow deletions
subject, predicate, object and labels are not indexed, thus, using a where clause on these fields for the DELETE statement does a full-table scan. Using *_hash columns instead will use the indexes.
2015-11-18 18:53:00 -05:00
Quentin Machu
ac0e68efe7 worker: Add a missing CleanURL 2015-11-18 15:02:07 -05:00
Quentin Machu
915903c1c1 database: Fix to a locking issue with PostgreSQL
It appears that preparing an INSERT statement on PostgreSQL actually makes it expecting to receive INSERTs and thus, it create some kind of locks for it. If instead, you only send him DELETE statements, it will indefinitely wait for an INSERT and hung.
2015-11-17 20:46:29 -05:00
Quentin Machu
8aacc8bfdc database: Ensure that quads in a tx are applied in the desired order. 2015-11-17 15:31:38 -05:00
Quentin Machu
635f4ec76f Merge pull request #11 from Quentin-M/bzr_parsing
updater: Always use `bzr revno` to get Ubuntu db's revision number.
2015-11-16 18:34:41 -05:00
Quentin Machu
2452a8fc48 updater: Always use bzr revno to get Ubuntu db's revision number.
Fixes #7
2015-11-16 18:33:39 -05:00
Quentin Machu
3a1d0602fb database: Use an estimator in Cayley's Size() w/ PostgreSQL 2015-11-16 16:22:16 -05:00
Quentin Machu
f229083e1e database/worker: Remove useless log message 2015-11-16 13:21:06 -05:00
Quentin Machu
9a3bea842d Merge pull request #6 from Quentin-M/reduce_tx
database: reduce pruneLocks/Unlock transaction.
2015-11-16 13:20:19 -05:00
Quentin Machu
b0142e1982 database: reduce pruneLocks/Unlock transaction.
pruneLocks could create deadlocked transactions on PostgreSQL if multiple locks expired and pruneLocks is called by multiple instances. Also adds some logging.
2015-11-16 12:06:42 -05:00
Quentin Machu
8bb6c50f80 Merge pull request #4 from Quentin-M/reduce_tx
database: reduce InsertPackages transaction and ensure locking order.
2015-11-13 18:11:03 -05:00
Quentin Machu
7f1ff8f979 database: reduce InsertPackages transaction
Inserting packages in a single transaction does not actually buy us anything as we often delete quads during an insertion and thus, Cayley could not use COPY and do a single round-trip. Inserting multiple packages in a single transaction actually creates deadlocks when a transaction tries to insert (A,B) and another one tries to insert (B,A).
2015-11-13 18:06:01 -05:00
Jimmy Zelinskie
a10260c80d README: add container badge
[ci skip]
2015-11-13 14:29:24 -05:00
Quentin Machu
3ec262dd51 Initial commit 2015-11-13 14:11:28 -05:00