Skip to content
This repository has been archived by the owner on Dec 14, 2022. It is now read-only.

Allow user to skip rosdep collection #140

Closed
3 tasks done
emersonknapp opened this issue Feb 12, 2020 · 0 comments · Fixed by #177
Closed
3 tasks done

Allow user to skip rosdep collection #140

emersonknapp opened this issue Feb 12, 2020 · 0 comments · Fixed by #177
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers
Milestone

Comments

@emersonknapp
Copy link
Contributor

emersonknapp commented Feb 12, 2020

Description

As a time optimization in the build process, allow the user to skip collecting rosdeps. It can take about 10s to run rosdep update and when working on code without changing dependencies, it is not necessary every time.

This would be a "power-user feature"

Related Issues

Depends on #139

Completion Criteria

  • User can explicitly skip collecting rosdeps via a CLI flag
  • If the cc_internals/install_rosdeps.sh script doesn't exist already, raise an exception
  • Appropriate documentation exists on the flag to warn about the problems it can cause when used incorrectly. Something like "NOTE: This is an optimization feature for incremental builds to save time running rosdep update - you must have run without this flag at least once to collect the initial dependencies. It has undefined behavior if you change the dependencies of your workspace."

Implementation Notes / Suggestions

Just need a bool CLI flag to pass to the cross_compile pipeline and put the rosdep step in an if-block

Testing Notes / Suggestions

Add a unit test!

@emersonknapp emersonknapp added enhancement New feature or request good first issue Good for newcomers labels Feb 12, 2020
@emersonknapp emersonknapp added this to the Sprint #15 milestone Mar 19, 2020
snehaldb90 pushed a commit to aws-ros-dev/cross_compile that referenced this issue Mar 27, 2020
…ction

Implemented a cross compile feature that allow user to skip ros dependencies.
snehaldb90 pushed a commit to aws-ros-dev/cross_compile that referenced this issue Mar 28, 2020
…ction

Implemented a cross compile feature that allow user to skip ros dependencies.

Signed-off-by: Ubuntu <ubuntu@ip-172-31-13-156.us-east-2.compute.internal>
@thomas-moulard thomas-moulard removed this from the Sprint #15 milestone Mar 30, 2020
snehaldb90 pushed a commit to aws-ros-dev/cross_compile that referenced this issue Mar 30, 2020
…ction

Implemented a cross compile feature that allow user to skip ros dependencies.

Signed-off-by: Ubuntu <ubuntu@ip-172-31-13-156.us-east-2.compute.internal>
@emersonknapp emersonknapp added this to the Sprint #16 milestone Mar 30, 2020
snehaldb90 pushed a commit to aws-ros-dev/cross_compile that referenced this issue Mar 30, 2020
…ction

Implemented a cross compile feature that allow user to skip ros dependencies.

Signed-off-by: Snehal Bichkar <snehaldb@amazon.com>
emersonknapp pushed a commit that referenced this issue Mar 30, 2020
Implemented a cross compile feature that allow user to skip ros dependencies.

Signed-off-by: Snehal Bichkar <snehaldb@amazon.com>
@emersonknapp emersonknapp reopened this Mar 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
3 participants