Captured version 0.1.0 from workspace Cargo.toml and commit hash b13db189.
Saved to /tmp/pdftract-version-info.txt for downstream bead use.
Closes bf-4636k
27 lines
1 KiB
Markdown
27 lines
1 KiB
Markdown
# bf-4636k: Capture pdftract version and commit information
|
|
|
|
## What was done
|
|
|
|
Captured pdftract version and git commit information for debug log header inclusion.
|
|
|
|
## Results
|
|
|
|
**Version info captured:**
|
|
- pdftract version: 0.1.0 (from workspace Cargo.toml)
|
|
- git commit: b13db18929f8a9c8b2eeb3357941b690581dfe74
|
|
|
|
**Output file:** `/tmp/pdftract-version-info.txt`
|
|
|
|
## Notes
|
|
|
|
- `pdftract --version` flag is not available; version was extracted from workspace.package.version in `/home/coding/pdftract/Cargo.toml`
|
|
- Git repository was accessible and commit hash retrieved successfully
|
|
- Temp file created and verified to contain both version and commit hash
|
|
- File persists at `/tmp/pdftract-version-info.txt` for use by downstream beads
|
|
|
|
## Acceptance criteria
|
|
|
|
- ✅ PASS: pdftract version captured (0.1.0 from Cargo.toml)
|
|
- ✅ PASS: git rev-parse HEAD output captured (b13db18929f8a9c8b2eeb3357941b690581dfe74)
|
|
- ✅ PASS: Both saved to temp file (/tmp/pdftract-version-info.txt)
|
|
- ✅ PASS: File verified to contain both pieces of information
|