Jump to:

23478 Posts in 18941 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » Addon update notifications

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 651 Views
  • mattdwen
    Avatar
    Community Member
    12 Posts

    Addon update notifications Link to this post

    I'm curious as to how others are monitoring addons for required security updates? There's the SilverStripe Announce Google Group which is great, but I can't find a way to be notified when an addon is updated.

    How are other devs tracking addons for their sites?

  • martimiz
    Avatar
    Forum Moderator
    1086 Posts

    Re: Addon update notifications Link to this post

    I don't know how others do this, but using Composer you should be able to do something like

    composer update --dry-run

    That should give you a list like this:

    - Updating xxx/silverstripe-module1 (dev-master db94111) to xxx/silverstripe-module1 (dev-master 45eb795)

    - Updating xxx/silverstripe/module2 (dev-master 6937d65) to xxx/silverstripe/module2 (dev-master d8295c2)

    without actually updating...

  • mattdwen
    Avatar
    Community Member
    12 Posts

    Re: Addon update notifications Link to this post

    I was hoping there was a magic RSS feed or similar. I guess I'll be rolling a cron to check this and email a notification. Might try and build as an addon itself which can be added to any site.

  • camfindlay
    Avatar
    Forum Moderator
    148 Posts

    Re: Addon update notifications Link to this post

    There is an rss for new modules http://addons.silverstripe.org/add-ons/rss

    Perhaps add a ticket about this feature at https://github.com/silverstripe/addons.silverstripe.org or if you are motivated perhaps could even look at writing and submitting that feature

  • martimiz
    Avatar
    Forum Moderator
    1086 Posts

    Re: Addon update notifications Link to this post

    I'm thinking that with hundreds of addons changing regularly you'd have to check that rss feed really often if you want to catch a change in a module you're using.

    It would be nice to have a module that would point out module updates in the CMS. But i don't think modules themselves carry versions, so the only way would be to use the git version information in some way? Which should be present in your install...

    Edit: or some addons api where you can check a version against eh... either a date or a git version id?

  • mattdwen
    Avatar
    Community Member
    12 Posts

    Re: Addon update notifications Link to this post

    I was contemplating setting up an https://ifttt.com/ account which emails when keywords (e.g. the addon name) is seen in the RSS feed, but it's a lot to configure.

    An addon itself is the way to go. All our sites will be using Composer, so that makes it a lot easier. Will probably go down that track soon.

  • mattdwen
    Avatar
    Community Member
    12 Posts

    Re: Addon update notifications Link to this post

    I've just finished an addon which parses composer.json|lock and checks against Packagist for updates. Sends an email notification once found to whomever you configure.

    https://github.com/XploreNet/silverstripe-composerupdates

    651 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.