Alfredo Deza
|
9baae90c0b
|
integration: add tests for dir-based presenters
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 16:09:55 -04:00 |
|
Alfredo Deza
|
3548c7b132
|
tests for scope.go
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 16:09:55 -04:00 |
|
Alfredo Deza
|
3eedb86a1f
|
tests for protocol.go
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 16:09:55 -04:00 |
|
Alfredo Deza
|
c35108b00d
|
tests: reorganize text img files to match new layout
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 16:09:55 -04:00 |
|
Alfredo Deza
|
f49ca8107a
|
tests: add verification for dirs and imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 16:09:55 -04:00 |
|
Alfredo Deza
|
293b7b6ff9
|
tests: update integration tests to use new cataloger
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 16:09:55 -04:00 |
|
Alfredo Deza
|
96d86fa214
|
tests: move existing json tests to json/imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 16:09:55 -04:00 |
|
Alfredo Deza
|
7544330bc2
|
json img presenter needs to degrade nicely when file metadata is not present
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
feef7e28dc
|
cmd: add note about panic when img is nil
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
ec52e91301
|
scope: create interface for content and file resolvers
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
b2d7bd3b1a
|
scope: add directory-based scoping
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
e38e3e9ff4
|
create text-based presenters for dirs and imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
268cfef0ee
|
re-organize json-based presenters for dirs and imgs
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
312c8acfbe
|
presenter can pick text-dir, text-img, json-text, or json-img for reporting
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
69a0376f99
|
distro: add note to replace with MultipleFileContents in the future
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
507a6b69cb
|
catalog controller uses scope to determine file resolvers
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
faf21a67a6
|
lib: return a protocol-based scope (dir or img)
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 15:12:48 -04:00 |
|
Alfredo Deza
|
678a2c1dcb
|
create a protocol-parsing package to distinguish dir,docker, etc...
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-02 13:04:19 -04:00 |
|
Alfredo Deza
|
4d31655908
|
allow root command to catalog a directory
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-07-01 07:35:01 -04:00 |
|
Alex Goodman
|
466169e8d7
|
Merge pull request #65 from anchore/add-an-event-bus
Add and use event bus for UI progress
|
2020-06-25 11:04:45 -04:00 |
|
Alex Goodman
|
926b5f2a50
|
add and use event bus for UI progress
|
2020-06-25 10:39:11 -04:00 |
|
Alex Goodman
|
2e9e969c5f
|
Merge pull request #66 from anchore/add-license
Add apache v2 license
|
2020-06-24 14:51:51 -04:00 |
|
Alex Goodman
|
1569a85820
|
add apache v2 license
|
2020-06-24 14:37:00 -04:00 |
|
Alfredo Deza
|
d2e6229b2e
|
Merge pull request #64 from anchore/issue-36
Create a text presenter, default to it
|
2020-06-22 14:05:06 -04:00 |
|
Alfredo Deza
|
0a1f99503f
|
cli: default to the new text presenter
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-22 11:09:00 -04:00 |
|
Alfredo Deza
|
2e6aef17e1
|
implement a text presenter
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-22 11:09:00 -04:00 |
|
Alfredo Deza
|
72f9091493
|
presenter: allow a text presenter option
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-19 15:46:31 -04:00 |
|
Alfredo Deza
|
acbeea9800
|
option: add a Text-based presenter
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-19 15:45:58 -04:00 |
|
Alex Goodman
|
2cb7dad967
|
Merge pull request #63 from anchore/add-symlink-suport
Add symlink support
|
2020-06-16 13:10:24 -04:00 |
|
Alex Goodman
|
cd94179985
|
add symlink content fetching support
|
2020-06-16 11:37:37 -04:00 |
|
Alex Goodman
|
778754dd59
|
Merge pull request #62 from anchore/add-simple-pipeline
Add basic pipeline
|
2020-06-15 13:53:49 -04:00 |
|
Alex Goodman
|
6b5a22da46
|
add basic pipeline
|
2020-06-15 13:51:07 -04:00 |
|
Alex Goodman
|
0d66cb8a1c
|
Merge pull request #60 from anchore/rename-analyzers
Rename analyzers to catalogers
|
2020-06-15 13:18:07 -04:00 |
|
Alex Goodman
|
294e267e47
|
rename analyzers to catalogers; fix generic cataloger path dispatcher
|
2020-06-15 10:52:55 -04:00 |
|
Alfredo Deza
|
812934c964
|
Merge pull request #57 from anchore/issue-33
Initial take on distro detection
|
2020-06-12 15:58:36 -04:00 |
|
Alfredo Deza
|
e460c031b6
|
distro: add tests and fixtures for identification
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-12 15:57:51 -04:00 |
|
Alfredo Deza
|
889fa52b7d
|
lib: update signature to *Distro
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-12 10:49:14 -04:00 |
|
Alfredo Deza
|
75375d0b58
|
cmd: IdentifyDistro returns a distro object which can be nil
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-12 10:49:14 -04:00 |
|
Alfredo Deza
|
dba5f0b197
|
initial take on distro identification
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-12 10:49:14 -04:00 |
|
Alfredo Deza
|
56c2318ea1
|
add support for distro detection
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-12 10:49:14 -04:00 |
|
Alfredo Deza
|
f1851556a8
|
distro: add a Name stringer
Signed-off-by: Alfredo Deza <adeza@anchore.com>
|
2020-06-12 10:49:14 -04:00 |
|
Alex Goodman
|
64a9125895
|
Merge pull request #53 from anchore/add-python-wheel-egg-analyzers
Add python wheel and egg analyzer support
|
2020-06-05 09:59:27 -04:00 |
|
Alex Goodman
|
a0ccfe220b
|
add python wheel and egg analyzer support
|
2020-06-05 08:47:17 -04:00 |
|
Alex Goodman
|
83e96e8880
|
generalize common analyzer elements
|
2020-06-04 17:49:52 -04:00 |
|
Alex Goodman
|
e88669c536
|
Merge pull request #52 from anchore/add-gem-analyzer
Add gem analyzer
|
2020-06-04 14:43:52 -04:00 |
|
Alex Goodman
|
f33720eaa1
|
add gem analyzer
|
2020-06-04 14:42:59 -04:00 |
|
Alex Goodman
|
033c91a233
|
Merge pull request #35 from anchore/use-filetree-reader
Utilize filetree reader
|
2020-06-04 14:36:40 -04:00 |
|
Alex Goodman
|
b6122a413b
|
add distro version tests
|
2020-06-02 20:48:15 -04:00 |
|
Alex Goodman
|
cc724bff26
|
use filetree reader instead of filetree
|
2020-06-02 08:52:26 -04:00 |
|
Alex Goodman
|
f0b8aaacda
|
Merge pull request #34 from anchore/focus-dkpg-metadata
Add dpkg source field to metadata
|
2020-06-01 17:42:18 -04:00 |
|