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

Ensure that symlinked arguments are resolved #2476

Merged
merged 1 commit into from
Sep 21, 2022

Conversation

ssbarnea
Copy link
Member

  • Fixes bug where a giving a symlinked directory as argument would
    fail to lint the entire role, basically because the linter failed
    to resolve the link before processing all lintables within it.
  • Ensure we resolve symlink in Lintable constructor
  • Add normalization function that returns a Path

@ssbarnea ssbarnea requested a review from a team as a code owner September 21, 2022 12:04
@github-actions github-actions bot added the bug label Sep 21, 2022
@ssbarnea ssbarnea force-pushed the fix/relpath branch 2 times, most recently from 2d314b9 to f563b78 Compare September 21, 2022 16:20
- Fixes bug where a giving a symlinked directory as argument would
  fail to lint the entire role, basically because the linter failed
  to resolve the link before processing all lintables within it.
- Ensure we resolve symlink in Lintable constructor
- Add normalization function that returns a Path
@ssbarnea ssbarnea merged commit fd2ecfe into ansible:main Sep 21, 2022
@ssbarnea ssbarnea deleted the fix/relpath branch September 21, 2022 18:22
davedittrich pushed a commit to davedittrich/ansible-lint that referenced this pull request Sep 27, 2022
- Fixes bug where a giving a symlinked directory as argument would
  fail to lint the entire role, basically because the linter failed
  to resolve the link before processing all lintables within it.
- Ensure we resolve symlink in Lintable constructor
- Add normalization function that returns a Path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant