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

A couple of fixes for path handling #14

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

cottsay
Copy link
Member

@cottsay cottsay commented Sep 18, 2024

It appears that indexing into the files in a git tree only works with POSIX paths, so the Windows native paths need to be converted.

Additionally, I made a bad assumption about the 'python.yaml' file name in the rosdep analyzer. That change should have no effect on POSIX systems, and makes Windows runs more consistent.

@cottsay cottsay added the bug Something isn't working label Sep 18, 2024
@cottsay cottsay self-assigned this Sep 18, 2024
It appears that indexing into the files in a git tree only works with
POSIX paths, so the Windows native paths need to be converted.

Additionally, I made a bad assumption about the 'python.yaml' file name
in the rosdep analyzer. That change should have no effect on POSIX
systems, and makes Windows runs more consistent.
@cottsay cottsay force-pushed the cottsay/rosdep-win-paths branch from 73192ab to e6f385d Compare September 18, 2024 18:06
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 38.90%. Comparing base (5e0a145) to head (e6f385d).

Files with missing lines Patch % Lines
rosdistro_reviewer/yaml_changes.py 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #14      +/-   ##
==========================================
- Coverage   39.10%   38.90%   -0.21%     
==========================================
  Files          12       12              
  Lines         583      586       +3     
  Branches      154      154              
==========================================
  Hits          228      228              
- Misses        350      353       +3     
  Partials        5        5              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cottsay cottsay merged commit 99f41ec into main Sep 20, 2024
18 checks passed
@cottsay cottsay deleted the cottsay/rosdep-win-paths branch September 20, 2024 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants