Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[FrameworkBundle] Filter out trans paths that are covered by a parent folder path #47695

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

Closed

Conversation

natewiebe13
Copy link
Contributor

Q A
Branch? 5.4
Bug fix? yes
New feature? no
Deprecations? no
Tickets Partially Fixes #45645
License MIT
Doc PR N/A

It was possible to end up with duplicated paths which would could result in many files being scanned more than once. This prevents that.

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

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

Thanks for the PR. Can you figure out a test case for this please?

@carsonbot carsonbot changed the title Filter out trans paths that are covered by a parent folder path [FrameworkBundle] Filter out trans paths that are covered by a parent folder path Sep 28, 2022
@natewiebe13 natewiebe13 force-pushed the prevent-duplicate-trans-extraction branch from 12b311d to bfb8cbe Compare September 28, 2022 14:57
@natewiebe13 natewiebe13 force-pushed the prevent-duplicate-trans-extraction branch 3 times, most recently from 5499355 to 3fdcbca Compare September 28, 2022 15:03
@nicolas-grekas
Copy link
Member

Thank you @natewiebe13.

nicolas-grekas added a commit that referenced this pull request Sep 28, 2022
…by a parent folder path (natewiebe13)

This PR was squashed before being merged into the 5.4 branch.

Discussion
----------

[FrameworkBundle] Filter out trans paths that are covered by a parent folder path

| Q             | A
| ------------- | ---
| Branch?       | 5.4
| Bug fix?      | yes
| New feature?  | no
| Deprecations? | no
| Tickets       | Partially Fixes #45645
| License       | MIT
| Doc PR        | N/A

It was possible to end up with duplicated paths which would could result in many files being scanned more than once. This prevents that.

Commits
-------

459ac04 [FrameworkBundle] Filter out trans paths that are covered by a parent folder path
@nicolas-grekas nicolas-grekas force-pushed the prevent-duplicate-trans-extraction branch from 3fdcbca to 459ac04 Compare September 28, 2022 15:35
This was referenced Sep 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants