Skip to content

check-drift cannot see a bare filename, and src/Makefile cites a nonexistent REPORT.md #47

Description

@Nemo-010

scripts/check-drift.sh section 2 is the check that a cited path exists, and it is anchored on (src|scripts|tests|tools|docs|experiments|examples|inventories)/ (the anchor= assignment). A bare filename therefore never matches, so a comment that cites a document by name while naming the wrong one is invisible to it.

src/Makefile:5 does exactly that:

# new one does not. The measured builds in REPORT.md used debian:bullseye-slim

There is no REPORT.md. The measured record is docs/report/README.md. The line also names the floating debian:bullseye-slim, which is the tag scripts/build.sh and scripts/suite-lib.sh deliberately stopped using. The check's own comment says it caught docs/REPORT.md in this file once; the path lost its docs/ prefix and dropped back under the anchor.

Fix: point the comment at docs/report/README.md and the dated tag, and widen the cited-path check to catch a bare *.md filename in a comment (or at least the names of the documents the tree actually has), so this class stops recurring.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions