Skip to content

Conversation

@mjcarroll
Copy link
Member

The idea behind this is to make resource_retriever pluggable. That is that downstream users of the library can choose the mechanisms that they want to back the calls to "get".

This will allow for things like retrieving over ROS services or parameters.

@mjcarroll mjcarroll requested review from sloretz and wjwwood August 16, 2024 19:54
@mjcarroll mjcarroll self-assigned this Aug 16, 2024
Copy link
Member

@wjwwood wjwwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes sense to me, it's the best way to avoid resource retriever from being dependent on large things like ROS, while also keeping it somewhat easy to integrate into other non-ROS projects for relatively simple things like file:/// and package:/// urls.

@ahcorde ahcorde added the ros2 label Aug 20, 2024
@mjcarroll mjcarroll marked this pull request as ready for review December 3, 2024 16:07
@wjwwood
Copy link
Member

wjwwood commented Dec 14, 2024

I fixed up the DCO and addressed review comments in 8a30432, @clalancette could you have another quick look?

@wjwwood wjwwood requested a review from clalancette February 14, 2025 22:00
@wjwwood wjwwood dismissed stale reviews from clalancette and ahcorde February 14, 2025 22:01

out-of-date

Copy link
Member

@Yadunund Yadunund left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM with a comment on copyright headers.

@ahcorde
Copy link
Contributor

ahcorde commented Feb 19, 2025

Pulls: #103
Gist: https://gist.githubusercontent.com/ahcorde/9e7444d1b56419e258ff10755d70746b/raw/86df9c511efc6fef5cd9d84105d21785973d9df4/ros2.repos
BUILD args: --packages-above-and-dependencies resource_retriever
TEST args: --packages-above resource_retriever
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15218

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@ahcorde
Copy link
Contributor

ahcorde commented Feb 19, 2025

Pulls: #103, ros2/rviz#1262
Gist: https://gist.githubusercontent.com/ahcorde/13502377fe7128ba0a2d910a7c9dfd91/raw/2b32e8eeb4f5c28e7b0afbbdb6ea9f15771e6234/ros2.repos
BUILD args: --packages-above-and-dependencies resource_retriever
TEST args: --packages-above resource_retriever
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15221

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@mjcarroll mjcarroll requested a review from ahcorde March 4, 2025 23:27
@mjcarroll
Copy link
Member Author

Pulls: #103
Gist: https://gist.githubusercontent.com/mjcarroll/cc5568432e45f4a942cb2b519c381f26/raw/86df9c511efc6fef5cd9d84105d21785973d9df4/ros2.repos
BUILD args:
TEST args:
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/15285

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: William Woodall <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: William Woodall <[email protected]>
wjwwood and others added 10 commits March 4, 2025 17:17
Signed-off-by: William Woodall <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: William Woodall <[email protected]>
Signed-off-by: William Woodall <[email protected]>
Signed-off-by: William Woodall <[email protected]>
Signed-off-by: William Woodall <[email protected]>
Co-authored-by: Alejandro Hernández Cordero <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Signed-off-by: William Woodall <[email protected]>
@wjwwood wjwwood force-pushed the mjcarroll/plugins branch from 7050540 to a7607e6 Compare March 5, 2025 01:18
@wjwwood
Copy link
Member

wjwwood commented Mar 5, 2025

I fixed the API breaks in 67b9130 and a7607e6. Should be good to re-run CI.

@ahcorde
Copy link
Contributor

ahcorde commented Mar 5, 2025

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Mar 7, 2025

Looks like ci was interrupted?

@ahcorde
Copy link
Contributor

ahcorde commented Mar 7, 2025

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Mar 11, 2025

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

I think this CI was with the rviz changes too, which I still need to update. I'm going to re-run what @mjcarroll did before which was testing that these changes only introduced deprecation warnings (without the rviz changes):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status (edit: updated to job that was restarted)

@wjwwood
Copy link
Member

wjwwood commented Mar 11, 2025

I fixed up the rviz changes now too in ros2/rviz2@9c3ea584. So I'll rerun your CI @ahcorde:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Mar 12, 2025

Weirdly gcc 11.5 on RHEL doesn't like two attributes on a struct, Windows and whatever we're using on Ubuntu don't mind, see this godbolt with 11.4 (closest I could find on there):

https://godbolt.org/z/r8obexM18

I guess I'll just not deprecate it on RHEL? I'm not sure what to do here. @cottsay FYI in case this comes up anywhere else.

@wjwwood
Copy link
Member

wjwwood commented Mar 12, 2025

I managed this workaround (I think): 5e78208

New CI (just up to resource_retriever and no rviz changes because I need to investigate rviz test failures first):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Mar 12, 2025

7b55419 should fix the issues in rviz.

CI without rviz changes:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

CI with rviz changes (ros2/rviz#1262):

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@wjwwood
Copy link
Member

wjwwood commented Mar 13, 2025

I restored the old exception throwing behavior in 6f5eb98, which some of the rviz tests relied on, but we should really preserve if we can.

@wjwwood
Copy link
Member

wjwwood commented Mar 13, 2025

Another round of CI without changes to rviz:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

edit: Canceled these because I found a new test failure.

@wjwwood
Copy link
Member

wjwwood commented Mar 13, 2025

Yet another round of CI without rviz changes, this time after running the tests locally 🤦 :

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

Signed-off-by: William Woodall <[email protected]>
@wjwwood
Copy link
Member

wjwwood commented Mar 13, 2025

I forgot to push... man I'm on the struggle 🚌 , CI without rviz changes again:

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@mjcarroll mjcarroll merged commit cc80ce3 into rolling Apr 3, 2025
2 checks passed
@mjcarroll mjcarroll deleted the mjcarroll/plugins branch April 3, 2025 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants