published

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.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 published holds the published packages of modules the bench is pinned to, as their release has them, and reads them through the chain of digests (docs/architecture.md, sections 3.3 and 3.9; R14 in docs/decisions.md). The files came in only after release-verify accepted each of them (RULES.md, Hard rules; R77 spec): from then on the digest of the module index, pinned here, holds them, through the package digests it names and the server parts' digests their inventories name. A new release of modules is a new pin: a pull request of sim with new bands (docs/architecture.md, section 3.7).

Index

Constants

View Source
const (
	Release     = "v0.2.5"
	IndexDigest = "cebf23cf94456ef313ca00c97ca05db7fccb2575780f8dfd899623ea60aaec6a"
)

The release of modules the bench is pinned to and the SHA-256 of its module index. The archives lie each in the folder of the release its entry names, as files of that release.

Variables

This section is empty.

Functions

func Archive added in v0.1.2

func Archive(p Package) ([]byte, error)

Archive gives the archive of a pinned package as its release has it, from the folder of the release its entry in the pinned index names: what the CI of modules unpacks, for the tests of the gate of modules.

func Modules

func Modules() (map[string]*pack.Module, error)

Modules gives the pinned packages as the bench's modules, by full ID, read once through every digest of the chain from the pinned index. The modules are shared, and read only.

Types

type Package

type Package struct {
	Module  string `json:"module"`
	Version string `json:"version"`
	Digest  string `json:"digest"`
	Along   bool   `json:"along,omitempty"`
}

Package is a pinned package: its module's full ID, its version, and its package digest, as the pinned index names them. In a run of the gate of modules, Along marks a package that did not change and came along with one that did, a graph of the gate holding the two together: it runs only on such graphs (docs/architecture.md, section 3.9; R31 in docs/decisions.md).

func Pinned

func Pinned() ([]Package, error)

Pinned gives the pinned packages in the order of their IDs, read from the pinned index, so that a gate file that names the bench's packages is held to the bytes the bench reads.

Jump to

Keyboard shortcuts

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