public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Systray app notifying of updated packages?
@ 2013-06-03 22:02 Sebastian Pipping
  2013-06-03 22:30 ` Walter Dnes
  0 siblings, 1 reply; 4+ messages in thread
From: Sebastian Pipping @ 2013-06-03 22:02 UTC (permalink / raw
  To: gentoo-user

Hi there!


Does anyone know an app sitting in the systray sending/popping
notifications when installed packages can be updated?

Thanks!



Sebastian


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Systray app notifying of updated packages?
  2013-06-03 22:02 [gentoo-user] Systray app notifying of updated packages? Sebastian Pipping
@ 2013-06-03 22:30 ` Walter Dnes
  2013-06-04  6:27   ` Stroller
  0 siblings, 1 reply; 4+ messages in thread
From: Walter Dnes @ 2013-06-03 22:30 UTC (permalink / raw
  To: gentoo-user

On Tue, Jun 04, 2013 at 12:02:27AM +0200, Sebastian Pipping wrote

> Does anyone know an app sitting in the systray sending/popping
> notifications when installed packages can be updated?

  I'm not aware of any.  That could be done under Gentoo, via scripting,
if someone is willing to put in the work.  You would need a background
process running "emerge --sync" *AS ROOT* on a daily basis, possibly a
cron job.  Then it would have to be followed by

emerge -pv --deep --update --changed-use @world > updates.txt

Then parse the contents of updates.txt for a list of what's ready to
update.

-- 
Walter Dnes <waltdnes@waltdnes.org>
I don't run "desktop environments"; I run useful applications


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Systray app notifying of updated packages?
  2013-06-03 22:30 ` Walter Dnes
@ 2013-06-04  6:27   ` Stroller
  2013-06-06 14:54     ` Fast Turtle
  0 siblings, 1 reply; 4+ messages in thread
From: Stroller @ 2013-06-04  6:27 UTC (permalink / raw
  To: gentoo-user


On 3 June 2013, at 23:30, Walter Dnes wrote:

> On Tue, Jun 04, 2013 at 12:02:27AM +0200, Sebastian Pipping wrote
> 
>> Does anyone know an app sitting in the systray sending/popping
>> notifications when installed packages can be updated?
> 
>  I'm not aware of any.  That could be done under Gentoo, via scripting,
> if someone is willing to put in the work.  You would need a background
> process running "emerge --sync" *AS ROOT* on a daily basis, possibly a
> cron job.  Then it would have to be followed by
> 
> emerge -pv --deep --update --changed-use @world > updates.txt

I think systray notifications are a bad idea, but I don't know that a daily cron job is the answer.

Gentoo.org requests that one does not sync every 5 minutes. I think current policy might allow 4 times per day, but the only statement I can find on the website is from 2003, "Sync 1-2 times per day, maximum. … Analysis of rsync logs show that a few discourteous users syncing 10, 15 or even 25 times per day are using a disproportionate amount of rsync mirror resources."

IMO systray notifications are to tell the user about stuff that's happening *right now* - incoming email or instant messages, tweets, buddies coming online, new comments on your blog or new uploads from your favourite YouTube channel. 

I think Portage might usefully use systray notifications to tell you that a package has finished installing (so please read the update notes and restart the web / mail server) or that package 11 of 20 has compiled, but I don't think systray notifications should be used for something that happens infrequently, say only once or twice a day.

I don't really see the benefit of systray notifications (over a daily email), but if OP really wants that, I think it would be better to write a script that checks the RSS feed of http://packages.gentoo.org (which I think puts less strain on Gentoo infrastructure) and then parses the updates to see if the package is actually installed on the system, before notifying the user. This is probably a bit more work.

Stroller.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-user] Systray app notifying of updated packages?
  2013-06-04  6:27   ` Stroller
@ 2013-06-06 14:54     ` Fast Turtle
  0 siblings, 0 replies; 4+ messages in thread
From: Fast Turtle @ 2013-06-06 14:54 UTC (permalink / raw
  To: gentoo-user

On Tue, 4 Jun 2013 07:27:55 +0100
Stroller <stroller@stellar.eclipse.co.uk> wrote:

> 
> On 3 June 2013, at 23:30, Walter Dnes wrote:
> 
> > On Tue, Jun 04, 2013 at 12:02:27AM +0200, Sebastian Pipping wrote
> > 
> >> Does anyone know an app sitting in the systray sending/popping
> >> notifications when installed packages can be updated?
> > 
> >  I'm not aware of any.  That could be done under Gentoo, via scripting,
> > if someone is willing to put in the work.  You would need a background
> > process running "emerge --sync" *AS ROOT* on a daily basis, possibly a
> > cron job.  Then it would have to be followed by
> > 
> > emerge -pv --deep --update --changed-use @world > updates.txt
> 
> I think systray notifications are a bad idea, but I don't know that a daily cron job is the answer.
> 
> Gentoo.org requests that one does not sync every 5 minutes. I think current policy might allow 4 times per day, but the only statement I can find on the website is from 2003, "Sync 1-2 times per day, maximum. … Analysis of rsync logs show that a few discourteous users syncing 10, 15 or even 25 times per day are using a disproportionate amount of rsync mirror resources."
> 
> IMO systray notifications are to tell the user about stuff that's happening *right now* - incoming email or instant messages, tweets, buddies coming online, new comments on your blog or new uploads from your favourite YouTube channel. 
> 
> I think Portage might usefully use systray notifications to tell you that a package has finished installing (so please read the update notes and restart the web / mail server) or that package 11 of 20 has compiled, but I don't think systray notifications should be used for something that happens infrequently, say only once or twice a day.
> 
> I don't really see the benefit of systray notifications (over a daily email), but if OP really wants that, I think it would be better to write a script that checks the RSS feed of http://packages.gentoo.org (which I think puts less strain on Gentoo infrastructure) and then parses the updates to see if the package is actually installed on the system, before notifying the user. This is probably a bit more work.
> 
> Stroller.
> 
> 
In the case of the using the RSS feed, just use a blasted reader that check it and includes tray notifications or simply set a firefox live bookmark


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-06-06 14:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-03 22:02 [gentoo-user] Systray app notifying of updated packages? Sebastian Pipping
2013-06-03 22:30 ` Walter Dnes
2013-06-04  6:27   ` Stroller
2013-06-06 14:54     ` Fast Turtle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox