check / check (push) Successful in 8m9s
Vendors .gitignore, .dockerignore, .editorconfig, REPO_POLICIES.md, script/cibuild, script/docker, script/lint, script/test and the CI workflow byte-identical from sneak/prompts commit cc440118c876; the two ignore files then add this repo's own build output, root-anchored so cmd/bsdaily/ stays in. The Dockerfile gains a lint phase on the golangci-lint image already pinned and a test phase on the Debian Go image with sqlite3 and zstd; the build stage copies a file from each, so a plain docker build cannot skip them. Nothing installs golangci-lint on the host. On apt, script/bootstrap refreshes the package lists once before its first install. .golangci.yml and the lint cleanup: #6 Model: opus-5-5
49 lines
1.9 KiB
Markdown
49 lines
1.9 KiB
Markdown
# Workflow
|
|
|
|
* branch (from `main`)
|
|
* do the work in Next Step
|
|
* move Next Step to the top of Completed Steps
|
|
* move the top item of Future Steps into Next Step
|
|
* commit (`TODO.md` changes in the same commit as the work)
|
|
* merge to `main` if the branch is not protected, otherwise open a PR
|
|
* push
|
|
|
|
# Status
|
|
|
|
pre-1.0
|
|
|
|
# Next Step
|
|
|
|
Add the canonical `.golangci.yml`, move the lint phase to golangci-lint
|
|
v2.14.0 in the same commit, and fix the findings it surfaces
|
|
(https://git.eeqj.de/sneak/bsdaily/issues/6).
|
|
|
|
# Completed Steps
|
|
|
|
- 2026-10-05: Brought the repo up to the standard layout: canonical
|
|
`.gitignore`, `.dockerignore` and `.editorconfig`; `lint` and `test`
|
|
phases in the `Dockerfile`, built by `script/lint` and `script/test`;
|
|
canonical `script/cibuild`, `script/docker` and CI workflow; no linter
|
|
installed on the host; re-vendored `REPO_POLICIES.md`.
|
|
- 2026-07-07 Adopted scripts-to-rule-them-all: `script/` entrypoints,
|
|
Makefile shims, README Entrypoints section
|
|
- 2026-06-28: Fixed errcheck lint failures; added compilation smoke test;
|
|
tidied go.mod.
|
|
- 2026-06-28: Added repo scaffolding: README, LICENSE, Makefile,
|
|
Dockerfile, REPO_POLICIES.md, and Gitea CI.
|
|
- 2026-02-12: Fixed SQLite database locking by removing parallel
|
|
processing; fixed Linux build via golang.org/x/sys/unix Fadvise.
|
|
- 2026-02-12: Optimized file copy for large databases; moved temp
|
|
directory to NVMe scratch storage.
|
|
- 2026-02-11: Added date range support.
|
|
- 2026-02-09: Initial implementation: single-day extraction, specific-date
|
|
targeting, faster pruning of throwaway database copies.
|
|
|
|
# Future Steps
|
|
|
|
- Format Markdown with prettier in `script/fmt` and `script/fmt-check`
|
|
(https://git.eeqj.de/sneak/bsdaily/issues/7).
|
|
- Expand tests beyond the compilation smoke test: unit tests for the
|
|
extraction, verification, and atomic-publish paths.
|
|
- Cut a first SemVer release once compliance and test coverage land.
|