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
Standalone Bootstrap #2846
Standalone Bootstrap #2846
Conversation
| @@ -1,4 +1,4 @@ | |||
| #!/usr/bin/env php | |||
| #!/usr/bin/env php5 | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is wrong, php5 is specific for your environment.
|
Must say i dont understand this PR, if you are going to use Composer why not use composer to install its own dependencies? Also as noted in an inline comment, it assumes way to much about your own environment. |
|
Well, I just like the idea of being able to install from its own source. I On Wed, Mar 26, 2014 at 3:01 PM, Henrik Bjørnskov
James Michael DuPont |
|
👎 |
|
I do not think this will be very popular, it is a case of using the tools you are building yourself. |
|
feel free to close this, I am not attached to it, learned a bunch doing this. just for fun. |
| url = https://github.com/symfony/symfony.git | ||
| [submodule "vendor_libs/json_schema"] | ||
| path = vendor_libs/json_schema | ||
| url = git@github.com:h4ck3rm1k3/json-schema.git |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is totally wrong anyway, as it is the wrong json-schema repo
|
a big -1 for this change |
|
@h4ck3rm1k3 Thanks for taking a stab at this, but it's indeed not the preferred approach that you took. I rather rely on composer as the default way, but for those unable to run composer installation using composer is a problem of course, so in this case having an alternative install script that bootstraps it somehow would be nice. Closing this though because as it is it's not gonna happen. Maybe a simple way would be to git clone the 3 symfony dependencies (the other deps aren't needed in a happy-path scenario I think), then bootstrap a simple hardcoded psr-4-style autoloader and run a composer install by copying more or less what's in bin/composer. After than you'd have a self-bootstrapped composer sort of and can delete the 3 symfony deps clones again. |
|
On Thu, Mar 27, 2014 at 7:53 AM, Jordi Boggiano notifications@github.comwrote:
OK, the deps listed are exactly the ones needed to run the install script James Michael DuPont |
Here is a git-centric and standard php method for bootstrapping the code from source.