Closed (fixed)
Project:
WebPush
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Dec 2018 at 03:23 UTC
Updated:
20 Dec 2018 at 16:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
efpapado commentedHi, thank you very much for the patch! Before committing it I'd like to clear up two points:
You are right on that, but I think that the requirement should be set to 7.1
As you note, Webpush 4 depends on 7.1, and this module does not work without the library, so it should be set to 7.1
On the other hand, maybe the module is compatible with earlier versions of Webpush, so in that case we can change the dependency. If anyone is interested they could test and maybe provide patches.
So for now I'll set it to 7.1 and add to the roadmap testing for earlier Webpush versions.
Maybe I'm wrong, but I think that adding it on the
.infofile helps the optimisation of aggregation and caching.I'll try to find more on that.
Comment #3
jacob.embree commentedYou make good points about the PHP version. I could go either way with it, so I went the conservative way. Let me know if you want me to roll a patch requiring 7.1.
See https://api.drupal.org/api/drupal/includes%21common.inc/function/drupal_... for information about
drupal_add_css(). Preprocessing is enabled by default. I'm not sure what other differences there are.Comment #4
efpapado commentedThanks for the patch and the link. I think that it's better to have PHP7.1 as dependency, since this is what the library needs.
However we can leave it open for future changes, if anyone can provide more info about using older releases of the library.
Comment #6
efpapado commentedCommitted :)
Comment #7
efpapado commented