Commit graph

1861 commits

Author SHA1 Message Date
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
Alex Goodman
17787f856f
rm unused dkpg metadata, add dpkg source field, add analyzer source name 2020-06-01 15:25:47 -04:00
Alex Goodman
83e486d6ca
Merge pull request #29 from anchore/add-os-types
Start of distro identification support
2020-06-01 10:47:31 -04:00
Alex Goodman
45fbd05cf9
add first distro support 2020-06-01 10:46:06 -04:00
Alex Goodman
1f272c2bda
Merge pull request #27 from anchore/add-package-id
Add package id
2020-06-01 08:55:22 -04:00
Alex Goodman
a0e48468c2
with package id 2020-05-29 16:06:31 -04:00
Alex Goodman
dcba50eaa8
Merge pull request #25 from anchore/add-logging-and-app-config
Add logging and app configuration
2020-05-26 09:20:12 -04:00
Alex Goodman
bd09327d40
expose real zap logger to main package 2020-05-26 08:21:49 -04:00
Alex Goodman
1b9effeb49
remove WithFields; add stereoscope logging 2020-05-23 19:22:52 -04:00
Alex Goodman
51c972ad33
add exit on cli bind fails + copy update 2020-05-22 15:25:49 -04:00
Alex Goodman
ae6feed8fc
add named logger + color formatting 2020-05-22 11:30:45 -04:00
Alex Goodman
09c7ca8f8f
replace panics with logging 2020-05-21 16:53:17 -04:00
Alex Goodman
b7c7c5556d
add logging fields 2020-05-21 15:54:54 -04:00
Alex Goodman
3e71315195
add app config and logging interface 2020-05-21 15:25:59 -04:00
Alex Goodman
9676f99b86
Merge pull request #24 from anchore/add-first-presenter
Add JSON presenter
2020-05-21 10:20:16 -04:00
Alex Goodman
2471663d27
sync/fmt linting tasks with stereoscope 2020-05-21 09:37:20 -04:00
Alex Goodman
17b4b26fbb
update sterescope + add json presenter 2020-05-20 18:29:06 -04:00
Alex Goodman
28cc9b3dc1
Merge pull request #22 from anchore/dpkg-analyzer
add dpkg analyzer
2020-05-19 16:49:16 -04:00
Alfredo Deza
6fb3a876a8 tests: replace Entry with DpkgMetadata name
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
ada11973b2 use the new DpkgMetadata struct in the parser
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
888cee3336 replace dummy analyzer for the new dpkg one
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
61139007ca create the dpkg analyzer
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 15:44:36 -04:00
Alfredo Deza
5bc17310b6 update dependencies
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 09:07:34 -04:00
Alfredo Deza
fa08a8fe6f create a package to place analyzer metadata
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-19 09:06:02 -04:00
Alex Goodman
d56d157e90 create single dpkg bufio reader 2020-05-18 14:14:50 -04:00