开发者

How to apply a patch to drupal core using a drush make

开发者 https://www.devze.com 2023-03-03 09:18 出处:网络
I\'m in the开发者_如何学Python process of a disassembling of a live drupal based site. While writing a drush make file I discovered there was some patching of contrib modules and core. I can instruct

I'm in the开发者_如何学Python process of a disassembling of a live drupal based site. While writing a drush make file I discovered there was some patching of contrib modules and core. I can instruct drush make to patch contrib modules using a 'patch' option. But I can't make it patch core.

I tried both

projects[drupal][patch][] = ...
projects[core][patch][] = ... 

without success, nothing changes.

Can someone give a hint?


Seems as though you are on the right track. Here's what I use, which runs and patches correctly:

core = "6.x"
api = "2"

projects[drupal][type] = "core"
projects[drupal][version] = "6.28"
projects[drupal][patch][] = "http://drupalcode.org/project/openatrium.git/blob_plain/refs/heads/master:/robots_txt_rollback.patch"
0

精彩评论

暂无评论...
验证码 换一张
取 消