Repository navigation
Fix: correct download_deps.py path in error messages and add native libs doc - #16557
Conversation
📝 WalkthroughWalkthroughUpdates native dependency checks and guidance in ChangesNative dependency guidance updates
Estimated code review effort: 2 (Simple) | ~10 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
e9a3dee to
e1be9d5
Compare
There was a problem hiding this comment.
🧹 Nitpick comments (1)
build.sh (1)
355-355: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low valueDuplicated lld install/symlink instructions.
The full
sudo apt install lld-20 && sudo ln -s /usr/bin/ld.lld-20 /usr/bin/ld.lldstring is repeated verbatim at Line 355 and Line 508. Consider extracting to a shared variable to avoid drift if the required version changes later.Also applies to: 507-508
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@build.sh` at line 355, The ld.lld install/symlink command is duplicated in the build script, so update the echoed error messages to reference a single shared variable or helper that holds the lld installation instructions. Use the existing error-printing blocks around the ld.lld checks in build.sh so both locations stay in sync if the required version changes.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Nitpick comments:
In `@build.sh`:
- Line 355: The ld.lld install/symlink command is duplicated in the build
script, so update the echoed error messages to reference a single shared
variable or helper that holds the lld installation instructions. Use the
existing error-printing blocks around the ld.lld checks in build.sh so both
locations stay in sync if the required version changes.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 0ea6b7b8-6244-40a8-960d-3b3c74b412a5
📒 Files selected for processing (2)
build.shinternal/development.md
✅ Files skipped from review due to trivial changes (1)
- internal/development.md
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #16557 +/- ##
==========================================
- Coverage 94.56% 93.16% -1.40%
==========================================
Files 10 10
Lines 717 717
Branches 118 118
==========================================
- Hits 678 668 -10
- Misses 25 29 +4
- Partials 14 20 +6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
…ibs doc (infiniflow#16557) ## Summary Fix error messages in `build.sh` and add documentation in `internal/development.md` for downloading native static libraries (pdfium, pdf_oxide, office_oxide). ## Changes - `build.sh`: change error hint from `uv run download_deps.py` to `uv run ragflow_deps/download_deps.py` (correct path from project root) - `internal/development.md`: add section 2.1 documenting how to download native libs and install lld
…ibs doc (infiniflow#16557) ## Summary Fix error messages in `build.sh` and add documentation in `internal/development.md` for downloading native static libraries (pdfium, pdf_oxide, office_oxide). ## Changes - `build.sh`: change error hint from `uv run download_deps.py` to `uv run ragflow_deps/download_deps.py` (correct path from project root) - `internal/development.md`: add section 2.1 documenting how to download native libs and install lld
Summary
Fix error messages in
build.shand add documentation ininternal/development.mdfor downloading native static libraries (pdfium, pdf_oxide, office_oxide).Changes
build.sh: change error hint fromuv run download_deps.pytouv run ragflow_deps/download_deps.py(correct path from project root)internal/development.md: add section 2.1 documenting how to download native libs and install lld