News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

HHVM Blog:
Faster GitHub Commits
July 09, 2014 @ 09:23:19

On the Facebook HHVM blog they talk about an improvement they've made to the project allowing for faster GitHub commits on the project. They've reworked things to move away from a manual process on the popular project and automate as much as possible.

Initially, the entire process was manual. We would curl the pull request and pipe it to git am, then manually prepare the diff for review internally. After it was accepted, we would manually prepare the internal commit to be usable externally by GitHub, then manually build and test the new code, and finally git push. Great scripts by ptarjan and sgolemon to help get and prepare pull requests for review and then prepare the commits for GitHub have alleviated some of this manual process. However, in the end, someone still had to manually build, test and then push the code to the world.

Another feature of this effort is a new cron job (facebook-github-bot) that pushes any internal (approved) HHVM code automatically without having to wait for the manual intervention. It syncs all code since the last push, runs all tests and, assuming all went well, pushes it out to GitHub.

we believe that getting your code into the master branch quickly will hopefully help show how much we appreciate your contributions. Now, if there was only a way we could get your pull requests reviewed faster and more openly…. Hmmm…
0 comments voice your opinion now!
github commit release bot continuous integration

Link: http://hhvm.com/blog/5399/faster-github-commits

blog comments powered by Disqus

Similar Posts

php[architect]: June 2015 Issue Released - APIs (and it's free!)

Kore Nordmann's Blog: eZ Components book in the press

PHP.net: PHP 5.4.20 Released

Ilia Alshanetsky's Blog: PHP 5.2.0 RC4 Released!

Ilia Alshanetsky\'s Blog: 5.1.2 Released!


Community Events

Don't see your event here?
Let us know!


php7 example podcast voicesoftheelephpant composer part2 application opinion series language symfony project introduction api yii2 community framework interview laravel list

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework