Req #69042 [Asn]: Regular snapshot builds of php/php-src
| From: | hiro+php at travis-ci dot org | Date: | Sat, 14 Feb 2015 03:40:10 +0000 |
| Subject: | Req #69042 [Asn]: Regular snapshot builds of php/php-src | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-190680@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=69042&edit=1
ID: 69042
User updated by: hiro+php at travis-ci dot org
Reported by: hiro+php at travis-ci dot org
Summary: Regular snapshot builds of php/php-src
Status: Assigned
Type: Feature/Change Request
Package: *General Issues
Operating System: N/A
-PHP Version: 79
+PHP Version: master-Git-2015-02-12 (snap)
Assigned To: jacob
Block user comment: N
Private report: N
New Comment:
(I changed the PHP version inadvertently)
Previous Comments:
------------------------------------------------------------------------
[2015-02-14 03:36:51] hiro+php at travis-ci dot org
Hi, Jacob,
Thanks for looking into it. Our needs are limited; at the moment, we only need an archive for Ubuntu
Precise (also on Trusty in the near future) on x86_64. (And I don't see this expanding much
before PHP 7 is released.)
Since php/php-src is building on Travis CI already, one thing we can try is to upload the resulting
archive to a place where Travis (and perhaps some brave souls among your user base) can download
subsequently.
One can deploy via S3 (http://docs.travis-ci.com/user/deployment/s3/), Google Cloud Storage
(http://docs.travis-ci.com/user/deployment/gcs/), or a custom "after_success" section
(http://docs.travis-ci.com/user/deployment/custom/). One can also use artifacts
(http://docs.travis-ci.com/user/uploading-artifacts/) to upload to S3.
Do you have a place suitable for such storage? The upload setup is easy, and I'm willing to
work on a PR. The hard part is to find a place for it.
------------------------------------------------------------------------
[2015-02-14 03:16:46] jacob@php.net
> While it seems to work (as far as compilation goes; this doesn't include other
> modules or phpunit we offer in other PHP versions), but it adds significant
> amount of time (10+ minutes).
This is definitely less than ideal as this could quickly blow out to a long
build if you need to be doing this for multiple versions of PHP.
> It would be great if a precompiled binary package of reasonably recent
> development version existed.
There are precompiled versions out in the wild however they vary from
distribution to distribution and having a single source for this would be a huge
maintainance task.
After some discussions it would appear the reasoning behind removing
http://snaps.php.net was because there are better alternatives
available and it
isn't worth the maintenance involved in keeping it running.
I've also discovered that http://php.net/releases
contains historical releases
(don't think this solves any issues though - it's more of a heads up).
I'm not sure where to go from here with this as it doesn't look like
http://snaps.php.net will be coming back and we haven't got
any closer to a
solution.
What do you think?
------------------------------------------------------------------------
[2015-02-13 14:17:45] hiro+php at travis-ci dot org
Thanks for the suggestions so far.
I've fiddled with this information, and tried it on Travis CI: https://travis-ci.org/BanzaiMan/travis_production_test/jobs/50634414#L1191
While it seems to work (as far as compilation goes; this doesn't include other modules or
phpunit we offer in other PHP versions), but it adds significant amount of time (10+ minutes). It
would be great if a precompiled binary package of reasonably recent development version existed.
------------------------------------------------------------------------
[2015-02-13 09:20:12] rasmus@php.net
It is also quite easy to build it yourself, especially if you grab my vagrant image. See https://github.com/rlerdorf/php7dev
That comes with every version of PHP pre-compiled and to build the latest php7:
cd php-src
git pull -r
make distclean
./buildconf -f
./cn
sudo make install
sudo newphp 7 debug (assuming you did a debug build - see the instructions on switching the
currently active php build)
All the dependencies and everything you need are already there.
------------------------------------------------------------------------
[2015-02-13 07:21:48] jacob@php.net
Hey,
Will have a look what we can do with this one fixed and whether there is a short term solution to
get snapshots available again.
Not sure if it helps but the branches at https://github.com/php/php-src are the releases (4.x, 5.x)
and master is currently the development on PHP 7.
Regards,
Jacob.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=69042
--
Edit this bug report at https://bugs.php.net/bug.php?id=69042&edit=1