The Distribution Update Status Manager module has been written that enhances the Update (core) manager module specifically for distributions. We plan to include this in the Panopoly distribution but we wrote it generically enough for any distribution to use.
We tested it locally with the Commerce Kickstart distro by removing the update hooks currently in use and then enabling the distro_update module. The features of the distro_update module are listed on the project page.
I'm hoping to get more distributions using the same module so we're not all reinventing the wheel.
If commerce kickstart is interested in using it, I can create the patch.
Comment | File | Size | Author |
---|---|---|---|
#17 | use_the_new-2325349-17.patch | 5 KB | mglaman |
#11 | commerce_kickstart-add_distro_update_module-2325349-11.patch | 5.14 KB | caschbre |
#6 | Skærmbillede 2014-08-25 17.08.16.png | 53.8 KB | lsolesen |
Comments
Comment #1
bojanz CreditAttribution: bojanz commentedThat looks awesome. Definitely interested.
Comment #2
caschbre CreditAttribution: caschbre commentedAttached is a patch that removes the projects/status alter hooks and any update admin page form/settings alterations. The distro_update module was added to the .make file as well.
Comment #3
lsolesen CreditAttribution: lsolesen commentedShould probably also be enabled?
Comment #4
caschbre CreditAttribution: caschbre commentedGood catch.
Here's an updated patch that:
* Changes distro_update to beta3
* Adds distro_update to .info file
* Adds update hook to enable the module
Comment #5
caschbre CreditAttribution: caschbre commentedComment #6
lsolesen CreditAttribution: lsolesen commentedI applied it on the most current code (though based on a Drupal 7.30) and I get the message that I should upgrade my Drupal version. Maybe, there could be some sort of explanation that it is good to wait for the distro update?
Comment #7
caschbre CreditAttribution: caschbre commentedYep, I can add a message to the top of that page as well as the normal report page.
In that screenie... is drupal core out of sync with the distro .make file?
Edit: out of the box, any module that is out of date but the version matches the .make file is hidden on that update page.
Comment #8
lsolesen CreditAttribution: lsolesen commented@caschbre Yeah on that screenshot they are out of sync.
Comment #9
caschbre CreditAttribution: caschbre commented@lsolesen... I haven't tagged a new release yet since I want to wait and see if there are other issues with the module but I did incorporate the warning/help text on the top of the various pages and inline in some cases.
#2328175: Add warning text to top of update report/update pages
Comment #10
caschbre CreditAttribution: caschbre commentedFYI... I'll be creating beta4 soon. Mostly minor enhancements to handle edge case scenarios. I'll update this patch when I get that completed.
Comment #11
caschbre CreditAttribution: caschbre commentedAttached is an updated patch that uses distro_update 1.0-beta4. This includes mostly edge case scenarios.
Comment #12
lsolesen CreditAttribution: lsolesen commentedThis looks good to me. I've created a pull request to see what the automatic tests says.
https://github.com/commerceguys/commerce_kickstart/pull/78
Comment #13
candelas CreditAttribution: candelas commentedHello
Does it works with Commerce Kickstart 2.22? Thanks
Comment #14
candelas CreditAttribution: candelas commentedI add this errors that I get in a fresh 2.22 install on features.
Comment #15
mglamanPR is failing tests: https://github.com/commerceguys/commerce_kickstart/pull/78
Tagging for kanban board, would like to get this in.
Comment #16
mglamanPatch no longer applies to 7.x-2.x HEAD
Comment #17
mglamanNew PR up, build: https://travis-ci.org/commerceguys/commerce_kickstart/builds/72239765
Comment #19
mglaman