4b8e5a7e

Author: Michael Lynch <git@mtlynch.io>

Committer: Michael Lynch <mtlynch@noreply.codeberg.org>

Show git revision and build time on the /about page (#113)

Add a build package that reads VCS stamping embedded by go build
(vcs.revision and vcs.time from runtime/debug.ReadBuildInfo). The
about handler passes the revision and build time to the template,
which displays them under a "Build info" heading.

Copy .git into the Docker builder stage so VCS stamping works in
container builds.

Inspired by picoshare commit 3248b5d.

Co-authored-by: Shelley <shelley@exe.dev>

Reviewed-on: https://codeberg.org/mtlynch/little-moments/pulls/113
Co-authored-by: Michael Lynch <git@mtlynch.io>
Co-committed-by: Michael Lynch <git@mtlynch.io>
configuredevShellbackendbackend-devcheck-bashcheck-frontendcheck-go-formattingcheck-go-test-packagescheck-trailing-newlinecheck-trailing-whitespacediagramdocker-imagee2e-testsgo-testsimport-from-tinybeanslint-sqllittle-momentslittle-moments-devx86_64-linux