Repository navigation
itos 8.4.0
Cut by CI from the 13 commits since v8.3.3: 1 feat, 0 fixes 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.3...v8.4.0
What changed
Features
- Name the repository's visibility on itos status's main branch line (
7573f74)
Tests
- Give the fake GitHub a repository whose visibility a step sets (
1a396ba)
CI
- Have the corpus's fake GitHub answer a repository's visibility (
7767100)
Documentation
- Close bug-110 (
af5f46d) - Queue bug-110 (
b345852) - Add p1-status-repo-visibility (
26878bf) - Add p1-work-done-absorbed-idea (
db2afcc) - Add p1-upgrade-names-action-uses (
478c476) - Promote p1-status-repo-visibility to slice-135 (
17fb71d) - Specify slice 135, status naming the repository's visibility (
f23e550) - Queue slice-135 (
ecbe1c6) - Take slice-135 (
2a60248) - Add T-169 (
fdc999d)
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.3 is a breaking change. Every
featandfixsince v8.3.3 saysUpgrading: none. -
What it changes on purpose. No fix since v8.3.3 names an old scenario or case it changes (
Changes:). -
The config. No key, type, value or default changed since v8.3.3: a config it accepts, this release
accepts and reads the same (tools/bin/schema-contract, T-070). -
Move the install script to 8.4.0. 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.4.0 cd "$(git rev-parse --show-toplevel)" case "$(uname -s)-$(uname -m)" in Linux-x86_64) platform=linux-amd64 sum=181864c5c38f40f0014ae3609174771f17db52bb8e4c067580e1f6aaeccce36a ;; Linux-aarch64 | Linux-arm64) platform=linux-arm64 sum=aa5f4f62362f9f9adfd489cdc5a73bfd67124af7c7a384533f461063470c65b9 ;; Darwin-x86_64) platform=darwin-amd64 sum=c41ef473d8b752069d62107d9d517f1702eb8bce511e7fa3bdfab7f33ecc929d ;; Darwin-arm64) platform=darwin-arm64 sum=7632ab557cc55b1f41e4935ad45831d80d1fede50b2047a813c670581300a71b ;; MINGW*-x86_64 | MSYS*-x86_64) platform=windows-amd64 sum=58370d4120951cfe340d05664acb467d58b69fe1a9ce2866093327913e48f0d6 ;; *) 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.4.0. 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.4.0 checksums: 1a0ca9db1db4279442788fc2c057e6ae19ada391601ae7df1da02da52cd4a2c4
A CI step that installs itos by
go installmoves to
go install github.com/donvargax/itos/v8/cmd/itos@v8.4.0. -
Point the schema line at v8.4.0'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.4.0/itos.schema.json. -
Check:
tools/bin/itos version(oritos versionin the repository, with a pin)
printsitos 8.4.0,tools/bin/itos version --checkexits 0 (widen a cap in
requiresthat 8.4.0 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.