Skip to content

Tags

Tags

v0.2.0

Toggle v0.2.0's commit message
apt_install.sh: retry a stalled index refresh as it is

DspTap#66's cortex-m55-no-exceptions-rtti job showed the first version
failing in the index refresh. The preferred regional mirror served its
indexes in seconds; security.ubuntu.com, a source outside the mirror list,
stalled. The script still moved the fast mirror to the end of the list,
which put a stalled archive.ubuntu.com first, and the third attempt ran out
11 s before the refresh finished.

The refresh and the download now have attempts of their own. A refresh
runs without apt's retries and gives up on a host after 10 s without a
byte: apt's retries of the stalled source took minutes, and a refresh cut
off by its budget keeps no index at all (apt commits none until it ends),
so a stalled source now fails once, quickly, the other indexes are kept,
and the script reports the source as a warning. The preferred mirror moves
only when it was implicated: an Ign or Err line naming it in the refresh,
or any line naming it in an overrun download (the 2026-11-18 case, a
throttled mirror serving the toolchain). A refresh that never finishes is
warned about, and the install goes on with the indexes it has.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GKzq1VSdcMYCRMhddiMaf

v0.1.0

Toggle v0.1.0's commit message
version.h: the version a consumer can assert, ahead of the v0.1.0 tag

The Tap family roadmap's A9 (SampleRateTap docs/ROADMAP.md). DspTap
declared its version only in project(DspTap VERSION 0.1.0) and had no tag,
so a consumer pinned a bare SHA and could not state which DspTap it was
tested with.

- include/tap/dsp/version.h: TAP_DSP_VERSION_MAJOR/_MINOR/_PATCH (0.1.0),
  TAP_DSP_VERSION_ENCODE(major, minor, patch) and TAP_DSP_VERSION, packed
  (major << 16) | (minor << 8) | patch like the family's C ABI version
  probes, so a floor compares in #if and static_assert alike.
- tests/test_version.cpp: Version.HeaderMatchesTheProjectVersion pins the
  header to project()'s version (passed in from CMake), and
  Version.EncodingIsBitPackedAndOrdered pins the packing and its order.
  Both run in tap_dsp_tests, so every leg runs them.
- README "Versioning" and CLAUDE.md's release flow state the rule:
  - bump project() and version.h together, and tag the commit vX.Y.Z;
  - tag on this repo's own cadence, never in lockstep with a consumer;
  - consumers assert the oldest DspTap they were tested with, and name
    the tag in the commit that moves their pin.

Once this merges, v0.1.0 tags the merge commit on main. SampleRateTap then
moves its pin there and asserts the floor in each engine's umbrella header.

Locally, with clang 18 Release: the full battery passes (506 of 506,
expects.PublicHeadersCompileWithoutExceptions included, which compiles the
new header under -fno-exceptions), and clang-tidy and clang-format are clean.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016GKzq1VSdcMYCRMhddiMaf