Skip to content

Commit

Permalink
Merge pull request #29 from ApexAI/17-add-parsing-patches-for-http_ar…
Browse files Browse the repository at this point in the history
…chive-repos_index

Add support for parsing patches for http_archives in repos_index file
  • Loading branch information
kilian-funk-apexai authored Oct 22, 2024
2 parents 4ce8647 + 54538d8 commit 64a3c75
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions repos/config/detail/generate_ros2_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,10 @@ def build_http_archive_load_command(repo, spec):
sha256 = "{spec['hash']}",
strip_prefix = "{spec['strip_prefix']}",
repo_rule = http_archive,
patches = [{''.join(f'\n "{i}",' for i in spec.get('patches', []))}
],
patch_args = [{''.join(f'\n "{i}",' for i in spec.get('patch_args', []))}
],
)
"""

Expand Down

0 comments on commit 64a3c75

Please sign in to comment.