release

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0 modules, 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

Overview

Package release wires a proxy's synthetic archive into a chisel-releases checkout for the forwarded chisel verbs (`cut`, `info`): it copies the checkout to a temp dir and adds a low-priority archive entry plus the ephemeral public key to the copy's chisel.yaml, leaving the user's checkout untouched. It also renders the same blocks as text for `serve` mode to print.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Inject

func Inject(src string, a *apt.Archive, version string, slicePaths []string) (dir string, cleanup func() error, err error)

Inject copies the chisel-releases checkout at src into a fresh temp directory, adds the proxy archive (with the ephemeral public key inline) to that copy's chisel.yaml, and splices each package slices file in slicePaths into the copy's slices/ directory (by basename, overwriting). It returns the copy's path and a cleanup function. If version is "" it is taken from an existing archive entry. The user's checkout is never modified.

func RenderBlocks

func RenderBlocks(a *apt.Archive, keyID, armor, version string, priority int) (archives, keys string)

RenderBlocks renders the archives: and public-keys: entries as pasteable YAML text (two-space indented, ready to drop under those top-level keys). Used by `serve`.

func StubSlice

func StubSlice(suite string, p *deb.Package) string

StubSlice renders a minimal package slices file pulling every path a package installs, pinned to the proxy archive. Printed by `serve`.

Types

This section is empty.

Jump to

Keyboard shortcuts

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