Repository navigation
itos 8.3.2
itos 8.3.2
Cut by CI from the 50 commits since v8.3.1: 0 feats, 1 fix and 0 breaking changes, where a breaking change makes a major release, a feat a minor one and a fix a patch. Every change: v8.3.1...v8.3.2
What changed
Fixes
- Name the line the footer-leading-blank warning reads as the footer (
ccb5d89)
Tests
- Cover a breaking-change note that runs on in the footer warning (
e284f2f)
Build
- Run the doc budget in pre-commit when a capped file is staged (
d100b77)
CI
- Ask the Go module proxy for each new release (
75fb980) - Lower ARCHITECTURE.md's doc budget to 12000 bytes (
0f3f2ac) - Hold the pre-commit doc budget to the gates self-test (
b8fe627)
Documentation
- Add p1-release-warms-go-proxy (
0355a9b) - Close bug-108 (
22916f4) - Queue bug-108 (
fb3b50e) - Add T-165 (
fafd3c6) - Drop p1-release-warms-go-proxy (
44a61d5) - Queue T-165 (
ec7ca46) - Take T-165 (
1bcbf10) - Name /v8 in the README's go install line (
03fb2e2) - Edit p1-lint-names-footer-line (
04dcd80) - Add p1-guide-take-push-or-brief (
bcaa078) - Bring ARCHITECTURE.md back under its doc budget (
227d6e2) - Add p1-doc-budget-at-commit (
30ff6ac) - Close T-165 (
944ab2e) - Queue T-165 (
ee4abc9) - Add T-166 (
2fab397) - Add T-167 (
ff381f7) - Drop p1-doc-budget-at-commit (
6653d69) - Edit p1-testing-tiers-guide (
7732b85) - Queue T-166 (
656aabc) - Queue T-167 (
9a3f0fc) - Take T-166 (
1b19051) - Make ARCHITECTURE.md a map that points to the code and the records (
5792f82) - Add p1-adr-0029-stale (
041a149) - Take T-167 (
82796f8) - Say pre-commit runs the doc budget on a staged capped file (
057c1b4) - Close T-166 (
0911187) - Queue T-166 (
b4f11da) - Add T-168 (
4c10cc3) - Drop p1-testing-tiers-guide (
2a8ad52) - Queue T-168 (
064665e) - Close T-167 (
2dac2ac) - Queue T-167 (
40f1a5e) - Take T-168 (
7292c50) - Say in itos guide brief which tier a check a spec adds belongs to (
ab583fb) - Name itos decision record as the command that writes the decisions list (
c5588b0) - Add p1-decision-record-without-question (
d47fba5) - Add p1-task-type-fits-paths (
584ef02) - Close T-168 (
190ef01) - Queue T-168 (
0c671f4) - Add bug-109 (
613212c) - Drop p1-lint-names-footer-line (
e86830c) - Specify bug 109, the footer warning naming its line (
f870643) - Queue bug-109 (
7146edd) - Take bug-109 (
344439b)
Upgrading
Commit these changes as your project's rules ask (the install script and the pin are build
commits, or whatever type your rules give itos.yaml and tools/bin/).
-
What the commits ask. No commit since v8.3.1 is a breaking change. Every
featandfixsince v8.3.1 saysUpgrading: none. -
What it changes on purpose. The old scenarios and conformance cases the range's
Changes:footers name,
which a fix changes because they held the bug (T-071):- ccb5d89
fix: name the line the footer-leading-blank warning reads as the footer: messages.yaml: the built-in lint's warnings are printed and do not reject the message
- ccb5d89
-
The config. No key, type, value or default changed since v8.3.1: a config it accepts, this release
accepts and reads the same (tools/bin/schema-contract, T-070). -
Move the install script to 8.3.2. A project on the install script
(tools/bin/install-itos, v2.0.0's Upgrading, step 1) changes itsversion=line and each
platform's hash, from this release'schecksums.txt; the whole script, for a project that has
none yet:#!/bin/sh # tools/bin/install-itos: the pinned itos, into .tools/bin/ set -eu version=8.3.2 cd "$(git rev-parse --show-toplevel)" case "$(uname -s)-$(uname -m)" in Linux-x86_64) platform=linux-amd64 sum=8ffc99533a39038fed52fdea9cd591e4632b0688ca07b3291380ae7b1f3f983f ;; Linux-aarch64 | Linux-arm64) platform=linux-arm64 sum=762414f923007226e7c0a8923d7d8c0f8ab803dc43c10ee73e15339e6ad47a23 ;; Darwin-x86_64) platform=darwin-amd64 sum=aabd1fcb4f6f835f1807cc9b0ca5a1edee35af401f9da5d8cf53f46588a44f1d ;; Darwin-arm64) platform=darwin-arm64 sum=4e61f4f4252076a01c322835170509be4ffeed234e86425c7f2e2cd7f45a6aa0 ;; MINGW*-x86_64 | MSYS*-x86_64) platform=windows-amd64 sum=858ee5460025bc95cbe3cd5320722c49285d9b3d4d67f888cceb887d3e99bf1d ;; *) echo "install-itos: no itos archive for $(uname -s)-$(uname -m)" >&2 && exit 1 ;; esac case "$platform" in windows-*) archive="itos-$version-$platform.zip" bin=.tools/bin/itos.exe ;; *) archive="itos-$version-$platform.tar.gz" bin=.tools/bin/itos ;; esac # What was installed, so a call with nothing to do runs nothing. pin=".tools/bin/itos.pin" if [ -x "$bin" ] && [ "$(cat "$pin" 2>/dev/null)" = "$version $sum" ]; then exit 0; fi tmp=$(mktemp -d) trap 'rm -rf "$tmp"' EXIT curl -fsSL -o "$tmp/$archive" "https://github.com/donvargax/itos/releases/download/v$version/$archive" if command -v sha256sum >/dev/null; then check="sha256sum -c -"; else check="shasum -a 256 -c -"; fi (cd "$tmp" && echo "$sum $archive" | $check) mkdir -p .tools/bin case "$archive" in *.zip) unzip -o -q "$tmp/$archive" itos.exe -d .tools/bin ;; *) tar -xzf "$tmp/$archive" -C .tools/bin itos ;; esac echo "$version $sum" > "$pin" echo "install-itos: itos $version in $bin"
-
Or move the pin to 8.3.2. A repository that pins a release in
itos.yaml
(v2.1.0's Upgrading, step 2) changes its two lines;pin.checksumsis the SHA-256 of this
release'schecksums.txtitself, one hash for every platform:pin: version: 8.3.2 checksums: 9e290fbe9b5d631ae007d16be0aa934ae5dcbb44a96ca1a0ea5ba57296ca627f
A CI step that installs itos by
go installmoves to
go install github.com/donvargax/itos/v8/cmd/itos@v8.3.2. -
Point the schema line at v8.3.2's. If
itos.yaml's first line names a release's
itos.schema.json, make it
# yaml-language-server: $schema=https://github.com/donvargax/itos/releases/download/v8.3.2/itos.schema.json. -
Check:
tools/bin/itos version(oritos versionin the repository, with a pin)
printsitos 8.3.2,tools/bin/itos version --checkexits 0 (widen a cap in
requiresthat 8.3.2 is past), andtools/bin/itos config checkpasses. To report a
problem itos causes, open an issue on donvargax/itos with the labelconsumer-report
(https://github.com/donvargax/itos/issues/new?template=consumer-report.yml).
The archives are attested by the workflow that built them:
gh attestation verify <archive> -R donvargax/itos checks one, and
sha256sum --ignore-missing -c checksums.txt checks the ones downloaded beside it.