8000 Consider "executable" suffixes first on Windows by sanmai · Pull Request #27301 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

Consider "executable" suffixes first on Windows #27301

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
wants to merge 1 commit into from
Closed

Consider "executable" suffixes first on Windows #27301

wants to merge 1 commit into from

Conversation

sanmai
Copy link
Contributor
@sanmai sanmai commented May 18, 2018
Q A
Branch? master
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #...
License MIT
Doc PR n/a

Executable finder should consider "executable" suffixes first on Windows because we basically ignore executability on Windows (line 80 below the change), which leads, for example, to finding usually-non-executable phpunit file first where both phpunit and phpunit.bat are present.

I may miss something here, so please tell me if this makes any sense. If so, I'll try my best to rebase this against an earlier version (what version BTW?).

Executable finder should consider "executable" suffixes first on Windows because we basically ignore executability on Windows (line 80 below the change), which leads, for example, to finding usually-non-executable `phpunit` file first where both `phpunit` and `phpunit.bat` are present.
@linaori
Copy link
Contributor
linaori commented May 18, 2018

Bugs should be merged on the lowest branch possible that is maintained, so in this case 2.7 (for a few more days), otherwise 2.8. If this change can be done on those versions of course 😉

@sanmai sanmai changed the base branch from master to 2.7 May 18, 2018 09:08
@sanmai sanmai changed the base branch from 2.7 to master May 18, 2018 09:08
@sanmai
Copy link
Contributor Author
sanmai commented May 18, 2018

OK, superseded by #27303

@sanmai sanmai closed this May 18, 2018
@sanmai sanmai deleted the patch-1 branch May 19, 2018 02:09
fabpot added a commit that referenced this pull request May 27, 2018
…(sanmai)

This PR was squashed before being merged into the 2.8 branch (closes #27303).

Discussion
----------

[Process] Consider "executable" suffixes first on Windows

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        | n/a

Executable finder should consider "executable" suffixes first on Windows because we basically ignore executability on Windows (on the lines below changed), which leads, for example, to finding usually-non-executable `phpunit` file first where both `phpunit` and `phpunit.bat` are present.

I may miss something here, so please tell me if this makes any sense.

Same change against master: #27301

Commits
-------

9372e7a [Process] Consider \"executable\" suffixes first on Windows
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
0