Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Database ¶
type Database struct {
Apkurl string `json:"apkurl"`
Archs []string `json:"archs"`
Reponame string `json:"reponame"`
Urlprefix string `json:"urlprefix"`
Packages []PackageEntry `json:"packages"`
}
type MelangePackage ¶
type MelangePackage struct {
Package struct {
Name string `yaml:"name"`
Version string `yaml:"version"`
Epoch int `yaml:"epoch"`
} `yaml:"package"`
Secfixes Secfixes `yaml:"secfixes"`
}
func LoadMelangePackage ¶
func LoadMelangePackage(fileName string) (*MelangePackage, error)
LoadMelangePackage loads a Melange source package YAML file and extracts the Secfixes data from it.
func (MelangePackage) Entry ¶
func (mp MelangePackage) Entry() PackageEntry
func (MelangePackage) Identity ¶
func (mp MelangePackage) Identity() string
Identity returns the package identity triple as apk-tools expects it to be, e.g. `[name]-[version]-r[epoch].`
type PackageEntry ¶
type PackageEntry struct {
Pkg Package `json:"pkg"`
}
Click to show internal directories.
Click to hide internal directories.