Top 1.4% dependent packages on proxy.golang.org
Top 1.0% dependent repos on proxy.golang.org
Top 3.9% forks on proxy.golang.org
proxy.golang.org : github.com/cavaliergopher/rpm
Package rpm implements the rpm package file format. For more information about the rpm file format, see: http://ftp.rpm.org/max-rpm/s1-rpm-file-format-rpm-file-format.html Packages are composed of two headers: the Signature header and the "Header" header. Each contains key-value pairs called tags. Tags map an integer key to a value whose data type will be one of the TagType types. Tag values can be decoded with the appropriate Tag method for the data type. Many known tags are available as Package methods. For example, RPMTAG_NAME and RPMTAG_BUILDTIME are available as Package.Name and Package.BuildTime respectively. Tags can be retrieved and decoded from the Signature or Header headers directly using Header.GetTag and their tag identifier. Header.GetTag and all Tag methods will return a zero value if the header or the tag do not exist, or if the tag has a different data type. You may enumerate all tags in a header with Header.Tags: In the rpm ecosystem, package versions are compared using EVR; epoch, version, release. Versions may be compared using the Compare function. Packages may be be sorted using the PackageSlice type which implements sort.Interface. Packages are sorted lexically by name ascending and then by version descending. Version is evaluated first by epoch, then by version string, then by release. The Sort function is provided for your convenience. Packages may be validated using MD5Check or GPGCheck. See the example for each function. The payload of an rpm package is typically archived in cpio format and compressed with xz. To decompress and unarchive an rpm payload, the reader that read the rpm package headers will be positioned at the beginning of the payload and can be reused with the appropriate Go packages for the rpm payload format. You can check the archive format with Package.PayloadFormat and the compression algorithm with Package.PayloadCompression. For the cpio archive format, the following package is recommended: https://github.com/cavaliergopher/cpio For xz compression, the following package is recommended: https://github.com/ulikunitz/xz See README.md for a working example of extracting files from a cpio/xz rpm package using these packages. See cmd/rpmdump and cmd/rpminfo for example programs that emulate tools from the rpm ecosystem.
Registry
-
Source
- Documentation
- JSON
purl: pkg:golang/github.com/cavaliergopher/rpm
Keywords:
golang
, rpm
, yum
License: BSD-3-Clause
Latest release: about 1 month ago
First release: over 3 years ago
Namespace: github.com/cavaliergopher
Dependent packages: 21
Dependent repositories: 28
Stars: 158 on GitHub
Forks: 35 on GitHub
Docker dependents: 1
Docker downloads: 35
See more repository details: repos.ecosyste.ms
Last synced: 12 days ago
go.ciq.dev/beskar v0.0.42
Artifact Registry based on Docker Distribution with plugin support for various artifact formats.42 versions - Latest release: 11 months ago - 7 stars on GitHub
github.com/ctrliq/beskar v0.0.42
Artifact Registry based on Docker Distribution with plugin support for various artifact formats.42 versions - Latest release: 11 months ago - 4 stars on GitHub
gitee.com/tk103331/sbom-tool v0.1.1
2 versions - Latest release: about 1 year agogithub.com/jd-opensource/sbom-tool v0.1.0
1 version - Latest release: about 1 year ago - 2 stars on GitHubgitee.com/JD-opensource/sbom-tool v0.1.1
2 versions - Latest release: about 1 year agogo.ciq.dev/beskar/integration v0.0.0-20240116131057-10b5a9b0c352
Artifact Registry based on Docker Distribution with plugin support for various artifact formats.2 versions - Latest release: over 1 year ago - 6 stars on GitHub
github.com/aquasecurity/btfhub v0.0.0-20231009140158-ed5c27668bca
BTFHub, together with BTFHub Archive repository, provides BTF files for existing published kernel...6 versions - Latest release: over 1 year ago - 219 stars on GitHub
github.com/brinick/atlas-rpm v0.0.0-20231009082103-2e908f7f7f58
2 versions - Latest release: over 1 year ago - 0 stars on GitHubgithub.com/jxsl13/archive-diff v0.0.0-20230818152634-13d9b3d3c9a9
diff between files permissions & ownership in different archives, folders or rpm packages2 versions - Latest release: over 1 year ago - 0 stars on GitHub
github.com/rocky-linux/sideline v0.0.0-20230604141902-cdea558a7f72
Backport mainline changes into a distribution package2 versions - Latest release: almost 2 years ago - 1 stars on GitHub
github.com/pschou/go-exploder v0.0.0-20230419140859-ba48eb049148
Generic archive exploder to expand an array of archive formats5 versions - Latest release: about 2 years ago - 0 stars on GitHub
github.com/reubeno/CBL-Mariner/toolkit/tools v0.0.0-20221130082357-c412aa9e7d12 removed
1 version - Latest release: over 2 years agogithub.com/mxyns/twitchatbeat v0.0.0-20221024220957-a8a164603d25
Elastic Beat for Twitch Chat Logs using gempir/justlog1 version - Latest release: over 2 years ago - 0 stars on GitHub
github.com/mfrw/cblmake v0.0.0-20220513020857-e0eff91f3e06
A simple PoC based on CBL-Mariner1 version - Latest release: almost 3 years ago - 0 stars on GitHub
Check this option to include packages that no longer depend on this package in their latest version but previously did.