Comments (7)
Can you please post your complete composer.json? If there is sensitive information that you'd rather not be put online for whatever reason, you're welcome to email it to me. [email protected]
from composer-patches.
Any followup here?
from composer-patches.
Very sorry, I had to ask to publish the composer.json. So, I have replaced all sensitive information by letters. Here is my composer.json:
{
"name": "dev/XXX",
"minimum-stability": "beta",
"prefer-stable": true,
"repositories": [{
"type": "package",
"package": {
"name": "drupal/drupal",
"type": "non-destructive-archive-installer",
"version": "7.35",
"dist": {
"url": "http://ftp.drupal.org/files/projects/drupal-7.35.zip",
"type": "zip"
},
"require": {
"azt3k/non-destructive-archive-installer": "*"
},
"extra": {
"target-dir": ".",
"omit-first-directory": "true"
},
"replace": {
"drupal/aggregator": "self.version",
"drupal/block": "self.version",
"drupal/blog": "self.version",
"drupal/book": "self.version",
"drupal/color": "self.version",
"drupal/comment": "self.version",
"drupal/contact": "self.version",
"drupal/contextual": "self.version",
"drupal/dashboard": "self.version",
"drupal/dblog": "self.version",
"drupal/field": "self.version",
"drupal/field_sql_storage": "self.version",
"drupal/list": "self.version",
"drupal/number": "self.version",
"drupal/options": "self.version",
"drupal/text": "self.version",
"drupal/field_ui": "self.version",
"drupal/file": "self.version",
"drupal/filter": "self.version",
"drupal/forum": "self.version",
"drupal/help": "self.version",
"drupal/image": "self.version",
"drupal/locale": "self.version",
"drupal/menu": "self.version",
"drupal/node": "self.version",
"drupal/openid": "self.version",
"drupal/overlay": "self.version",
"drupal/path": "self.version",
"drupal/php": "self.version",
"drupal/poll": "self.version",
"drupal/profile": "self.version",
"drupal/rdf": "self.version",
"drupal/search": "self.version",
"drupal/shortcut": "self.version",
"drupal/statistics": "self.version",
"drupal/syslog": "self.version",
"drupal/system": "self.version",
"drupal/taxonomy": "self.version",
"drupal/toolbar": "self.version",
"drupal/tracker": "self.version",
"drupal/translation": "self.version",
"drupal/trigger": "self.version",
"drupal/update": "self.version",
"drupal/user": "self.version",
"drupal/minimal": "self.version",
"drupal/standard": "self.version",
"drupal/bartik": "self.version",
"drupal/garland": "self.version",
"drupal/seven": "self.version",
"drupal/stark": "self.version"
}
}
},
{
"type": "git",
"url": "[email protected]:ZZZ/XXX-platform.git"
},
{
"type": "composer",
"url": "http://packagist.drupal-composer.org/"
}],
"require": {
"cweagans/composer-patches": "~1.0",
"azt3k/non-destructive-archive-installer": "0.2.*",
"composer/installers": "~1.0",
"guzzle/guzzle": "~3.9",
"XXX/YYY": "dev-develop",
"XXX/drupal-composer-project-patches": "*",
"drupal/features": "7.2.5",
"drupal/views": "7.3.11",
"drupal/navbar": "7.1.6",
"drupal/field_group": "7.1.4",
"drupal/link": "7.1.3",
"drupal/email": "7.1.3",
"drupal/addressfield": "7.1.1",
"drupal/field_collection": "7.1.0-beta8",
"drupal/date": "7.2.x-dev#489ed16",
"drupal/telephone": "7.1.0-alpha1",
"drupal/entity": "7.1.6",
"drupal/ckeditor": "7.1.16",
"drupal/imce": "7.1.9",
"drupal/strongarm": "7.2.0",
"drupal/cool": "7.1.1",
"drupal/flag": "7.3.6",
"drupal/draggableviews": "7.2.1",
"drupal/views_bulk_operations": "7.3.2",
"drupal/views_limit_grouping": "7.1.x-dev#a6466fc",
"drupal/entityreference": "7.1.1",
"drupal/simplify": "7.3.3",
"drupal/title": "7.1.x-dev",
"drupal/login_destination": "7.1.1",
"drupal/pathauto": "7.1.2",
"drupal/themekey": "7.3.3",
"drupal/zurb_foundation": "7.5.0-rc6",
"drupal/views_mediatable": "7.1.1",
"drupal/better_exposed_filters": "7.3.2",
"drupal/addressfield_tokens": "7.1.5",
"drupal/currency": "7.2.4",
"drupal/money": "7.1.x-dev#7b79f12",
"drupal/geophp": "7.1.7",
"drupal/geofield": "7.2.3",
"drupal/geocoder": "7.1.2",
"drupal/context": "7.3.6",
"drupal/context_query_param" : "7.1.3",
"drupal/jquery_update": "7.2.5",
"drupal/masonry": "7.2.0",
"drupal/masonry_views": "7.1.0",
"drupal/field_multiple_limit": "7.1.0-alpha4",
"drupal/flexslider": "7.2.0-alpha3",
"drupal/views_slideshow": "7.3.1",
"drupal/fences": "7.1.0",
"drupal/composer_manager": "7.1.7",
"drupal/search_api": "7.1.14",
"drupal/search_api_location": "7.2.0-beta2",
"drupal/search_api_elasticsearch_elastica": "7.1.0-alpha7",
"drupal/search_api_elasticsearch": "7.1.0-alpha7",
"ruflin/elastica": ">=v1.3.0.0",
"drupal/facetapi": "7.1.5",
"drupal/google_analytics": "7.2.1",
"drupal/vertical_tabs_responsive": "7.1.0-beta6",
"drupal/chosen": "7.2.x-dev#e7a0d22",
"drupal/metatag": "7.1.4",
"drupal/transliteration": "7.3.2",
"drupal/menu_block": "7.2.5",
"drupal/views_data_export": "7.3.0-beta8",
"drupal/globalredirect": "7.1.5",
"drupal/captcha": "7.1.3",
"drupal/recaptcha": "7.1.12",
"drupal/migrate":"7.2.7",
"drupal/slick": "7.2.0-beta1",
"drupal/addthis": "7.4.x-dev#d766ed",
"drupal/libraries": "7.2.x-dev#744cd04",
"drupal/mandrill": "7.2.1",
"mandrill/mandrill": "1.0.54",
"drupal/mailchimp": "7.3.3",
"mailchimp/mailchimp": "2.0.6",
"drupal/git_deploy": "7.2.2",
"aredridel/glip": "0.1.2",
"drupal/fastly": "7.2.0",
"drupal/breakpoints": "7.1.3",
"drupal/picture": "7.2.11",
"drupal/taxonomy_machine_name": "7.1.0"
},
"require-dev": {
"drupal/devel": "7.1.5",
"drupal/diff": "7.3.2"
},
"config": {
"vendor-dir": "sites/all/vendor"
},
"extra": {
"patches": {
"drupal/search_api_elasticsearch": {
"Enable namespacing of indexes through provisioning": "https://www.drupal.org/files/issues/search_api_elasticsearch-index-name-2169931-3.patch",
"Enable aggregations in search results": "https://www.drupal.org/files/issues/search_api_elasticsearch-aggregations-2503343.patch"
},
"drupal/chosen": {
"No CSS loaded when the lib is downloaded with bower": "https://www.drupal.org/files/issues/chosen.min_.css-2492251-1.patch",
"Enable Chosen on admin page only": "https://www.drupal.org/files/issues/chosen-toggle-admin-pages-option-2534756-3.patch"
},
"drupal/addressfield": {
"Define and use addressfield as a form element type": "https://www.drupal.org/files/issues/addressfield-element_info-970048-105.patch"
},
"drupal/views": {
"Brings the options array from the term's entity_uri() function into the taxonomy term link that is created by Views": "https://www.drupal.org/files/issues/views-taxonomy-uri-options-bug-2328791-0.patch",
"Search terms: nodes dont appear when using multiple arguments": "https://www.drupal.org/files/search_multiple_terms-1615438-30.patch",
"Fixes node edit link after AJAX paging includes redirect to AJAX command page.": "https://www.drupal.org/files/issues/views-ajax-nginx-1036962-71.patch"
},
"drupal/globalredirect": {
"Brings the options array from the term's entity_uri() function into the taxonomy term link": "https://www.drupal.org/files/issues/term_path_options-2228557-jv.patch"
}
},
"installer-paths": {
"sites/all/modules/contrib/{$name}/": ["type:drupal-module"],
"sites/all/themes/contrib/{$name}/": ["type:drupal-theme"],
"sites/all/libraries/{$name}/": ["type:drupal-library"],
"sites/all/drush/{$name}/": ["type:drupal-drush"],
"profiles/{$name}/": ["type:drupal-profile"]
}
},
"autoload": {
"psr-4": {"YYYComposerScripts\\": "YYYComposerScripts/"}
},
"scripts": {
"pre-install-cmd": [
"YYYComposerScripts\\PlatformInstall::preventGitReset"
],
"pre-update-cmd": [
"YYYComposerScripts\\PlatformInstall::preventGitReset"
],
"post-install-cmd": [
"curl https://www.drupal.org/files/911354-drupal-profile-85.patch | patch -p1",
"composer --working-dir=sites/all/modules/contrib/currency/currency install",
"mkdir -p sites/all/libraries",
"ln -snf ../vendor/mandrill/mandrill sites/all/libraries/mandrill",
"ln -snf ../vendor/mailchimp/mailchimp sites/all/libraries/mailchimp",
"ln -snf ../vendor/aredridel/glip sites/all/libraries/glip"
],
"post-update-cmd": [
"curl https://www.drupal.org/files/911354-drupal-profile-85.patch | patch -p1",
"composer --working-dir=sites/all/modules/contrib/currency/currency update",
"mkdir -p sites/all/libraries",
"ln -snf ../vendor/mandrill/mandrill sites/all/libraries/mandrill",
"ln -snf ../vendor/mailchimp/mailchimp sites/all/libraries/mailchimp",
"ln -snf ../vendor/aredridel/glip sites/all/libraries/glip"
]
}
}
from composer-patches.
No problem. I'm looking into this right now.
from composer-patches.
Do you know what version of the patches plugin you're on? I think I remember seeing this error in an older version, but I can't reproduce it now. I just copied this composer.json into an empty directory, removed the custom bits that you redacted, ran composer install, and it worked.
This isn't related, but I noticed that you're patching drupal in a post install/update command. You can add that to the patches listing, you know ;)
from composer-patches.
@Calystod Are you still having this problem?
from composer-patches.
Closing due to inactivity.
from composer-patches.
Related Issues (20)
- Clear error-message if patch is not available HOT 3
- COMPOSER environment variable vs patches.lock HOT 6
- `PatchesFile` resolver should use the Composer downloader to open the patches file HOT 2
- Redirect loop in documentation pages - Github says to go to docs.cweagans.net/composer-patches - that page says the documentation is in README.md on Github... HOT 2
- Add option to allow composer to continue if patches don't apply HOT 4
- New documentation website is missing the ignore-patches HOT 1
- Should not uninstall packages when Composer is called with --no-install HOT 2
- [Bug or new feature] Add support for local patch files and external patch file in dependencies HOT 10
- Clear error-message if patch is not available HOT 7
- How to apply patches from URL to a private GitHub repo? HOT 2
- PHP 8.2 support HOT 7
- SIMPLE example HOT 1
- When installing Drupal module metatag version: '8.x-1.19' module, the sub module metatag_extended_perms gets created twice, once inside a folder named b HOT 5
- The patch is partially applied HOT 3
- [2.0.0-beta1] No available patcher was able to apply patch ( for drupal/core ) HOT 7
- Composer require hangs sometimes when a patch applies HOT 2
- Removing package for re-install and re-patch does not trigger if patches definition is empty (1.7.3) HOT 1
- I'm Confused By Some of the Directions HOT 5
- [2.*] Make lock file path configurable HOT 2
- Write copy of a patch to a project directory for code review HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from composer-patches.