You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ACTIVITY.log.jsonl
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -72,3 +72,6 @@
72
72
{"who": "AGENT", "what": "Debrief request acknowledged", "where": ["ACTIVITY.log.jsonl"], "when": "2025-10-24T10:22:09Z", "why": "Closing out the clang-tidy cleanup session", "how": "Ready to summarize findings and next steps for the branch", "protip": "Keep the ledger current even when the work shifts to review"}
73
73
{"who": "AGENT", "what": "Re-enabled tidy checks with absolute header filter", "where": [".clang-tidy", "tools/lint/run_clang_tidy.sh"], "when": "2025-10-24T17:50:28Z", "why": "Review caught the over-broad disable—restored checks and confined analysis to project headers", "how": "Anchored HeaderFilterRegex, injected header filter path in run_clang_tidy.sh, and reran clang-tidy/make lint", "protip": "Let tidy focus on your tree via --header-filter instead of muting diagnostics"}
74
74
{"who": "AGENT", "what": "Clarified clang-tidy baseline and restored checks", "where": [".clang-tidy", "tools/lint/run_clang_tidy.sh"], "when": "2025-10-24T19:28:49Z", "why": "Earlier log entries (lines 66-69) overstated system-header issues; review confirmed the real problem was over-broad disables", "how": "Re-enabled the security/readability checks, anchored the header filter to the repo root, and added validation so clang-tidy stays scoped", "protip": "Capture the actual diagnostic numbers next time—assumptions about system headers masked the real issue"}
75
+
{"who": "AGENT", "what": "Added dependency toggles and documentation", "where": ["CMakeLists.txt", "meson.build", "meson_options.txt", "README.md", "CONTRIBUTING.md"], "when": "2025-10-25T06:16:07Z", "why": "Issue #3 requires libgit2 detection plus placeholders for CRoaring/BLAKE3", "how": "Hooked libgit2 via pkg-config in CMake/Meson, stubbed vendor options, and documented install commands", "protip": "Keep build options mirrored across CMake and Meson so contributors aren’t surprised"}
76
+
{"who": "AGENT", "what": "Handled pkg-config absence on Windows", "where": ["CMakeLists.txt", "README.md"], "when": "2025-10-25T07:06:13Z", "why": "CI showed MSVC job missing pkg-config", "how": "Made pkg-config optional in CMake with a helpful error and documented Windows install command", "protip": "If CI uses MSVC, assume pkg-config isn’t preinstalled"}
77
+
{"who": "AGENT", "what": "Made libgit2 optional across build systems", "where": ["CMakeLists.txt", "meson.build", "tools/container/Dockerfile", "README.md", "AGENTS.md"], "when": "2025-10-25T07:45:10Z", "why": "CI and reviewers flagged hard pkg-config/libgit2 dependency failures (esp. MSVC)", "how": "Added AUTO/ON/OFF toggle, fallback detection, private linkage, meson auto feature, pinned Docker install", "protip": "Treat optional deps as features: detect, warn, and gate definitions"}
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ Thanks for helping build `libgitledger`! This document complements the roadmap a
14
14
- Maintain both build systems. Preferred: run the containerised make targets (`make cmake`, `make meson`, `make test-both`) so you exercise the same matrix CI runs. These jobs copy the repo into isolated workspaces, prepare sandbox Git fixtures, and remove all remotes before mutating anything.
15
15
- If you must run directly on the host checkout, export `I_KNOW_WHAT_I_AM_DOING=1` before invoking host targets. The makefile will otherwise abort unless it detects the container guard. Manual command sequences for CMake/Meson live in the README if you need to craft bespoke invocations.
16
16
- Align tooling: warning flags, optional dependencies, and targets must stay consistent across CMake and Meson.
17
+
- Install prerequisites (at minimum `libgit2` and `pkg-config`) before running host builds. Examples: `sudo apt-get install libgit2-dev pkg-config` or `brew install libgit2 pkg-config`.
17
18
- When adding dependencies, update both build descriptions and mention the change in the relevant issue.
18
19
- Run `make lint` (containerised clang-format + clang-tidy) before submitting a PR. CI enforces the same suite on GCC, Clang, and MSVC.
19
20
- Need to bypass clang-tidy for a quick repro? Run `RUN_TIDY=0 make host-tidy` locally, but flip it back to 1 before shipping anything.
message('libgit2 disabled by configuration; continuing without it.')
19
+
else
20
+
message('libgit2 development files not found; install via your package manager (e.g. apt install libgit2-dev, brew install libgit2, or choco install libgit2).')
21
+
if libgit2_required
22
+
error('libgit2 was requested but could not be located.')
23
+
endif
24
+
endif
25
+
endif
26
+
27
+
ifnotget_option('with_croaring').disabled()
28
+
message('CRoaring support is not implemented yet; option is currently informational only.')
29
+
endif
30
+
31
+
ifnotget_option('with_blake3').disabled()
32
+
message('BLAKE3 support is not implemented yet; option is currently informational only.')
0 commit comments