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

add support to install xmlrpc with xml module #175

Merged
merged 1 commit into from
Aug 1, 2019

Conversation

scambra
Copy link
Contributor

@scambra scambra commented May 17, 2019

Added to map.jinja so they can be installed with php:ng:modules
Should I add a state in php:ng for each extension?

@aboe76
Copy link
Member

aboe76 commented May 17, 2019

@scambra please do if you can.

@sschne
Copy link

sschne commented May 21, 2019

Hi,

i just added my Pull request #177 for bz2 and dba support. So this pull request here would supersede it.
I checked the map.jinja and saw that the lookup is only added for Debian, so this patch would not support Ubuntu / Redhat etc. Can you also add the support there ( check #177 for comparison )?

@scambra
Copy link
Contributor Author

scambra commented May 24, 2019

@pather87 I think your pull request is better, supports other distributions, probably better to add xmlrpc to your pull request. I see SUSE installs different packages for xml extension ['php5-xmlreader','php5-xmlwriter','php5-xmlrpc'], so maybe it's better to add 'php' + phpng_version + '-xmlrpc' to Debian and Ubuntu, I don't know if Gentoo or Redhat has separate package for xmlrpc

@n-rodriguez n-rodriguez changed the title add support to install bz2, dba and xmlrpc in debain add support to install bz2, dba and xmlrpc in debian Jun 26, 2019
php/ng/bz2.sls Outdated Show resolved Hide resolved
php/ng/dba.sls Outdated Show resolved Hide resolved
@myii
Copy link
Member

myii commented Jun 29, 2019

@scambra Thanks for this and your comments regarding #177. I've used your changes from this PR as mentioned in #177 (comment). You'll see your contribution merged in this commit: 5e04187.

Now, you may want to just close this PR. However, ideally you can continue from where we've got to with the merge of #177 and massage this PR into providing xmlrpc in a similar vein. That would be really appreciated. If you are interested in doing that, I can help extract the useful bits left over from the combination done in #177.

@scambra
Copy link
Contributor Author

scambra commented Jul 1, 2019

@myii how do you want to add xmlrpc? Add new line to pkgs for xmlrpc as I did? Or add xmlrpc as package dependency to xml line, as it's done for Suse?

Do you know how can I check where is php xmlrpc extension in Freebsd, Redhat and Gentoo? I know Arch has xmlrpc extension in php package

@myii
Copy link
Member

myii commented Jul 1, 2019

@scambra Let's ask the main maintainers of this particular formula.
@aboe76 @alxwr How would you like to proceed in terms of the previous comment?

@aboe76
Copy link
Member

aboe76 commented Jul 12, 2019

@scambra most of the time, look in to the distribution package repo is there is a package for the extension, ,or check when php is installed if the module is enabled/available...

php is a tricky in the sense that distribution have been packaging this in al sort of ways..

@scambra scambra changed the title add support to install bz2, dba and xmlrpc in debian add support to install xmlrpc with xml module Jul 23, 2019
@scambra
Copy link
Contributor Author

scambra commented Jul 23, 2019

I have redo this PR to add xmlrpc package to xml module, as it's done in SUSE.

@n-rodriguez
Copy link
Member

@myii I think it's mergeable, do you?

@myii
Copy link
Member

myii commented Aug 1, 2019

Sorry @scambra, I didn't notice the new commit. Thanks for the heads-up @n-rodriguez.

It's only failing the commitlint, so I'll fix that now when merging. @scambra This repo uses semantic-release so we need to format our commit messages a certain way. See https://github.com/saltstack-formulas/php-formula/blob/master/docs/CONTRIBUTING.rst#commit-message-formatting for more info.

So changing the commit message:

-add xmlrpc package for xml module, as it was done for SUSE
+feat(map): add xmlrpc package for xml module, as it was done for SUSE

@myii myii merged commit a09ef92 into saltstack-formulas:master Aug 1, 2019
@saltstack-formulas-travis

🎉 This PR is included in version 0.38.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@myii
Copy link
Member

myii commented Aug 1, 2019

@n-rodriguez And now all of our warning messages from #185 need to be updated because we've got v0.38.0 now... I think we'll wait until we get closer to the php deprecation first.

@n-rodriguez
Copy link
Member

n-rodriguez commented Aug 1, 2019

@n-rodriguez And now all of our warning messages from #185 need to be updated because we've got v0.38.0 now... I think we'll wait until we get closer to the php deprecation first.

can we extract the target version (0.38.x) in pillars? next to the mute_warning and friend.

@myii
Copy link
Member

myii commented Aug 2, 2019

@n-rodriguez Good idea, we could put something in the map. The only problem is that the README would still have to be updated manually.

@n-rodriguez
Copy link
Member

The only problem is that the README would still have to be updated manually.

sadly :/

myii added a commit to myii/ssf-formula that referenced this pull request Aug 3, 2019
myii pushed a commit to myii/ssf-formula that referenced this pull request Aug 3, 2019
# [0.2.0](v0.1.1...v0.2.0) (2019-08-03)

### Bug Fixes

* **defaults:** update commit message version in `semantic-release` run ([9382692](9382692))

### Features

* **php:** update deprecation version number in `semantic-release` run ([8e2c546](8e2c546)), closes [/github.com/saltstack-formulas/php-formula/pull/175#issuecomment-517492613](https://github.com//github.com/saltstack-formulas/php-formula/pull/175/issues/issuecomment-517492613) [/github.com/saltstack-formulas/php-formula/pull/185#issuecomment-517603898](https://github.com//github.com/saltstack-formulas/php-formula/pull/185/issues/issuecomment-517603898)
myii added a commit to myii/php-formula that referenced this pull request Aug 3, 2019
* Semi-automated using `ssf-formula` (v0.2.0)
* References:
  - saltstack-formulas#175 (comment)
  - saltstack-formulas#185 (comment)
* Ensure this only runs until `v1.0.0` (done in the script)
saltstack-formulas-travis pushed a commit that referenced this pull request Aug 3, 2019
## [0.38.1](v0.38.0...v0.38.1) (2019-08-03)

### Bug Fixes

* update deprecation version number in `semantic-release` run ([a87fb91](a87fb91)), closes [/github.com//pull/175#issuecomment-517492613](https://github.com//github.com/saltstack-formulas/php-formula/pull/175/issues/issuecomment-517492613) [/github.com//pull/185#issuecomment-517603898](https://github.com//github.com/saltstack-formulas/php-formula/pull/185/issues/issuecomment-517603898)
@scambra scambra deleted the patch-1 branch February 3, 2020 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants