Skip to content

Instantly share code, notes, and snippets.

@dooug
Last active August 29, 2015 14:22
Show Gist options
  • Save dooug/f57ac71951b964461530 to your computer and use it in GitHub Desktop.
Save dooug/f57ac71951b964461530 to your computer and use it in GitHub Desktop.

composer patches plugin with patch command arguments.

{
"name": "dooug/composer-demo",
"description": "A demo Composer project",
"version": "1.0.1",
"repositories": [
{
"type": "composer",
"url": "http://packagist.drupal-composer.org"
},
{
"type": "vcs",
"url": "git@github.com:dooug/composer-patches-plugin.git"
},
{
"type": "package",
"package": {
"name": "dooug/composer-demo-patches",
"version": "1.0.18",
"type": "patches",
"require": {
"dooug/composer-patches-plugin": "dev-feature-apply-patch-fuzz"
},
"extra": {
"patches": {
"drupal/apachesolr": {
"7.1.6": [
{
"title": "allow the sort block to show despite no/1 result.",
"url": "https://www.drupal.org/files/issues/apachesolr-expose-minimum-sort-1421510-8.patch",
"args": " -F5"
}
]
}
}
}
}
}
],
"require": {
"dooug/composer-patches-plugin": "dev-feature-apply-patch-fuzz",
"drupal/apachesolr": "7.1.6",
"dooug/composer-demo-patches": "1.0.*"
},
"authors": [
{
"name": "Doug Reith",
"email": "dougreith@prometsource.com"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment