As an module developer - not able to provide a module under GPL and therefor it is not hosted on drupal, i'd like to be able to have a to overwrite the update URL in my module. Maybe adding a hook to mymodule.install file sounds like a good solution. i'm thinking about something like:

function mymodule_update() { 
  $updateurl="https://update.mymodule.com/update/update.xml"; 
}

this will overwrite the Drupal.org URL for a specific module and keep the module up-to-date.

Comments

hass’s picture

hass’s picture

i saw you are reading the .info file. maybe it is another better idea to put an optional line into the .info file and read the value there.

however - a great benefit.

merlinofchaos’s picture

Status: Active » Closed (works as designed)

Because we believe strongly in the drupal.org licensing agreements, we are unlikely to release (from drupal.org) a module that checks elsewhere. If there are modules being released not on drupal.org, it should be trivial for them to release a variant of this module that checks their servers appropriately.

hass’s picture

Status: Closed (works as designed) » Active

This suxxx at all. My theme is licensed under a Creative Commons License and i cannot provide more rights then i have myself. Therefor i cannot upload it to Drupal.org, while it cannot be GPL.

Open your mind - the world is bigger and there is something outside Drupal.org.

merlinofchaos’s picture

Status: Active » Closed (works as designed)

Somehow, being insulting doesn't give me *any* incentive to work on a feature request for you.