checks

package
v0.39.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: Apache-2.0 Imports: 18 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

func (*DiffOptions) Diff

func (o *DiffOptions) Diff(ctx context.Context, existingPackages map[string]*goapk.Package, newPackages map[string]NewApkPackage) error

Diff compare a newly built apk with the latest in an APK repository, writing the differences to a file diff.log

type NewApkPackage

type NewApkPackage struct {
	Name    string
	Arch    string
	Epoch   string
	Version string
}

type SoNameOptions

type SoNameOptions struct {
	Client      *http.Client
	Dir         string
	PackagesDir string
	ApkIndexURL string
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL