Skip to content

Commit f47fc0b

Browse files
committed
issues: publish M2 — Minimal Linux CRT shim (_start) and freestanding CI job\n\nCreated GitHub issue #47 with labels milestone::M2, area::build, type::enhancement.\nReferences PR #46; notes that GITLEDGER_USE_NOSTDLIB stays default-OFF until closure.
1 parent 587814a commit f47fc0b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ACTIVITY.log.jsonl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,3 +126,6 @@
126126
{"who": "AGENT", "what": "CMake policy: keep -nostdlib on library always; gate executables behind GITLEDGER_USE_NOSTDLIB (default OFF)", "where": ["CMakeLists.txt"], "when": "2025-10-30T15:00:34Z", "why": "Avoid broken CI while preserving library purity; provide an option to experiment with freestanding executables later", "how": "Added GITLEDGER_USE_NOSTDLIB option; helper now respects it; library gets unconditional -nostdlib (non‑MSVC)", "protip": "Flip -DGITLEDGER_USE_NOSTDLIB=ON locally to test freestanding exec linking once CRT lands"}
127127
{"who": "AGENT", "what": "Add and verify pre-commit hook running make format-check; install target hooks-install; docs updated", "where": ["Makefile", "tools/hooks/pre-commit", "CONTRIBUTING.md"], "when": "2025-10-30T18:39:40Z", "why": "Ensure local commits match CI clang-format policy and prevent style regressions before pushing", "how": "Added core.hooksPath install target, committed tools/hooks/pre-commit that dispatches make format-check in containers with host fallback and SKIP_FORMAT_CHECK escape; validated by running make format-check across matrix", "protip": "Run make hooks-install once per clone; temporarily bypass with SKIP_FORMAT_CHECK=1 for WIP commits; use make format to auto-fix"}
128128
{"who": "AGENT", "what": "Add quick Contributing blurb in README for hooks + local checks", "where": ["README.md"], "when": "2025-10-30T19:40:03Z", "why": "Surface pre-commit format gate and local matrix checks where newcomers look first", "how": "Extended README Contributing section with bullets: make hooks-install, SKIP_FORMAT_CHECK escape, make test-both + make lint; kept CONTRIBUTING.md as the canonical detail doc", "protip": "Install hooks once per clone; use containerised targets (make test-both, make lint) to match CI exactly"}
129+
{"who": "AGENT", "what": "Review and commit pending changes in docs/ISSUE-DRAFTS.md and src/version.c", "where": ["docs/ISSUE-DRAFTS.md", "src/version.c"], "when": "2025-10-30T19:42:13Z", "why": "Preserve authored work: adds CRT shim milestone draft and replaces magic number 10 with GL_VERSION_DECIMAL_BASE in version length computation for clarity/consistency", "how": "Reviewed diffs; docs draft describes M2 Linux CRT shim and freestanding CI lane; code change is a non-functional refactor using existing enum constant. Validated via containerized build/tests.", "protip": "Keep ‘one commit per issue’: doc planning commits separate from code refactors; always run test-both before and after refactors"}
130+
{"who": "AGENT", "what": "Commit src/version.c refactor: use GL_VERSION_DECIMAL_BASE instead of magic 10 in decimal_length()", "where": ["src/version.c"], "when": "2025-10-30T19:42:18Z", "why": "Eliminate magic numbers; align with existing constants used in write_decimal(); future-proof if base is adjusted", "how": "Replaced comparisons and divisions by 10U with casts to (uint32_t) GL_VERSION_DECIMAL_BASE; no functional change; recompiled and ran tests in matrix", "protip": "Prefer sizeof(*ptr) and named constants over literals to avoid drift during refactors"}
131+
{"who": "AGENT", "what": "Publish GitHub issue: [M2] Minimal Linux CRT shim (_start) and freestanding CI job", "where": ["docs/ISSUE-DRAFTS.md", ".github/labels", "https://github.com/flyingrobots/libgitledger/issues/47"], "when": "2025-10-30T19:54:10Z", "why": "Track CRT shim + freestanding CI work with clear scope and gating policy", "how": "Extracted M2 draft from docs/ISSUE-DRAFTS.md, created labels if missing, posted issue via gh and linked current PR; noted that GITLEDGER_USE_NOSTDLIB stays OFF until closure", "protip": "Keep main matrix unchanged; add a separate freestanding-linux job gated by option"}

0 commit comments

Comments
 (0)