Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetNewPackages ¶ added in v0.24.10
func GetNewPackages(packageListFile string) (map[string]NewApkPackage, error)
the wolfi package repo CI will write a file entry for every new .apk package that's been built in the form $ARCH|$PACKAGE_NAME|$VERSION_r$EPOCH
Types ¶
type DiffOptions ¶
type DiffOptions struct { Client *http.Client Dir string PackagesDir string ApkIndexURL string ExistingPackages map[string]*goapk.Package }
func NewDiff ¶
func NewDiff() *DiffOptions
type NewApkPackage ¶
type SoNameOptions ¶
func NewSoName ¶
func NewSoName() *SoNameOptions
func (*SoNameOptions) CheckSoName ¶
func (o *SoNameOptions) CheckSoName(ctx context.Context, existingPackages map[string]*goapk.Package, newPackages map[string]NewApkPackage) error
CheckSoName will check if a new APK contains a foo.so file, then compares it with the latest version in an APKINDEX to check if there are differences.
Click to show internal directories.
Click to hide internal directories.