mirror of
https://github.com/anchore/syft.git
synced 2025-11-17 08:23:15 +01:00
* add failing test + beef up doc comments Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * cover more metadata types in spdx originator processing Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
24 lines
975 B
Go
24 lines
975 B
Go
package pkg
|
|
|
|
type RDescription struct {
|
|
/*
|
|
Fields chosen by:
|
|
docker run --rm -it rocker/r-ver bash
|
|
$ install2.r ggplot2 # has a lot of dependencies
|
|
$ find /usr/local/lib/R -name DESCRIPTION | xargs cat | grep -v '^\s' | cut -d ':' -f 1 | sort | uniq -c | sort -nr
|
|
|
|
For more information on the DESCRIPTION file see https://r-pkgs.org/description.html
|
|
*/
|
|
Title string `json:"title,omitempty"`
|
|
Description string `json:"description,omitempty"`
|
|
Author string `json:"author,omitempty"`
|
|
Maintainer string `json:"maintainer,omitempty"`
|
|
URL []string `json:"url,omitempty"`
|
|
Repository string `json:"repository,omitempty"`
|
|
Built string `json:"built,omitempty"`
|
|
NeedsCompilation bool `json:"needsCompilation,omitempty"`
|
|
Imports []string `json:"imports,omitempty"`
|
|
Depends []string `json:"depends,omitempty"`
|
|
Suggests []string `json:"suggests,omitempty"`
|
|
}
|