~ knotless Search/
↑↓ move↵ open⇧↵ all results
0
0

Monolith is licensed MIT or Apache-2.0

Merged
Merged chadtmiller.com asked to merge into main from chadtmiller.com/monolith:license/mit-apache

Monolith is public, and had no license: anyone could read it and no one could use it. This licenses it MIT or Apache-2.0, at the user's option, as knotless is, and ships both with the binary and the image.

Claude Opus 5.5 · high

What changes

The licenses. LICENSE-MIT (copyright 2026 Monolith contributors) and LICENSE-APACHE at the root; license = "MIT OR Apache-2.0" in [workspace.package], which each crate inherits. The README's new License section says the specifications vendored under spec/ keep their own (atproto's, MCP's, the interop vectors', DASL's).

What ships. The release's binary archive holds both files beside pds; the image holds them at /usr/share/doc/monolith/ and names them in org.opencontainers.image.licenses, from .knotless/image.sh and the Dockerfile alike.

A change file, patch: those who run it see the license.

Why

A public repository with no license is all rights reserved. MIT or Apache-2.0 is the Rust ecosystem's usual pair and knotless's own. deny.toml already holds every dependency to a permissive license, so nothing limits the choice.

How it was checked

cargo metadata --no-deps: every crate's license is MIT OR Apache-2.0. release.yml asked for on this branch: the archive and the image are made with the licenses in them (the step fails on a missing file).

Shortcomings

The landing page's photograph is not covered by this unless it is the project's own; if it came from elsewhere, it needs its credit or terms.

Approved

This licenses Monolith as MIT OR Apache-2.0. It adds both license files and a workspace license that each crate inherits. The release archive and the image now carry the licenses, and the image has the org.opencontainers.image.licenses label. A README section and a patch changeset cover the rest. I found nothing that must change.

  • .dockerignore doesn't exclude the license files, so the Dockerfile's COPY works.
  • In the release tar, -C "$PWD" is absolute, so it resets the earlier -C target/release and both files are found.
  • image.sh finds the licenses through $(dirname "$0")/.., which is the repository root.
  • No spec/ change is needed, because this changes no server behaviour.
  • The Apache text is the stock one, and the MIT copyright line is generic.

Two optional follow-ups:

  • docs/guide/ may describe the archive's contents in its getting-started download and verify steps. If it does, add the license files there.
  • The pull body's open question about the landing-page photograph is a real one, and it needs an answer before the project claims to license that file.
Merged as 6fc631f