saltstack-formulas / php-formula

http://docs.saltstack.com/en/latest/topics/development/conventions/formulas.html
Other
57 stars 232 forks source link

feat(composer): make dependencies configurable #218

Closed alxwr closed 3 years ago

alxwr commented 3 years ago

PR progress checklist (to be filled in by reviewers)


What type of PR is this?

Primary type

Secondary type

Does this PR introduce a BREAKING CHANGE?

No.

Related issues and/or pull requests

Describe the changes you're proposing

On FreeBSD, when using PHP 7.4, there's no package php74-hash available. When using PHP 7.2, php72-hash must be installed.

Pillar / config required to test the proposed changes

See php:lookup:composer in pillar.example.

Debug log showing how the proposed changes work

Documentation checklist

Testing checklist

Additional context

myii commented 3 years ago

@alxwr Thanks for the PR and apologies for the delay in getting around to it. I've pushed FreeBSD CI testing on top of your commit, which specifically tests the composer state.

Note that I did test php80 first but there's no php80-json package available.


LGTM, does someone has a FreeBSD to confirm on that platform?

@baby-gnu Done!


myii commented 3 years ago

Merged, thanks @alxwr @baby-gnu.

saltstack-formulas-travis commented 3 years ago

:tada: This PR is included in version 1.4.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: