Compare commits
1
Commits
c6497c2ccd
..
next
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f3af05c91 |
@@ -58,3 +58,6 @@
|
|||||||
**/.idea
|
**/.idea
|
||||||
**/.vscode
|
**/.vscode
|
||||||
**/*.sublime-*
|
**/*.sublime-*
|
||||||
|
|
||||||
|
# This repo's host-built binary (`make build`); the image builds its own.
|
||||||
|
/attrsum
|
||||||
|
|||||||
@@ -6,4 +6,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
# actions/checkout v4.2.2, 2026-02-28
|
# actions/checkout v4.2.2, 2026-02-28
|
||||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
|
||||||
|
# Full history and tags, so the build stamps the same
|
||||||
|
# `git describe` version as a full clone.
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
- run: script/cibuild
|
- run: script/cibuild
|
||||||
|
|||||||
+1
-1
@@ -40,7 +40,7 @@ ARG VERSION
|
|||||||
RUN version="${VERSION:-$(git describe --tags --always)}"; \
|
RUN version="${VERSION:-$(git describe --tags --always)}"; \
|
||||||
if [ -e .git ] && { [ -z "$version" ] || [ "$version" = dev ] || \
|
if [ -e .git ] && { [ -z "$version" ] || [ "$version" = dev ] || \
|
||||||
[ "$version" = unknown ]; }; then \
|
[ "$version" = unknown ]; }; then \
|
||||||
echo "no version could be derived although the build context carries .git" >&2; \
|
echo "version is '$version' although .git is present" >&2; \
|
||||||
exit 1; \
|
exit 1; \
|
||||||
fi; \
|
fi; \
|
||||||
make build VERSION="${version:-dev}"
|
make build VERSION="${version:-dev}"
|
||||||
|
|||||||
@@ -28,7 +28,9 @@ $(HOME)/Documents/_SYSADMIN/cyberdyne path.
|
|||||||
|
|
||||||
* 2026-10-02: `attrsum --version` reports the git tag or short commit,
|
* 2026-10-02: `attrsum --version` reports the git tag or short commit,
|
||||||
stamped by `make build` and by a plain `docker build .` of a clone;
|
stamped by `make build` and by a plain `docker build .` of a clone;
|
||||||
`.dockerignore` sends `.git` without `.git/config`
|
`.dockerignore` sends `.git` without `.git/config` and keeps a
|
||||||
|
host-built `attrsum` out; CI checks out full history so it stamps
|
||||||
|
the same version
|
||||||
* 2026-02-02: correctness pass: track actual bytes read instead of
|
* 2026-02-02: correctness pass: track actual bytes read instead of
|
||||||
stale file size, atomic failure tracking in ProcessCheck, detect
|
stale file size, atomic failure tracking in ProcessCheck, detect
|
||||||
file modification during checksum (TOCTOU), propagate countFiles
|
file modification during checksum (TOCTOU), propagate countFiles
|
||||||
@@ -42,8 +44,6 @@ $(HOME)/Documents/_SYSADMIN/cyberdyne path.
|
|||||||
|
|
||||||
# Future Steps
|
# Future Steps
|
||||||
|
|
||||||
* Add Dockerfile and .dockerignore that run make check, images pinned
|
|
||||||
by sha256, plus a Makefile docker target
|
|
||||||
* Add .gitea/workflows/check.yml
|
* Add .gitea/workflows/check.yml
|
||||||
* Restructure README.md into the standard sections: Description,
|
* Restructure README.md into the standard sections: Description,
|
||||||
Getting Started, Rationale, Design, TODO, License, Author (Getting
|
Getting Started, Rationale, Design, TODO, License, Author (Getting
|
||||||
|
|||||||
Reference in New Issue
Block a user