Commit Graph

17 Commits

Author SHA1 Message Date
Jimmy Zelinskie
35df9d5846 vendor: regenerate vendor directory with glide 2017-05-05 11:46:41 -04:00
Jimmy Zelinskie
50d07ccf59 vendor: rm everything to prep for regeneration 2017-05-05 11:46:24 -04:00
Sida Chen
aa6a81c60c updated glide and vendor folder 2017-05-04 13:59:57 -04:00
Quentin Machu
b8865b2106 pgsql: Replace liamstask/goose by remind101/migrate
Fixes #93
2016-11-11 18:11:48 +01:00
Quentin Machu
213468a6d5 godeps: Remove implicit git submodules 2016-06-15 00:15:59 +02:00
jgsqware
d9d5b058e5 replace GoDep by Glide 2016-06-07 10:08:50 +02:00
Quentin Machu
16a652fa47 *: refresh godeps 2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
d19a4348df api: implement fernet encryption of pagination tokens 2016-02-24 16:36:45 -05:00
Quentin Machu
f6baac3628 *: refresh godeps 2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
40a7c8a00d *: refresh godeps 2016-02-24 16:34:54 -05: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
3fe3f3a4c7 database: Update cayley and use Triple instead of Quad 2015-12-06 20:15:40 -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
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
3a1d0602fb database: Use an estimator in Cayley's Size() w/ PostgreSQL 2015-11-16 16:22:16 -05:00
Quentin Machu
3ec262dd51 Initial commit 2015-11-13 14:11:28 -05:00