Add .editorconfig, broaden .gitignore, drop dead Drone refs (closes #72) #104

Merged
clawbot merged 1 commits from issue-72-editorconfig-gitignore into next 2026-09-21 09:56:16 +02:00
Collaborator

Implements #72.

  • Adds .editorconfig, byte-identical to the canonical source in
    sneak/prompts (verified with a diff of the fetched file; sha256
    14903ff7...).
  • Broadens .gitignore: merges secret (.env, .env.*, *.key, *.pem),
    OS (.DS_Store, Thumbs.db), editor (*.swp, *.swo, *~, .idea/,
    .vscode/), and Go (*.log, *.out, *.test) patterns while keeping
    every repo-specific entry. git status --ignored confirms no tracked file
    became ignored; bin/gitrev.sh stays tracked despite /bin/.
  • Removes the dead Drone references left from the Gitea Actions migration:
    the .drone.yml ignore entry and the DRONE_COMMIT_SHA branch in
    bin/gitrev.sh. Both remaining paths still produce output — the GITREV
    env path (Docker build) and the git describe fallback (Gitea Actions and
    local developers).
  • TODO.md updated in the same commit.

Verification: cited run is docker build --no-cache . (serialized behind the
docker lock). make fmt-check-go and make lint — the stages these dotfile
changes could affect — both passed (lint ran genuinely, ~80s, not cached).

Disclosure (red): the cited build's make test stage timed out — panic: test timed out after 10s in TestManifestSignatureVerification, a
GPG-subprocess test. This change touches no Go code and cannot cause it;
it looks like slow GPG key operations in a fresh no-cache container.

Disclosure (judgement): the canonical .editorconfig sets space/4 for
[*]; Go files are tab-indented via gofmt, which editorconfig does not
govern. Taken verbatim per the issue rather than reconciled.

Model: opus-4-8

Implements https://git.eeqj.de/sneak/mfer/issues/72. - Adds `.editorconfig`, byte-identical to the canonical source in `sneak/prompts` (verified with a diff of the fetched file; sha256 `14903ff7...`). - Broadens `.gitignore`: merges secret (`.env`, `.env.*`, `*.key`, `*.pem`), OS (`.DS_Store`, `Thumbs.db`), editor (`*.swp`, `*.swo`, `*~`, `.idea/`, `.vscode/`), and Go (`*.log`, `*.out`, `*.test`) patterns while keeping every repo-specific entry. `git status --ignored` confirms no tracked file became ignored; `bin/gitrev.sh` stays tracked despite `/bin/`. - Removes the dead Drone references left from the Gitea Actions migration: the `.drone.yml` ignore entry and the `DRONE_COMMIT_SHA` branch in `bin/gitrev.sh`. Both remaining paths still produce output — the `GITREV` env path (Docker build) and the `git describe` fallback (Gitea Actions and local developers). - `TODO.md` updated in the same commit. Verification: cited run is `docker build --no-cache .` (serialized behind the docker lock). `make fmt-check-go` and `make lint` — the stages these dotfile changes could affect — both passed (lint ran genuinely, ~80s, not cached). Disclosure (red): the cited build's `make test` stage timed out — `panic: test timed out after 10s` in `TestManifestSignatureVerification`, a GPG-subprocess test. This change touches no Go code and cannot cause it; it looks like slow GPG key operations in a fresh no-cache container. Disclosure (judgement): the canonical `.editorconfig` sets space/4 for `[*]`; Go files are tab-indented via gofmt, which editorconfig does not govern. Taken verbatim per the issue rather than reconciled. Model: opus-4-8
clawbot added the needs-review label 2026-09-21 09:31:36 +02:00
clawbot self-assigned this 2026-09-21 09:31:36 +02:00
clawbot added 1 commit 2026-09-21 09:31:37 +02:00
Add the canonical .editorconfig verbatim from sneak/prompts. Merge secret
(.env, .env.*, *.key, *.pem), OS (.DS_Store, Thumbs.db), editor (*.swp,
*.swo, *~, .idea/, .vscode/), and Go (*.log, *.out, *.test) patterns into
.gitignore while preserving the repo-specific entries. Remove the stale
.drone.yml ignore entry and the DRONE_COMMIT_SHA branch from bin/gitrev.sh,
left over from the Gitea Actions migration.

bin/gitrev.sh remains correct: the GITREV env path (used in the Docker
build) and the git describe fallback (Gitea Actions and local developers)
both still produce output. bin/gitrev.sh stays tracked despite /bin/, and
git status --ignored confirms no tracked file became ignored.

The canonical .editorconfig sets space/4 for [*]; Go files are tab-indented
via gofmt, which editorconfig does not govern. Taken verbatim per the issue.

Model: opus-4-8
Author
Collaborator

Review passed: the definition of done is met and make check (the Docker lint and mdfmt stages, the ones these dotfile changes could affect) was observed green with the cache defeated on head 77d6a56 rebased onto next 5683d0f.

Model: opus-4-8

Review passed: the definition of done is met and `make check` (the Docker `lint` and `mdfmt` stages, the ones these dotfile changes could affect) was observed green with the cache defeated on head `77d6a56` rebased onto `next` `5683d0f`. Model: opus-4-8
clawbot removed the needs-review label 2026-09-21 09:54:21 +02:00
clawbot merged commit 6de3f1d714 into next 2026-09-21 09:56:16 +02:00
clawbot deleted branch issue-72-editorconfig-gitignore 2026-09-21 09:56:17 +02:00
Sign in to join this conversation.