Patrick Uiterwijk
c082ae5104
Implement moveFile to move the generated index
...
os.Rename only works across the same mountpoint, since it creates a new hardlink and
unlinks the old one.
Since we generated the index in /tmp, which is most likely not the final endpoint, this
often does not work.
Fixes : #8
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-03-13 14:24:30 +00:00
Patrick Uiterwijk
399112fe36
Actually report errors with moving of creating static index
...
Turns out that cli only exits when the error is created with cli.NewExitError.
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2017-03-09 23:51:03 +00:00
Jess Frazelle
94d0af58c1
wait group wait clair
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-09 10:20:17 -08:00
Jess Frazelle
80b674945a
Merge pull request #7 from eunomie/readme-typo
...
fix typo in readme: clair example
2017-03-06 09:33:05 -08:00
Yves Brissaud
8d0c521c11
fix typo in readme: clair example
2017-03-06 11:12:53 +01:00
Jess Frazelle
2b42e860f0
add readme for server
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-05 12:36:38 -08:00
Jess Frazelle
80a8b3a522
add screenshots
2017-03-05 12:36:15 -08:00
Jess Frazelle
3a9d1e74ad
add v1 flag
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 23:39:09 -08:00
Jess Frazelle
7b8e259c36
cleanup
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 23:31:03 -08:00
Jess Frazelle
3b3a740f26
longer
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 23:26:46 -08:00
Jess Frazelle
aa125b2246
html tire fire
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 23:22:48 -08:00
Jess Frazelle
5e202ccfd0
layout
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 23:14:18 -08:00
Jess Frazelle
cab68e390e
longer
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 23:11:58 -08:00
Jess Frazelle
bcb7a8dccf
return
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 23:09:58 -08:00
Jess Frazelle
99c9827732
slower
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:58:48 -08:00
Jess Frazelle
4160bcbf52
better throttle
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:51:56 -08:00
Jess Frazelle
cf4c3ce4bc
too slow
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:42:03 -08:00
Jess Frazelle
ef361e5ef0
cleanup
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:32:36 -08:00
Jess Frazelle
38fed8500a
clean and fix
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:24:17 -08:00
Jess Frazelle
2bda5d50d7
throttle
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:17:50 -08:00
Jess Frazelle
8068daf683
update deps
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:12:14 -08:00
Jess Frazelle
73cd51c2f7
update deps
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:10:14 -08:00
Jess Frazelle
46640512e7
update deps
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 22:10:04 -08:00
Jess Frazelle
0ce468721d
throttle
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 21:41:21 -08:00
Jess Frazelle
ba1c370d40
reorganize
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 20:17:47 -08:00
Jess Frazelle
acc5f0ce59
less logging
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 20:13:25 -08:00
Jess Frazelle
ce8d46aa0c
use a go func
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 20:07:25 -08:00
Jess Frazelle
245b72c0ce
more logging
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 19:59:00 -08:00
Jess Frazelle
62a9ca937c
warn on failure to create vuln page
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 19:55:27 -08:00
Jess Frazelle
c92a83c999
add vulns to server
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 19:53:52 -08:00
Jess Frazelle
eda57f98e3
add vulns to server
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 19:51:21 -08:00
Jess Frazelle
81fe023c1e
add vulns to server
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-04 19:44:49 -08:00
Jess Frazelle
7c408e403d
travis
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-01 15:44:49 -08:00
Jess Frazelle
6c6fccc853
travis
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-01 15:44:01 -08:00
Jess Frazelle
cd61a71fad
fix v2 manifest fetch
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-03-01 15:39:18 -08:00
Jess Frazelle
f21664c81a
update readme
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-13 11:43:55 -08:00
Jess Frazelle
c32b972ee4
fix insecure flag
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-13 11:42:33 -08:00
Jess Frazelle
f2811e79e2
Merge branch 'majst01-make-tls-verify-optional'
...
* majst01-make-tls-verify-optional:
Fix method signature
Make tls verification optional
2017-02-13 11:38:20 -08:00
Jess Frazelle
0df8f5288b
Merge branch 'make-tls-verify-optional' of https://github.com/majst01/reg into majst01-make-tls-verify-optional
...
* 'make-tls-verify-optional' of https://github.com/majst01/reg :
Fix method signature
Make tls verification optional
2017-02-13 11:38:10 -08:00
Jess Frazelle
417456fd7c
fix import paths
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-13 11:36:09 -08:00
Jess Frazelle
99ad8356d3
Merge branch 'majst01-unescape-format-characters'
...
* majst01-unescape-format-characters:
Paging link can contain format characters, unescape them first
2017-02-13 11:32:33 -08:00
Stefan Majer
1c095634c7
Fix method signature
2017-02-13 16:37:54 +01:00
Stefan Majer
89031c4ab0
Make tls verification optional
2017-02-13 10:32:36 +01:00
Stefan Majer
73fb466d8c
Paging link can contain format characters, unescape them first
2017-02-13 10:31:53 +01:00
Jess Frazelle
b427cc03ae
update readme
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 19:33:33 -08:00
Jess Frazelle
f25057024f
add vulns command
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 19:31:34 -08:00
Jess Frazelle
4c14e5ed7e
update readme
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 19:14:51 -08:00
Jess Frazelle
62b9b32835
update readme
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 19:14:06 -08:00
Jess Frazelle
3075c58bc1
add vulns command
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 18:45:47 -08:00
Jess Frazelle
f0968a951b
add base clair api;
...
Signed-off-by: Jess Frazelle <acidburn@google.com>
2017-02-12 16:26:00 -08:00