Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove released repos from repos file #975

Merged
merged 5 commits into from
Feb 7, 2022

Conversation

tylerjw
Copy link
Member

@tylerjw tylerjw commented Jan 7, 2022

Description

The repos file is not needed for foxy. All released versions are acceptable. This PR removes the file and adapts the Dockerfiles to handle it not existing.

@mergify
Copy link

mergify bot commented Jan 7, 2022

Please target the main branch for development, we will backport the changes to foxy for you if approved and if they don't break API.

@tylerjw tylerjw changed the title Update repos file on foxy Remove repos file from foxy branch Jan 7, 2022
@@ -1,33 +0,0 @@
repositories:
Copy link
Member

Choose a reason for hiding this comment

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

Instead of deleting, I think it's fine keeping an empty or commented file

Copy link
Member Author

@tylerjw tylerjw Jan 7, 2022

Choose a reason for hiding this comment

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

Putting it back but commenting it out might cause the docker build to fail. I changed the docker build to test if it exists before running vcs import. I'll test what vcs import does with a all commented out or empty file.

Copy link
Member Author

Choose a reason for hiding this comment

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

Commenting out the whole file causes vcs to return non-zero and give this output:

Input data is not valid format: 'NoneType' object is not subscribable

The way I did it here it still returns 0, it just prints this warning:

List of repositories is empty

Copy link
Member

Choose a reason for hiding this comment

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

works for me

Copy link
Contributor

Choose a reason for hiding this comment

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

It also looks good to me. I agree with Henning that we might want to use .repos in the future, if we want to merge a change depending on our upstream.

Signed-off-by: Tyler Weaver <tyler@picknik.ai>
@tylerjw tylerjw force-pushed the update_repos_repos branch from 4db7029 to 73c9ea8 Compare January 7, 2022 18:32
@codecov
Copy link

codecov bot commented Jan 7, 2022

Codecov Report

Merging #975 (1df8416) into foxy (dd72865) will decrease coverage by 0.02%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             foxy     #975      +/-   ##
==========================================
- Coverage   46.81%   46.79%   -0.01%     
==========================================
  Files         185      185              
  Lines       19693    19693              
==========================================
- Hits         9217     9214       -3     
- Misses      10476    10479       +3     
Impacted Files Coverage Δ
...dl_kinematics_plugin/src/kdl_kinematics_plugin.cpp 74.72% <0.00%> (-1.13%) ⬇️

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 dd72865...1df8416. Read the comment docs.

@tylerjw tylerjw changed the title Remove repos file from foxy branch Remove released repos from repos file Jan 7, 2022
@henningkayser henningkayser merged commit 811dd46 into moveit:foxy Feb 7, 2022
@tylerjw tylerjw deleted the update_repos_repos branch February 7, 2022 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants