Skip to content

Modify paths for vendored crates and use --offline configuration - #778

Open
Blast545 wants to merge 3 commits into
ros-infrastructure:masterfrom
Blast545:blast545/cargo_crate_sourcing
Open

Modify paths for vendored crates and use --offline configuration#778
Blast545 wants to merge 3 commits into
ros-infrastructure:masterfrom
Blast545:blast545/cargo_crate_sourcing

Conversation

@Blast545

@Blast545 Blast545 commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

Changes:

  • if the crate being build includes debian/vendor (meaning included vendored crates), we also include a section in the configuration to replace crates.io with local vendored source.
  • printf '\n[net]\noffline = true\n' >> pallet-patcher.toml -> Configure cargo to build offline. It won't stop build.rs scripts and other macros, but this keeps ros_buildfarm current behavior.
  • Moves vendored crates from debian/vendor to vendor (cp -a debian/vendor "$$TARGET/vendor") when these are installed. They can't be kept in debian because that folder is used for packaging metadata.

Blast545 and others added 3 commits July 30, 2026 03:19
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@codecov-commenter

codecov-commenter commented Aug 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (master@6a330de). Learn more about missing BASE report.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #778   +/-   ##
=========================================
  Coverage          ?   52.26%           
=========================================
  Files             ?       57           
  Lines             ?     6985           
  Branches          ?     1208           
=========================================
  Hits              ?     3651           
  Misses            ?     2986           
  Partials          ?      348           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants