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

Run clean_rosdep_yaml.py on rosdep YAML files #41118

Closed
wants to merge 3 commits into from

Conversation

amalnanavati
Copy link
Contributor

The rosdep YAML files have diverged from the formatting enforced by scripts/clean_rosdep_yaml.py. As a result, the script is not particularly useful since when someone runs it, it makes hundreds of lines of changes, as opposed to a targeted change on their contribution.

Thus, this PR brings the YAML formatting up-to-date by running:

  • python3 scripts/clean_rosdep_yaml.py rosdep/python.yaml rosdep/python.yaml
  • python3 scripts/clean_rosdep_yaml.py rosdep/base.yaml rosdep/base.yaml
  • python3 scripts/clean_rosdep_yaml.py rosdep/osx-homebrew.yaml rosdep/osx-homebrew.yaml
  • python3 scripts/clean_rosdep_yaml.py rosdep/ruby.yaml rosdep/ruby.yaml
  • (Note: I skipped gentoo.yaml because formatting only removed the comment at the top that specifies that the file should not be removed and is kept for legacy purposes.)

For what it's worth, I ran that above script with Python 3.11.3 on Mac OSx 13.2.1.

@amalnanavati amalnanavati requested a review from a team as a code owner May 9, 2024 16:34
@github-actions github-actions bot added the rosdep Issue/PR is for a rosdep key label May 9, 2024
@amalnanavati
Copy link
Contributor Author

Given that the the validation fails, it seems like there is some mismatch between clean_rosdep_yaml.py and the validation scripts, surrounding whether to surround the gentoo packages in single quotes or not. Perhaps clean_rosdep_yaml.py has to be updated instead? I created an issue for it: #41119

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rosdep Issue/PR is for a rosdep key
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant