go

module
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT

README

Alpine Go

These are a set of packages that help with interacting with various Alpine Linux related systems. These things include:

  • APKBUILD files
  • APKINDEX files
  • .apk files
  • release.json

Packages

In-depth documentation for this package can be found on pkg.go.dev

apkbuild
import "gitlab.alpinelinux.org/alpine/go/apkbuild"

Package apkbuild parses APKBUILD files and returns the metadata.

repository
import "gitlab.alpinelinux.org/alpine/go/repository"

Package repository parses .apk and APKINDEX files, providing information about all packages in the index.

releases
import "gitlab.alpinelinux.org/alpine/go/releases"

Package releases provides functions and structures to get information about Alpine Linux releases.

rels, err := releases.Fetch()

for _, releaseBranch := range rels.ReleaseBranches {
    fmt.Printf("Release %s eol: %s\n", releaseBranch.RelBranch, releaseBranch.EolDate)
}
version
import "gitlab.alpinelinux.org/alpine/go/version"

Package version tokenizes a apk package version using the same algorithm as apk-tools uses.

Community projects using alpine/go

Project Description
apkcirkledep Report circular dependencies between packages in aports
apkgquery Query aports using an expression language
packages Host Alpine package repositories

License

MIT

Directories

Path Synopsis
Package apkbuild provides functions to get metadata from APKBUILD files.
Package apkbuild provides functions to get metadata from APKBUILD files.
Package releases provides functions and structures to parse information about Alpine Linux releases, which is published at https://alpinelinux.org/releases.json.
Package releases provides functions and structures to parse information about Alpine Linux releases, which is published at https://alpinelinux.org/releases.json.
Package repository provides implements parsing of apk repositories
Package repository provides implements parsing of apk repositories
Package version tokenizes a apk package version using the same algorithm as apk-tools uses.
Package version tokenizes a apk package version using the same algorithm as apk-tools uses.

Jump to

Keyboard shortcuts

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