Add data support in ament_index_share_files - #418
Conversation
|
@calderpg-tri if you have time to take a quick look at it I'd appreciate it. |
julianadrianheine
left a comment
There was a problem hiding this comment.
just left one small non-blocking nit/question.
@julianadrianheine made 2 comments.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on calderpg-tri and frneer).
bazel_ros2_rules/lib/ament_index.bzl line 102 at r1 (raw file):
allow_files = True, ), data = attr.label_list(
nit: since both data and srcs are being handled exactly the same, it might be good to add a small note explaining what should go to each argument?
b817aac to
074b473
Compare
frneer
left a comment
There was a problem hiding this comment.
Nice question, you convinced me to take a different approach. PTAL
@frneer made 2 comments.
Reviewable status: 0 of 1 files reviewed, 1 unresolved discussion (waiting on calderpg-tri and julianadrianheine).
bazel_ros2_rules/lib/ament_index.bzl line 102 at r1 (raw file):
Previously, julianadrianheine (julianheine) wrote…
nit: since both
dataandsrcsare being handled exactly the same, it might be good to add a small note explaining what should go to each argument?
Actually we don't strictly need to have a separate data attribute expose, including the runfiles should do it. Even though having data is the standard in bazel in this case I agree is more confusing than helpful.
imcmahon-tri
left a comment
There was a problem hiding this comment.
@imcmahon-tri reviewed 1 file and all commit messages, and made 1 comment.
Reviewable status: all files reviewed, 1 unresolved discussion (waiting on imcmahon-tri and julianadrianheine).
frneer
left a comment
There was a problem hiding this comment.
@frneer resolved 1 discussion.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on frneer).
|
Double stamped 😅 |
This patch adds a
dataattribute, to support runtime files such as meshes that inbazeltargets usually live indatarather thansrcs.This change is