Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update notification service #30

Open
gormus opened this issue Feb 24, 2012 · 1 comment
Open

update notification service #30

gormus opened this issue Feb 24, 2012 · 1 comment

Comments

@gormus
Copy link

gormus commented Feb 24, 2012

We increased our drush usage on all drupal projects. When drush pm-update command is used to update a Pressflow instance, it would update it Drupal vanilla, rather than the latest Pressflow release.

I looked into Drush code and documantation and also the Pressflow code changes. Apparently Drush's behavior is normal, since it checks the update status via installed Drupal/Pressflow instance's update.module

Honestly I was expecting Pressflow would patch update.module with Pressflow's update notification service URL for the core, and the default for the contributed modules and themes. So that Drush would work as expected and update Pressflow, rather than replacing it with Drupal vanilla.

Is there any plan for near future to make this kind of of a change? Or is it against Drupal policies?

Thanks,

Osman

@gormus
Copy link
Author

gormus commented Feb 24, 2012

Here are my initial finding:

  1. Pressflow needs to maintain a release-history URL which would be used in updating Pressflow, just like Drupal's own:
    http://updates.drupal.org/release-history/drupal/6.x
  2. Version info should be restored in .info files. version = VERSION will not help.
  3. Add following line to each .info files
    project status url = 'http://updates.pressflow.org/release-history/pressflow/6.x'
    version = 6.24

I think 'UPDATE_DEFAULT_URL' constant in update.module should not be changed, since Drupal maintained release history keeps all projects' version history.

References from api.drupal.org
_update_get_fetch_url_base

UPDATE_DEFAULT_URL

_update_build_fetch_url

I would like to know what do you think about this, and what we can do to bring automatic updates to Pressflow.

Cheers,
Osman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant