-
Notifications
You must be signed in to change notification settings - Fork 229
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
New structure for new Ubuntu PPA and other fixes #113
New structure for new Ubuntu PPA and other fixes #113
Conversation
replaced by using a Composer library. See https://github.com/PHP-FFMpeg/PHP-FFMpeg for details
using Ubuntu 16.04 and NOT using a PPA
@sc250024 , let me know when I can test this for you, |
@aboe76 Thanks for the help! I'll let you know, I'm making some changes right now for Debian Jessie vs. Wheezy. I'll ping you again when I do ArchLinux next. |
@aboe76 Go ahead with the Arch Linux testing |
Ok thanks, I will start in the morning on Sunday
Op za 3 dec. 2016 23:46 schreef sc250024 <[email protected]>:
… @aboe76 <https://github.com/aboe76> Go ahead with the Arch Linux testing
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABt51IsEuvknjrzEopbbVw8f7C71Sxm4ks5rEfFPgaJpZM4LC9qe>
.
|
@sc250024 first test on Archlinux, this was with php:ng states.
|
@aboe76 What do you recommend for cases where one distro has an installation candidate, but another does not? For example, I did a quick test on ArchLinux, and the default repos don't have a candidate for |
@sc250024 php-pear on archlinux is provided with an AUR package, which must be installed by hand by the user. I would recommend leaving the old behavior, don't include the php-pear package in the archlinux map.jinja so the formula won't install on archlinux. If an Arch user wants to use php-pear he will be smart enough to install it himself. |
the future if DotDeb (Debian) or Webtactic (RedHat)
@gravyboat I've merged the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have found no issues, with while testing this.
Tested with php.ng states,
on OS: archlinux, debian jessie, debian stretch.
Yeah this looks good to me as well, going to merge. Thanks @sc250024! |
@sc250024 I wanted to test this formula with a debian vm with php 7.0 from dotdeb, Could you take a look at the logical map.jinja order to see if you can spot a way that debian can be set with php version 7.0 and not add the ppa repo? |
@aboe76: currently working on another pull request because I noticed that as well. I will also integrate the Red hat Webtatic PHP repository as well. This way, |
Thanks
Op ma 19 dec. 2016 02:28 schreef sc250024 <[email protected]>:
… @aboe76 <https://github.com/aboe76>: currently working on another pull
request because I noticed that as well. I will also integrate the Red hat
Webtatic PHP repository as well. This way, use_external_repo will be
generic.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#113 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABt51HbSpqk9zSPSQWrpFKv0LTM2lji-ks5rJd3QgaJpZM4LC9qe>
.
|
I was alsof looking dit a solution, I think the postgres-formula mapping might help. |
This unfortunately breaks our deployment as the The fact that we would like to use I believe that this is done here as |
Overview
READY FOR REVIEW
This is a major update to the
php-formula
that has been needed since the release of the updatedondrej/php
PPA formula. When updating this formula, I attempted to keep much of the existing logic intact, while allowing for the new structure introduced by the PPA.Issues Solved
Issue 108 -> PHP version 7 on Ubuntu 16.04 #108
php.ng.cli.ini
andphp.ng.apache2.ini
work provided you run the parent SLS.Issue 93 -> Packages Update After Adding PPA #93
Issue 92 -> Error with ng FPM #92
Issue 90 -> Ubuntu PPA must switch to main repo #90
Changes
map.jinja
files to use the following decision logic centered around the PPA, and the specific version named in the Pillar file:suhosin
states to compile from and use corresponding Git repositories (PHP 5.X or 7.X)mongo
states to compile from PECL (needed build packages and correspondingphpenmod
commands)php
states to include the mainphp.init.sls
php.ng.composer
state to download from Composer website just as thephp.composer
state doesphp.ng.ffpmeg
as it's an older module, and FFMPEG support can be obtained by using a Composer dependency (https://github.com/PHP-FFMpeg/PHP-FFMpeg)php.ng.twig
since can be obtained by using a Composer dependency (http://twig.sensiolabs.org/doc/intro.html)php/ng/installed.jinja
to account for the newer PPA strucutre and namingHelp Needed
gearman
,gmp
,net4
which, without a PPA, has an installation candidate in Ubuntu Trusty and below, but not in Ubuntu Xenial? And also not in CentOS?map.jinja
files make sense? Are there any problems that I didn't forsee?php/ng/installed.jinja
I attempted to fix the problem that occurs when using the PPA. Sometimes the target/etc/alternatives/php
get's changed on Ubuntu 16.04 to a version you didn't specify in the pillar data. I figured having a state that checked whether the current target used by/etc/alternatives/php
matches what the user wants in their pillar. Is there a better way to go about this? Does anyone else encounter this problem? What about for HHVM installs where the/etc/alternatives/php
should actually point tohhvm
?