Skip to content

skip EOL distros by default, add option to include them#647

Merged
dirk-thomas merged 3 commits intomasterfrom
skip-eol-distros
Jan 14, 2019
Merged

skip EOL distros by default, add option to include them#647
dirk-thomas merged 3 commits intomasterfrom
skip-eol-distros

Conversation

@dirk-thomas
Copy link
Copy Markdown
Member

With the increasing number of already EOLed ROS distros the time for rosdep update increases with it.

Currently groovy, hydro and jade are EOLed ROS 1 distros. With the merge of the ROS 2 distro into the same repo ardent will be another EOLed one.

This patch changes the default behavior of rosdep update to not fetch / consider EOLed distros which will improve its performance. The new option --include-eol-distros can be used to continue including EOLed distros.

@dirk-thomas
Copy link
Copy Markdown
Member Author

Two of the Travis builds fail for unrelated reasons and are already present on the master branch.

def update_sources_list(sources_list_dir=None, sources_cache_dir=None,
success_handler=None, error_handler=None):
success_handler=None, error_handler=None,
include_eol_distros=False):
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The new parameter can be added to the docstring.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Good point: f1ba42d

@codecov-io
Copy link
Copy Markdown

codecov-io commented Jan 10, 2019

Codecov Report

Merging #647 into master will decrease coverage by 0.12%.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #647      +/-   ##
==========================================
- Coverage   75.29%   75.17%   -0.13%     
==========================================
  Files          30       30              
  Lines        2882     2888       +6     
==========================================
+ Hits         2170     2171       +1     
- Misses        712      717       +5
Impacted Files Coverage Δ
src/rosdep2/sources_list.py 85.91% <0%> (-1.26%) ⬇️
src/rosdep2/main.py 48.49% <100%> (+0.09%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74e473f...5bcdb56. Read the comment docs.

@dirk-thomas
Copy link
Copy Markdown
Member Author

@dirk-thomas
Copy link
Copy Markdown
Member Author

@wjwwood FYI. I will go ahead and merge and release this change (even though CI fails).

@dirk-thomas dirk-thomas merged commit ae0e89a into master Jan 14, 2019
@dirk-thomas dirk-thomas deleted the skip-eol-distros branch January 14, 2019 17:00
Rayman added a commit to Rayman/ros-get that referenced this pull request Jan 21, 2019
nuclearsandwich added a commit to ros-infrastructure/bloom that referenced this pull request Jan 23, 2019
With ros-infrastructure/rosdep#647 rosdistros
that are no longer supported don't have rosdep updates fetched.

The system tests relied on groovy updates from rosdep. I've moved the
system test to melodic. I chose melodic rather than indigo or kinetic
because indigo will enter end-of-support later this year and Kinetic is
currently supported on only one Debian/Ubuntu distro. Melodic is still
supported on Bionic and Stretch.
nuclearsandwich added a commit to ros-infrastructure/bloom that referenced this pull request Jan 23, 2019
With ros-infrastructure/rosdep#647 rosdistros
that are no longer supported don't have rosdep updates fetched.

The system tests relied on groovy updates from rosdep. I've moved the
system test to melodic. I chose melodic rather than indigo or kinetic
because indigo will enter end-of-support later this year and Kinetic is
currently supported on only one Debian/Ubuntu distro. Melodic is still
supported on Bionic and Stretch.
@mathias-luedtke
Copy link
Copy Markdown
Contributor

Added a note to the wiki:

@dirk-thomas: This change only affects EOL systems (incl. CI ;)), so a post on ROS discourse might be more suitable to reach these legacy users.
Especially w.r.t indigo, which will be EOL soon.

@dirk-thomas
Copy link
Copy Markdown
Member Author

This change only affects EOL systems (incl. CI ;)), so a post on ROS discourse might be more suitable to reach these legacy users.

https://discourse.ros.org/t/rosdep-and-eol-distros/7640

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants