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

Changed to prefer dist #20

Closed

Conversation

baileyparker
Copy link
Contributor

Addresses Issue #19 involving --prefer-source over --prefer-dist.

@briankiewel
Copy link
Owner

Unfortunately I think it's necessary to use --prefer-source because you can occasionally run into rate limiting with Github's HTTP API since all Pagodabox deploys are originating from the same place and Github can't differentiate between sources so the hourly limit can get used up relatively quickly. I believe --prefer-source will use git commands to pull it thereby bypassing the HTTP API rate limits.

I had a few discussions with Pagodabox regarding this, but also here's a couple of related links.

http://help.pagodabox.com/customer/portal/questions/6193893-failed-to-download-doctrine-common-from-dist-could-not-authenticate-against-github-com

composer/composer#1861

@baileyparker
Copy link
Contributor Author

That's very interesting. Thanks for sharing those. I was completely unaware that --prefer-dist was subject to API rate limits, although now that I think about it, it does make sense. Apologies for PR'ing without doing my research.

@baileyparker baileyparker deleted the change_to_prefer_dist branch September 20, 2014 21:08
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

2 participants