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

Revert the addition of the wrong bin script to composer.json #837

Merged
merged 1 commit into from
Apr 30, 2015

Conversation

stof
Copy link
Member

@stof stof commented Apr 15, 2015

The bin/doctrine-dbal.php file is not an executable file. Adding them as a bin in composer.json means that any composer install will trigger changes in the source when using symlinks because of the chmod. This makes things a pain when installing from source.
Thus, there is no valid reason to add it. It is absolutely not necessary when using a composer install. The issue requesting it previously is actually an issue in Laravel which replaces the proxy file/symlink generated by Composer with a copy of the original file, which of course cannot work because of paths used in require. But copying a second file does not help for that (unless in very specific cases). It only moves the issue until the next require call.

The bin/doctrine-dbal.php file is not an executable file. Adding them as a bin in composer.json means that any composer install will trigger changes in the source when using symlinks because of the chmod. This makes things a pain when installing from source.
Thus, there is no valid reason to add it. It is absolutely not necessary when using a composer install. The issue requesting it previously is actually an issue in Laravel which replaces the proxy file/symlink generated by Composer with a copy of the original file, which of course cannot work because of paths used in require. But copying a second file does not help for that (unless in very specific cases). It only moves the issue until the next require call.
@doctrinebot
Copy link

Hello,

thank you for creating this pull request. I have automatically opened an issue
on our Jira Bug Tracker for you. See the issue link:

http://www.doctrine-project.org/jira/browse/DBAL-1199

We use Jira to track the state of pull requests and the versions they got
included in.

@Ocramius
Copy link
Member

an issue in Laravel which replaces the proxy file/symlink generated by Composer with a copy of the original file

#WTF

@Ocramius Ocramius self-assigned this Apr 15, 2015
@stof
Copy link
Member Author

stof commented Apr 15, 2015

@Ocramius yeah, after seeing similar reports on several CLI tools, I finally managed to find that it was in the Laralevel community:

deeky666 added a commit that referenced this pull request Apr 30, 2015
Revert the addition of the wrong bin script
@deeky666 deeky666 merged commit 0383db8 into doctrine:master Apr 30, 2015
@deeky666
Copy link
Member

@stof thanks!

@deeky666
Copy link
Member

@stof does it need backport?

@stof
Copy link
Member Author

stof commented May 1, 2015

@deeky666 yes please

@stof stof deleted the patch-1 branch May 1, 2015 08:26
@deeky666
Copy link
Member

deeky666 commented May 1, 2015

@stof just realized that it already is correct in 2.5 and 2.4 does not even have the bin property. So everything is fine I guess.

@Ocramius Ocramius added the Bug label Jul 22, 2017
@Ocramius Ocramius added this to the 2.6 milestone Jul 22, 2017
@Ocramius Ocramius changed the title Revert the addition of the wrong bin script Revert the addition of the wrong bin script to composer.json Jul 22, 2017
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants