archive

command
v0.4.2 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: 15 Imported by: ? 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

Command archive packs one release folder into a .tar.gz or a .zip that is the same bytes on any host: entries sorted by name, owner 0, fixed modes (0755 for the cernly binary and folders, 0644 for the rest) and one fixed date. The pinned Go toolchain does the compression, so the host's tar, gzip and zip play no part. scripts/release-build.sh runs it:

go run ./scripts/archive <folder> <out.tar.gz|out.zip> <unix-seconds>

Jump to

Keyboard shortcuts

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