Commit Graph
15 Commits
Author SHA1 Message Date
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
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
Alfredo Deza 09cf5b9862 update go.mod and go.sum
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-18 14:14:50 -04:00
Alfredo Deza e9373eac96 initial implementation of dpkg parser
Signed-off-by: Alfredo Deza <adeza@anchore.com>
2020-05-18 14:14:50 -04:00