2014-01-31 15:25
浏览 94


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?

图片转代码服务由CSDN问答提供 功能建议

想象一下这种情况:你在Drupal-7网站A和Drupal-7网站B中使用自定义Drupal模块 您对网站A中的自定义模块进行了更改。如果您想在Drupal网站B中进行这些更新,则必须:

  1. 将更改从A推送到 远程服务器(目前我们使用GIT仓库来跟踪我们的自定义drupal模块)
  2. 拉取网站B(以及其他也使用自定义模块的网站)的更改

    有没有办法让我不必跟踪安装自定义模块的所有网站? 换句话说:是否有可能在网站B中通知有一个新版本的自定义模块,就像它是一个默认的contrib Drupal模块一样?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 邀请回答

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.

    点赞 打赏 评论

相关推荐 更多相似问题