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

Use cweagans/composer-configurable-plugin #164

Merged
merged 13 commits into from Apr 13, 2018
Merged

Conversation

cweagans
Copy link
Owner

This converts all configurable values (except the patches array) to use cweagans/composer-configurable plugin.

composer.json configuration now must live in a composer-patches key in extra:

{
    "extra": {
        "composer-patches": {
            "configuration-key": "value"
        }
    }
}

Possible config flags:

exit-on-patch-failure
disable-patching
disable-patching-from-dependencies
disable-patch-reports
patch-levels
patches-file

All of those flags may now be controlled via environment variables:

COMPOSER_PATCHES_EXIT_ON_PATCH_FAILURE
COMPOSER_PATCHES_DISABLE_PATCHING
COMPOSER_PATCHES_DISABLE_PATCHING_FROM_DEPENDENCIES
COMPOSER_PATCHES_DISABLE_PATCH_REPORTS
COMPOSER_PATCHES_PATCH_LEVELS
COMPOSER_PATCHES_PATCHES_FILE

Documentation for these things is forthcoming.

New features in this pull request:

  • Ability to disable patch reports
  • Ability to specify the patch levels that the plugin will attempt to use when applying a patch
  • Ability to disable gathering patches from dependencies

Changes to behavior:

  • Some environment variables have been renamed
  • Some composer.json flags have been changed
  • exit-on-patch-failure is now enabled by default

Repository owner deleted a comment from coveralls Oct 23, 2017
Repository owner deleted a comment from coveralls Oct 23, 2017
Repository owner deleted a comment from coveralls Apr 13, 2018
@cweagans cweagans merged commit db1d33c into master Apr 13, 2018
@cweagans cweagans deleted the configurable-plugin branch April 13, 2018 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant