Here for the community? On May 9th, we'll be in New Orleans. Don’t miss out!
Patch provided that adds a submodule 'Uptime test' that:
test_dependencies = uptime_widget_test
Committed. Tested by using http://simplytest.me/project/uptime_widget/7.x-1.x
Simplytest.me uses git, thus our test module is in the module list (under 'Development') even before the commit has been pacckaged by d.o.
Our test module is not enabled by default, thus leaving status "needs work".
Projects specified with test_dependency will only be automatically downloaded (if they are external), but not enabled .
We still have to make use of a patch to add the real dependency to the main .info file.
Simplytest.me's maintainer indicated this behavior might change in the future.
Added mini patch to add uptime_widget_test as a hard dependency, so it will get enabled.
In this particular case we also need cron to run. A patch to the .install file to both enable the test module and run cron is the easiest.
is working as expected.
To adapt the patch after last commit http://drupalcode.org/project/uptime_widget.git/commitdiff/d798146 related to #2047017: Render the widget identical to the sister module PageRank Widget
One first test simplytest.me hanged on 67% of installation. Another test this morning went without problems.
Needs to remove activation link to simpletest.me on the sample node. If we see that, we are already in the demo.
Attached patch removes some double cron runs. That might be reason for longer or hanging install of the simplytest.me. Also from the latest patch in #7 we can remove cron run.
Furthermore we improved the content of the created node.
And a new patch, not to be committed but only for deploy on simplytest.me.
So, finally, the new demo site should be under:http://simplytest.me/project/uptime_widget/7.x-1.x?add=pagerank_widget&patch=https://drupal.org/files/enable_test-2045301-11.patch
Well, we forgot that the cron was needed also to update the uptime ratio.
Now it works as expected.
The new demo site is still under:http://simplytest.me/project/uptime_widget/7.x-1.x?add=pagerank_widget&patch=https://drupal.org/files/enable_test-2045301-11.patch
Yet another patch. :)
Test with http://simplytest.me/project/uptime_widget/7.x-1.x?add=pagerank_widget&patch=https://drupal.org/files/enable_test-2045301-16.patch
Automatically closed -- issue fixed for 2 weeks with no activity.
Added simplytest_dependencies = uptime_widget_test to the .info file. Committed.
simplytest_dependencies = uptime_widget_test
After a great enhancement on Simplytest.me this now results in the demo sub-module being enabled without having to use a patch to do that.
Removed PageRank Widget from the demo that has its own demo now.
Issue #2045301: Updated demo on Simplytest
Automatically closed - issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.