releasecheck

package
v0.145.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RequiredClientArchivePaths = []string{
	"pkg/client/assets/dist/console/index.js",
	"pkg/client/assets/dist/styles/console.css",
	"pkg/client/assets/dist/debug/index.js",
	"pkg/client/assets/dist/debug/toolbar-bootstrap.js",
	"pkg/client/assets/dist/styles/debug.css",
	"pkg/client/assets/dist/third-party/iconoir/iconoir.css",
	"pkg/client/assets/dist/third-party/iconoir/LICENSE",
	"pkg/client/assets/dist/third-party/simple-datatables/style.css",
	"pkg/client/assets/dist/third-party/simple-datatables/LICENSE",
	"pkg/client/assets/dist/third-party/echarts/echarts.min.js",
	"pkg/client/assets/dist/third-party/echarts/LICENSE",
	"pkg/client/assets/dist/third-party/echarts/NOTICE",
}

RequiredClientArchivePaths lists the console entrypoints/styles and pinned browser dependencies that every root module release must contain.

Functions

func CheckModuleArchive

func CheckModuleArchive(moduleRoot string, version module.Version, requiredPaths []string) error

CheckModuleArchive builds a module ZIP from moduleRoot with x/mod and verifies that every required source-relative path is present in the exact archive.

func CheckRequiredModuleSource

func CheckRequiredModuleSource(moduleRoot string, requiredPaths []string) error

CheckRequiredModuleSource applies x/mod's real directory classification to moduleRoot and verifies that every required path is eligible for a module archive. Aggregate checkout size is not an eligibility rule: local caches and other untracked files may exceed the release archive limit. CheckModuleArchive still enforces the limit on the exact archive source.

func WriteModuleProxy added in v0.132.0

func WriteModuleProxy(moduleRoot, proxyRoot string, version module.Version) error

WriteModuleProxy writes one module version using the Go file-proxy protocol. The generated ZIP is built with x/mod from moduleRoot, so consumers exercise the same module-boundary and archive rules as a published coordinate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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