Skip to content

Use pallet-patcher to make Cargo prioritize workspace and system crates#69

Draft
Blast545 wants to merge 6 commits intocolcon:mainfrom
Blast545:main
Draft

Use pallet-patcher to make Cargo prioritize workspace and system crates#69
Blast545 wants to merge 6 commits intocolcon:mainfrom
Blast545:main

Conversation

@Blast545
Copy link

@Blast545 Blast545 commented Feb 6, 2026

This PR aims to use pallet-patcher as an additional dependency added to colcon to help Cargo resolve where to get packages from. See some discussions starting here: #67 (comment)

This PR is rather simple, because most of the heavy lifting is done in pallet-patcher. That work is still being reviewed, so I will leave this PR as a draft for now.

pallet-patcher will be run in each colcon build command, such that it checks for a list of search_paths for dependencies.

Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
@esteve
Copy link
Contributor

esteve commented Feb 6, 2026

@Blast545 when you have a moment, can you update the description with what this PR does, the rationale for these changes, etc? Thanks

@Blast545
Copy link
Author

Blast545 commented Feb 6, 2026

Sure! I am adding a functional workflow to show how it works, that's why I opened it as a draft. Give me like 30'

@Blast545 Blast545 force-pushed the main branch 6 times, most recently from c75b99f to 446c81d Compare February 6, 2026 12:49
Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
@Blast545 Blast545 force-pushed the main branch 4 times, most recently from b6bf6f3 to d4b83d9 Compare February 6, 2026 16:25
Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
@Blast545 Blast545 force-pushed the main branch 2 times, most recently from a2bc51e to 51adbff Compare February 6, 2026 18:42
Signed-off-by: Jorge J. Perez <jjperez@ekumenlabs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants