releases

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package releases will be the releases module: release bundles v1 and v2, lifecycle stages, promotion and distribution to edges.

Role

releases module, module root. Only app imports a module root; other modules reach releases through releases/api (decision 0044, dependency rules). Its storage skeleton (the module's ports, models and store adapters) sits in subpackages ahead of its phase; skeleton modules get no constructor until then (decision 0044, composition and HTTP).

Inputs

None yet. Planned: the Deps that app passes to New.

Outputs

None yet. Planned: module.go with New(Deps). The module's layers are its subpackages: api, core/bundlev1, core/distribution and core/signing (P15), core/bundlev2 and core/lifecycle (P24), and adapters/http (P15, P24).

References

  • Context map, releases row, as https://github.com/weaveplatform/artifactweave/issues/958 records it: owns release bundles v1 and v2, lifecycle stages, promotion and distribution to edges; phases P15 and P24.
  • Target layout: docs/research/architecture-options/5-modular-monolith.md, "Full package tree", lines 85-104 and 348-353.
  • Decision 0044: docs/research/decisions/0044-modular-monolith-migration.md, "Placeholders" and "Composition and HTTP".
  • Decision 0023: docs/research/decisions/0023-release-bundles-and-distribution.md.
  • Plan: docs/implementation/plan.md#p15-release-bundles-v1-and-distribution, #p24-lifecycle-and-release-bundles-v2.

Status

Placeholder: implemented by P15, P24.

Directories

Path Synopsis
adapters
http
Package releaseshttp will serve the releases endpoints: release bundles in Artifactory, the distribution service and the lifecycle API.
Package releaseshttp will serve the releases endpoints: release bundles in Artifactory, the distribution service and the lifecycle API.
inmem
Package inmem is the in-memory implementation of the releases module's stores: release bundles v1 with their artifacts, keeps, retention audits and exports, and the distribution trackers with their per-peer jobs.
Package inmem is the in-memory implementation of the releases module's stores: release bundles v1 with their artifacts, keeps, retention audits and exports, and the distribution trackers with their per-peer jobs.
sql
Package sql is the SQL implementation of the releases module's stores: release bundles v1 with their artifacts, keeps, retention audits and exports, and the distribution trackers with their per-peer jobs, with the module's registration with the SQL layer.
Package sql is the SQL implementation of the releases module's stores: release bundles v1 with their artifacts, keeps, retention audits and exports, and the distribution trackers with their per-peer jobs, with the module's registration with the SQL layer.
sql/migrations
Package migrations holds the releases module's migration stream: the SQLite and PostgreSQL schema of the tables the module's SQL adapter owns.
Package migrations holds the releases module's migration stream: the SQLite and PostgreSQL schema of the tables the module's SQL adapter owns.
storetest
Package storetest is the contract suite of the releases module's stores: one set of expectations that every implementation of the bundle and distribution stores must meet.
Package storetest is the contract suite of the releases module's stores: one set of expectations that every implementation of the bundle and distribution stores must meet.
Package api will be the releases module's published interface: bundles, lifecycle, distribution and the module's events.
Package api will be the releases module's published interface: bundles, lifecycle, distribution and the module's events.
core
bundlev1
Package bundlev1 will hold release bundles v1: creation from AQL queries, the frozen artifact list, bundle states and storage in a releasebundles repository.
Package bundlev1 will hold release bundles v1: creation from AQL queries, the frozen artifact list, bundle states and storage in a releasebundles repository.
bundlev2
Package bundlev2 will hold immutable release bundles v2, created from builds, artifacts, packages, AQL and existing bundles.
Package bundlev2 will hold immutable release bundles v2, created from builds, artifacts, packages, AQL and existing bundles.
distribution
Package distribution will distribute release bundles to edges: distribution rules, jobs and their tracking.
Package distribution will distribute release bundles to edges: distribution rules, jobs and their tracking.
lifecycle
Package lifecycle will hold lifecycle stages and the promotion of releases through them.
Package lifecycle will hold lifecycle stages and the promotion of releases through them.
model
Package model holds the releases module's entity values: release bundles v1 with their specs, frozen artifact lists, retention marks and exports, and their distribution to edges through trackers, rules and per-target jobs.
Package model holds the releases module's entity values: release bundles v1 with their specs, frozen artifact lists, retention marks and exports, and their distribution to edges through trackers, rules and per-target jobs.
port
Package port declares the releases module's store ports: the bundle store, the distribution store and Store, the part of the metadata store the module uses.
Package port declares the releases module's store ports: the bundle store, the distribution store and Store, the part of the metadata store the module uses.
signing
Package signing will sign release bundle manifests with detached OpenPGP signatures.
Package signing will sign release bundle manifests with detached OpenPGP signatures.

Jump to

Keyboard shortcuts

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