manifest-version check, and a Nix flake this repository validates under it #46
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
mikluko/changelog!46
Loading…
Reference in a new issue
No description provided.
Delete branch "manifest-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
A
manifest-versioncheck, defaulterror, from beadschangelog-e17. First consumer: https://sarak.sh/mikluko/baox, whosenix evalshell step it replaces.New
flake-attrinput /-flake-attrflag,defaultunless set. The action does not install nix.This repository then consumes the check itself:
Evidence
Real nix 2.36 in a
nixos/nixcontainer, against the linux binary:This repository's flake, in the same container:
nix build .#changelogbuilds,nix fmt -- --checkis clean, and./result/bin/changelog -fragments .changelogpasses. Afterecho 9.9.9 > actions/VERSION:cmd/changelog/manifest_test.gopins the exact nix argv and working directory with a fakenixon PATH, plus the no-nix, missing-package and nothing-to-compare cases.TestLintRaisesNoManifestFindingholds it out ofLint.Merge Danger
Door: two-way
Blast Radius: consumers
A repository on
@v2with aflake.nixbeside its changelog and no nix on the runner turns red at the release carrying this, until it installs nix or switches the check off.The Forgejo runner builds unsandboxed as root, where the go command's telemetry created
/homeless-shelterand nix refused the next derivation;package.nixpointsHOMEat$TMPDIRfor both derivations. The release workflow's and the mirror's nix steps run only at a release. Runninggo run ./cmd/changeloglocally now needs nix, or-off manifest-version.Checklist
.changelog/gained a fragment carrying this change's notes, or this change needs none.AI assistance
Claude Code (
Assisted-Bytrailer on the commit).