bin/vendors: Exiting early? Return nonzero status.

I currently use bin/vendors in several automated build scripts. This
makes it easier for calling scripts to reliably recognize when
bin/vendors exits early.
merged branch meonkeys/2.0 (PR #306)

Commits
-------

ed50bb4 bin/vendors: Exiting early? Return nonzero status.
cb6a2a7 merged branch brikou/2.0 (PR #301)
0cba534 cosmetic tweaks

Discussion
----------

bin/vendors: Exiting early? Return nonzero status.

I currently use bin/vendors in several automated build scripts. This
makes it easier for calling scripts to reliably recognize when
bin/vendors exits early.

I know bin/vendors is going away, but until symfony2 2.1 is
released, I'll probably still be using it.

---------------------------------------------------------------------------

by brikou at 2012-03-27T20:24:43Z

Exit is ok only with 0 which means "everything is fine" else it means "errors encountered",
 so actual usage is fine... Cheer

---------------------------------------------------------------------------

by meonkeys at 2012-03-27T20:38:44Z

@brikou what? Are you saying you agree with the patch or disagree?

My justification is that unless `bin/vendors` proceeds to completion successfully, a nonzero exit code should be returned. This is pretty standard POSIX behavior.

---------------------------------------------------------------------------

by stof at 2012-03-27T21:04:11Z

@meonkeys most recent PRs about the vendors script have been rejected by @fabpot because it was only a temporary solution for 2.0.x waiting for composer to be ready. The master branch of the SE repo (which will become the 2.1 release) does not use the script anymore.

---------------------------------------------------------------------------

by meonkeys at 2012-03-27T21:06:25Z

@stof yep, I totally get that. Like I said, I'll have to live with this script until 2.1 is released, so I thought I'd share my patch upstream.

@fabpot no worries if you want to reject this. I look forward to composer!
bin/vendors: detect repo url change

For performance, our continuous integration server runs "bin/vendors update" instead of "bin/vendors install". This patch allows the script to detect a repo url change in "deps", e.g., switching from an upstream repo to a fork, or vice-versa.
Need to clearstatcache() after removing files/dirs via system().
Prevent access to app_dev.php through proxy

Proxies are sometimes on the same machine as the webserver, so they will gain
access to app_dev.php, as they have a localhost IP.

That makes app_dev.php accessible by default in such setups.

This commit disallows access to app_dev.php if proxy headers are present.
merged branch igorw/prevent-proxy-appdev (PR #318)

Commits
-------

de70062 Prevent access to app_dev.php through proxy

Discussion
----------

[2.0] Prevent access to app_dev.php through proxy

Proxies are sometimes on the same machine as the webserver, so they will gain access to app_dev.php, as they have a localhost IP.

That makes app_dev.php accessible by default in such setups.

This commit disallows access to app_dev.php if proxy headers are present.
merged branch robocoder/patch-1 (PR #312)

Commits
-------

4a4e9cb Need to clearstatcache() after removing files/dirs via system().
eb14691 bin/vendors: detect repo url change

Discussion
----------

[2.0] bin/vendors: detect repo url change

For performance, our continuous integration server runs "bin/vendors update" instead of "bin/vendors install". This patch allows the script to detect a repo url change in "deps", e.g., switching from an upstream repo to a fork, or vice-versa.

---------------------------------------------------------------------------

by robocoder at 2012-04-06T14:37:48Z

I have resubmitted the PR with the correct commit range.

---------------------------------------------------------------------------

by robocoder at 2012-04-06T15:12:15Z

found a bug; going to investigate
updated VENDORS for 2.0.13
updated vendors to dev branches
updated VENDORS for 2.0.14
updated vendors to dev branches
updated VENDORS for 2.0.15
updated vendors to dev branches
updated Swiftmailer to 4.2.0
simplified code
updated deps
updated vendors