check / check (pull_request) Blocked by required conditions
A plain `docker build .` now stamps the version into bsdaily: the VERSION build argument when one is given, otherwise `git describe --tags --always` of the .git in the build context. The build fails if the context carries .git and no version comes out. A host `make` build stamps the same `git describe` value, or dev when it yields nothing. bsdaily logs the version on the first line of every run and prints it with --version. The new .dockerignore is the canonical copy, which keeps .git/config out of the build context, plus this repo's host-built artifacts. script/docker is replaced with the canonical copy, which passes the version it derives on the host. Model: opus-5-5
1.8 KiB
1.8 KiB
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.mdchanges in the same commit as the work) - merge to
mainif the branch is not protected, otherwise open a PR - push
Status
pre-1.0
Next Step
Bring the repo into policy compliance in one commit: add .gitignore,
.editorconfig, and .golangci.yml. Verify make check stays green with the new
lint config.
Completed Steps
- 2026-10-02: A plain
docker build .and a hostmakebuild stamp the git tag or short commit into the binary, whichbsdailylogs on the first line of every run and prints with--version; added the canonical.dockerignore, which keeps.git/configout of the build context. - 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
- Add .gitignore, .editorconfig, .golangci.yml (the Next Step).
- 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.