Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Motivation:
There are libraries that contain executables and a good way to group them is in the bin folder in the root of the project.
Composer
[] https://getcomposer.org/doc/articles/vendor-binaries.md#can-vendor-binar...
composer.json in Symfony
[] https://github.com/symfony/symfony-standard/blob/master/composer.json#L47
Comment | File | Size | Author |
---|---|---|---|
#10 | 2256599-10.patch | 367 bytes | harsha012 |
#1 | bin-dir-1.patch | 317 bytes | dmouse |
Comments
Comment #1
dmousepatch
Comment #2
mgiffordIn general that makes sense. I'm not sure how that sits though. Probably a bit late for 8.0.x
Comment #3
Mile23Comment #4
Mile23Since this other issue is postponed for 8.1.x, I'll do the same here. Changing workflows is a bit of a problem...
#1475510: Remove external dependencies from the core repo and let Composer manage the dependencies instead
Comment #9
bojanz CreditAttribution: bojanz at Centarro commentedNo reason not to proceed with this. Probably needs a reroll.
Comment #10
harsha012 CreditAttribution: harsha012 as a volunteer and at Red Crackle commentedre rolled the patch for 8.5.x version
Comment #18
RoSk0I don't agree with the motivation from description
. This is actually not a good way. A good way is follow default which is
./vendor/bin
. Many tutorials online refer to this location. Both current Symfony skeleton projects do not setbin-dir
config as well, resulting in default location being used. Also, counting that there is already established patterns in community at this stage suggested change would be rather disruptive than helpful.So big -1 for this.
Comment #19
RoSk0