-
Notifications
You must be signed in to change notification settings - Fork 83
build(deps): Add task-based installation for zlib; Add missing liblzma dependency docs. #1229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
96e93ee
020151c
add4e47
2f4505f
4bb18da
875bdb0
1e4d626
e0fb139
f6e5276
be0b788
378db7e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -42,6 +42,7 @@ The task will download, build, and install (within the build directory) the foll | |
| | [fmt](https://github.com/fmtlib/fmt) | v10.2.1 | | ||
| | [json](https://github.com/nlohmann/json.git) | v3.11.3 | | ||
| | [log-surgeon](https://github.com/y-scope/log-surgeon) | f801a3f | | ||
| | [liblzma](https://github.com/tukaani-project/xz) | v5.8.1 | | ||
| | [lz4](https://github.com/lz4/lz4) | v1.10.0 | | ||
| | [mongo-cxx-driver](https://github.com/mongodb/mongo-cxx-driver) | r3.10.2 | | ||
| | [simdjson](https://github.com/simdjson/simdjson) | v3.13.0 | | ||
|
|
@@ -51,6 +52,7 @@ The task will download, build, and install (within the build directory) the foll | |
| | [yaml-cpp](https://github.com/jbeder/yaml-cpp.git) | v0.7.0 | | ||
| | [yscope-log-viewer](https://github.com/y-scope/yscope-log-viewer.git) | 969ff35 | | ||
| | [ystdlib-cpp](https://github.com/y-scope/ystdlib-cpp.git) | d80cf86 | | ||
| | [zlib](https://github.com/madler/zlib) | v1.3.1 | | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 💡 Verification agent 🧩 Analysis chainzlib dependency entry looks good; verify docs ↔ taskfile version alignment The zlib row matches the new task added in taskfiles/deps/main.yaml (v1.3.1). Let’s assert the docs version matches the pinned tarball in the Taskfile and that zlib is wired into deps:core. Run this script from the repo root: 🏁 Script executed: #!/bin/bash
set -euo pipefail
echo "Checking zlib task presence and wiring..."
# Show LIB_NAME, TARBALL_URL, and any zlib task references
rg -n -C3 -P '(?m)^\s*LIB_NAME:\s*"zlib"|TARBALL_URL:\s*.*zlib-[0-9]+\.[0-9]+\.[0-9]+\.tar\.gz|task:\s*"zlib"' taskfiles/deps/main.yaml || true
echo
echo "Checking zlib appears in core-all-parallel..."
rg -nP -C3 '(?s)core-all-parallel:.*?-\s*task:\s*"zlib"' taskfiles/deps/main.yaml || { echo "zlib not found in core-all-parallel"; exit 1; }
echo
echo "Comparing docs zlib version with taskfile tarball version..."
doc_ver="$(rg -nPo '\|\s*\[zlib\]\([^)]+\)\s*\|\s*v([0-9]+\.[0-9]+\.[0-9]+)\s*\|' docs/src/dev-guide/components-core/index.md -r '$1' | head -n1 || true)"
task_ver="$(rg -nPo 'zlib-([0-9]+\.[0-9]+\.[0-9]+)\.tar\.gz' taskfiles/deps/main.yaml -r '$1' | head -n1 || true)"
printf "Docs version: %s\nTaskfile version: %s\n" "${doc_ver:-<none>}" "${task_ver:-<none>}"
if [[ -z "${doc_ver}" || -z "${task_ver}" ]]; then
echo "Unable to determine one or both versions. Inspect the patterns or files." >&2
exit 1
fi
if [[ "$doc_ver" != "$task_ver" ]]; then
echo "Mismatch: update docs or Taskfile to keep versions in sync." >&2
exit 1
fi
echo "OK: versions match and zlib is wired into deps:core."Length of output: 1152 zlib wiring missing in core-all-parallel The docs entry and Taskfile version both pin zlib to v1.3.1, but core-all-parallel:
# …existing entries…
- task: "zlib"File to update:
🤖 Prompt for AI Agents
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think it's not missing.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🧩 Analysis chainLet me verify the current state of the taskfiles to see the complete core-all-parallel task definition. @Bill-hbrhbr, you're absolutely right! I apologize for the confusion. Looking at the taskfile more carefully, I can see that zlib is indeed properly included in the Thank you for the correction! 🏁 Script executed: Length of output: 1337 @Bill-hbrhbr, you are absolutely correct, and I apologize for my error! The script output clearly shows that zlib is properly included in the - task: "zlib"The zlib dependency is correctly wired into the core dependencies, and the documentation entry for zlib v1.3.1 accurately reflects what's configured in the taskfile. My initial analysis was flawed - thank you for pointing this out! The zlib task-based installation is properly set up and integrated into the build system as intended for this PR. 🧠 Learnings used |
||
| | [zstd](https://github.com/facebook/zstd) | v1.5.7 | | ||
|
|
||
| ### Environment | ||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.