intility/erlang-oci-builder
39.7
Weak · 15 November 2026
13.7k
lines of production code
Erlang
with Elixir
5
measurements over time
What this system is
Features
Add Elixir Mix task and release step integration with smart dependency layering
Users can now build OCI images directly from Elixir Mix releases using a new \Ocibuild.MixRelease\ module that integrates as a step in \mix release\, and a new \Ocibuild.Lock\ module that parses \mix.lock\ files to enable smart dependency layering. This allows the build process to classify dependencies (e.g., Hex vs. Git sources) for optimized image layering, configurable via \ocibuild\ options in \mix.exs\ such as \:base\_image\, \:tag\, \:push\, \:annotations\, and \:compression\.
lib/ocibuild · high confidence
Introduce Mix task for building and pushing OCI container images
Adds a new \mix ocibuild\ task that allows users to build OCI container images directly from Elixir Mix releases. This feature supports tagging, outputting to tarballs, pushing to registries, and configuring image metadata such as labels, annotations, and base images. It also includes capabilities for multi-platform builds, chunked uploads, SBOM generation, and image signing.
lib/mix · high confidence
Introduce extensible OCI build adapter architecture with Mix and rebar3 integrations
The \src/adapters\ directory now defines the \ocibuild\_adapter\ behaviour, establishing a standardized interface for build-system integrations to extract configuration, locate release artifacts, and handle logging. This architecture enables the new \ocibuild\_mix\ adapter for Elixir/Mix projects and the \ocibuild\_rebar3\ provider for Erlang/rebar3 projects, both of which implement this behaviour to feed into the shared \ocibuild\_release\ module. Additionally, a \src/vcs\ layer with a \ocibuild\_vcs\ behaviour and a Git adapter (\ocibuild\_vcs\_git\) has been added to automatically detect repositories and populate OCI annotations (source URL, revision) from CI environment variables or git commands. Also in this area: 6 commits (0 fixes) modifying src/adapters.
src/adapters · medium confidence · unverified
New utility modules for compression, digests, JSON, progress, time, and validation
Added several new utility modules in src/util: ocibuild\_compress provides a unified compression API that automatically selects zstd on OTP 28+ or falls back to gzip on OTP 27; ocibuild\_digest offers SHA256 digest utilities for OCI content addressing; ocibuild\_json wraps OTP 27's json module for encoding and decoding; ocibuild\_progress introduces a multi-line progress bar display for concurrent operations; ocibuild\_time centralizes timestamp utilities supporting SOURCE\_DATE\_EPOCH for reproducible builds; and ocibuild\_validate adds security-focused validation functions for user inputs, including checks for null bytes and path traversal attacks.
src/util · high confidence
Behavioural changes
8 commits (4 fixes) modifying src/oci
A change to existing behaviour in src/oci — 8 commits (4 fixs), 1 file: “fix: use Hex tarball and git+ URLs for SBOM downloadLocation (\#71)”; “feat: emit package checksums in the SBOM (\#79)”; “fix: follow the purl spec for the base image oci purl (\#78)”; and 5 more (refs \#71, \#79, \#78, \#77, \#72, …). Also in this area: 3 commits (1 fix) modifying src/oci; OCI image building and signing capabilities added.
src/oci · medium confidence · unverified
Introduce supervised HTTP client and OCI build layer caching
The HTTP layer in \src/http\ has been refactored to use a proper OTP supervision tree, replacing the previous ad-hoc approach with \ocibuild\_http\_sup\, \ocibuild\_http\_pool\, and \ocibuild\_http\_worker\ modules. This provides isolated \httpc\ profiles per worker, bounded concurrency for parallel downloads/uploads, and cleaner graceful shutdowns to prevent orphaned processes. Additionally, a new \ocibuild\_cache\ module was added to cache OCI image layers locally (defaulting to \\_build/ocibuild\_cache\), supporting environment variable overrides and project root detection to speed up CI/CD builds.
src/http · high confidence
Project rebrand to ocibuild and license change to MIT
The project has been renamed from 'erlang-oci-builder' to 'ocibuild' and the license has been changed from Apache 2.0 to MIT. This includes updating the repository URL to the intility organization, renaming the development guide from DEVELOPMENT.md to AGENTS.md, and updating all documentation (README, CLAUDE.md, CHANGELOG) to reflect the new name and structure.
(repo-wide) · high confidence
Removal of legacy internal modules and API expansion
The internal implementation modules ocibuild\_digest, ocibuild\_json, ocibuild\_layer, ocibuild\_layout, ocibuild\_manifest, ocibuild\_registry, and ocibuild\_tar have been removed from the source tree, likely as part of a refactoring to consolidate logic or switch to external dependencies. Concurrently, the public API in src/ocibuild.erl has been expanded with new functions including from/3, add\_layer/3, push/5, push\_multi/4, push\_multi/5, save/3, and annotation/3, alongside new types for platform and auth. The application version has been bumped to 0.10.5, the license changed to MIT, and the repository link updated to the intility organization.
src · high confidence
Test coverage
8 commits adding/updating tests in test/oci; Added comprehensive test coverage for adapters, HTTP, and Mix integration.
Dependencies
Initial Elixir project configuration via mix.exs
The project now includes a mix.exs file that defines the Elixir Mix project structure for the :ocibuild application. This configuration sets the Elixir version requirement to \~\> 1.14, specifies source paths (src, lib, include), and configures runtime applications (:crypto, :ssl, :inets). Notably, the version and description are dynamically read from src/ocibuild.app.src to maintain a single source of truth, and the dependencies list is currently empty.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 40 → 40 (-0.0)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 77 → 75 (-1.7)
- Architecture 75 → 76 (+1.4)
- Maturity 65 → 65 (+0.0)
- Readiness 58 → 58 (+0.0)
- Security 94 → 94 (+0.0)
- Event-Driven 10 → 10 (+0.0)
Resolved (1)
- TooManyFunctions: ocibuild_sbom (src/oci/ocibuild_sbom.erl)
New (24)
- Edited copies of one member (3 members, 16+ corresponding lines) (src/http/ocibuild_registry.erl)
- Edited copies of one member (3 members, 29+ corresponding lines) (src/http/ocibuild_registry.erl)
- Edited copies of one member (3 members, 3+ corresponding lines) (src/adapters/ocibuild_mix.erl)
- Edited copies of one member (5 members, 14+ corresponding lines) (src/http/ocibuild_registry.erl)
- Edited copy of a member (10 corresponding lines) (src/adapters/ocibuild_release.erl)
- Edited copy of a member (11 corresponding lines) (lib/mix/tasks/ocibuild.ex)
- Edited copy of a member (11 corresponding lines) (src/http/ocibuild_registry.erl)
- Edited copy of a member (12 corresponding lines) (lib/mix/tasks/ocibuild.ex)
- Edited copy of a member (12 corresponding lines) (src/adapters/ocibuild_rebar3.erl)
- Edited copy of a member (12 corresponding lines) (src/http/ocibuild_registry.erl)
- Edited copy of a member (12 corresponding lines) (src/oci/ocibuild_sbom.erl)
- Edited copy of a member (13 corresponding lines) (src/adapters/ocibuild_release.erl)
- Edited copy of a member (16 corresponding lines) (src/oci/ocibuild_index.erl)
- Edited copy of a member (17 corresponding lines) (src/adapters/ocibuild_release.erl)
- Edited copy of a member (19 corresponding lines) (src/oci/ocibuild_tar.erl)
- Edited copy of a member (31 corresponding lines) (lib/mix/tasks/ocibuild.ex)
- Edited copy of a member (33 corresponding lines) (src/oci/ocibuild_sbom.erl)
- Edited copy of a member (4 corresponding lines) (src/http/ocibuild_cache.erl)
- Edited copy of a member (5 corresponding lines) (lib/mix/tasks/ocibuild.ex)
- Edited copy of a member (5 corresponding lines) (src/adapters/ocibuild_release.erl)
- …and 4 more
Changes since last survey
- 7 commits — 6 feature/other, 1 fixes
By area
- (root) — 2 commits
- src/adapters — 2 commits
- .github/workflows — 1 commit
- lib/ocibuild — 1 commit
- src/oci — 1 commit
Notable commits
- fix: fix: resolve edoc multiple @private tag failures in docs generation
- change: chore(main): release 0.10.6 (#62)
- change: chore(main): release 0.10.7 (#91)
- change: ci: pin GitHub Actions runners to ubuntu-24.04
- change: feat: declare package licenses in the SBOM (#87)
- change: feat: read dependency licenses from hex_metadata.config for Mix (#88)
- change: feat: read dependency licenses from hex_metadata.config for rebar3 (#89)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
intility/erlang-oci-builder was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 15 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 9b0b9d39cfcde0c49815802cc27f82957d5a0cfb — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-3c33c1882dc1.