dongtuan1594 2014-01-31 15:25
浏览 114
已采纳

如何管理Drupal自定义模块?

Imagine this scenario: you use a custom Drupal module in Drupal-7 website A and in Drupal-7 website B and you make changes to the custom module in website A. If you want these updates in Drupal website B, you'll have to:

  1. Push the changes from A to the remote server (At the moment we use a GIT repo to keep track of our custom drupal modules)
  2. Pull the changes in website B (and other websites that also use the custom module)

Is there a way so that I don't have to keep track of all the websites where a custom module is installed? In other words: is it possible to get an notice in website B that there is a new version of the custom module, just like it would be if it was a default contrib Drupal module?

  • 写回答

1条回答 默认 最新

  • duanlu1950 2014-01-31 16:58
    关注

    The closest you'll get without writing something custom is the Feature Server module

    This module allows you to share features and custom modules on your own website. It lets you create projects and releases, and it produces an update XML feed compatible with the update module in core. In a way it's a highly simplified version of the project module.

    There's only a release for Drupal 6, but you can use that version to provide feeds for D7 modules too.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?