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

Fix excluding sources when enclosing parent path starts with _ #546

Conversation

abelsromero
Copy link
Member

@abelsromero abelsromero commented Jul 24, 2021

Thank you for opening a pull request and contributing to asciidoctor-maven-plugin!

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • Documentation
  • Refactor
  • Build improvement
  • Other (please describe)

What is the goal of this pull request?
Fix sources not being included when enclosing path started with _.
That is some directory in the upper path containing the project had the hidden preffix.

The fix is simply checking for paths ONLY in the project path.

Are there any alternative ways to implement this?
No.

Are there any implications of this pull request? Anything a user must know?
Did some formatting and minnor refactors.
Sicne it's first PR after a release, also opens new unreleased section in CHANGELOG.

Is it related to an existing issue?

Finally, please add a corresponding entry to CHANGELOG.adoc

@abelsromero abelsromero force-pushed the issue-545-do-no-treat-parent-path-as-sources-path branch 2 times, most recently from d436b31 to 1537d1a Compare July 24, 2021 16:34
@abelsromero abelsromero changed the title Fix exclusing sources when enclosing parent path started with _ Fix excluding sources when enclosing parent path started with _ Jul 24, 2021
@abelsromero abelsromero force-pushed the issue-545-do-no-treat-parent-path-as-sources-path branch from 1537d1a to 5c3191a Compare July 24, 2021 16:37
@abelsromero abelsromero changed the title Fix excluding sources when enclosing parent path started with _ Fix excluding sources when enclosing parent path starts with _ Jul 24, 2021
@abelsromero abelsromero force-pushed the issue-545-do-no-treat-parent-path-as-sources-path branch 2 times, most recently from 3513c30 to adbe85b Compare July 24, 2021 16:38
@abelsromero abelsromero force-pushed the issue-545-do-no-treat-parent-path-as-sources-path branch from adbe85b to 030eb7a Compare July 24, 2021 16:39
@abelsromero abelsromero merged commit a9faffd into asciidoctor:main Jul 24, 2021
@abelsromero abelsromero deleted the issue-545-do-no-treat-parent-path-as-sources-path branch August 25, 2022 17:42
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.

Logic change in how paths are validated
1 participant