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

Standalone Bootstrap #2846

Closed
wants to merge 3 commits into from
Closed

Standalone Bootstrap #2846

wants to merge 3 commits into from

Conversation

h4ck3rm1k3
Copy link

Here is a git-centric and standard php method for bootstrapping the code from source.

@@ -1,4 +1,4 @@
#!/usr/bin/env php
#!/usr/bin/env php5
Copy link
Contributor

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.

@henrikbjorn
Copy link
Contributor

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.

@h4ck3rm1k3
Copy link
Author

Well, I just like the idea of being able to install from its own source. I
can change the php5 to php sure. If anyone is interested in this change I
will do more work.

On Wed, Mar 26, 2014 at 3:01 PM, Henrik Bjørnskov
notifications@github.comwrote:

Must say i dont understand this PR, if you are going to use Composer why
not use composer to install its own dependencies?

Reply to this email directly or view it on GitHubhttps://github.com//pull/2846#issuecomment-38732216
.

James Michael DuPont
Member of Free Libre Open Source Software Kosova http://www.flossk.org
Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3

@aderuwe
Copy link

aderuwe commented Mar 26, 2014

👎

@henrikbjorn
Copy link
Contributor

I do not think this will be very popular, it is a case of using the tools you are building yourself.

@h4ck3rm1k3
Copy link
Author

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
Copy link
Contributor

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

@stof
Copy link
Contributor

stof commented Mar 27, 2014

a big -1 for this change

@Seldaek
Copy link
Member

Seldaek commented Mar 27, 2014

@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.

@Seldaek Seldaek closed this Mar 27, 2014
@h4ck3rm1k3
Copy link
Author

On Thu, Mar 27, 2014 at 7:53 AM, Jordi Boggiano notifications@github.comwrote:

aybe 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.

OK, the deps listed are exactly the ones needed to run the install script
for itself.

James Michael DuPont
Member of Free Libre Open Source Software Kosova http://www.flossk.org
Saving Wikipedia(tm) articles from deletion http://SpeedyDeletion.wikia.com
Mozilla Rep https://reps.mozilla.org/u/h4ck3rm1k3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants