[haiku-development] Re: Time to add SoftwareUpdater to build?

  • From: Adrien Destugues <pulkomandy@xxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Mon, 24 Apr 2017 19:41:37 +0200

On Mon, Apr 24, 2017 at 01:13:13PM -0400, brian@tycho.email wrote:

Which also brings up another issue regarding the current notification system, 
which is if "SoftwareUpdater check" is run on a schedule and does find 
updates and displays a notification, depending on user settings the 
notification may disappear before the user sees it if they are not using the 
system at the time.  The current Haiku build does not have a history view or 
a dock for missed notifications, so the check mode is somewhat hampered by 
this missing feature.  Also there is no built-in task scheduling system, so 
right now I am conflicted if a custom scheduling system for just running the 
check should be added to the package daemon or not.  

For the notifications, I think you have some work in progress already?
:)

For the periodic check, I think the best way would be to add a cron-like
system, either as a new server or as part of the launch_daemon. Or maybe
BRoster, not sure wht's the most appropriate place for it.
Doing it in package_daemon sounds like it would be very specific to the
task of running SoftwareUpdater, however, and I think I prefer a more
generic solution.

-- 
Adrien.

Other related posts: