Re: [gentoo-user] register to know certain event?
On Mon, 4 Apr 2005 13:43:17 +0800 ?? ? wrote: I hope I am not the only one who have this requirement: I am a normal Gentoo user, I wish to: 1) if there is a new version of xorg-x11 gets stable on sparc (that is, keyword masked by 'sparc') I get email notification of that; 2) if there is a new version of gnome (in my case, gnome-2.10) gets stable on sparce, please let me know. Currently what I am doing is check portage once a week to see if it happens. Is there such a service I can register to see all the event related to certain packages? I don't think so, but you could always write a script to download a certain ebuild, and compare it to what is in your own portage, and to tell you if it had any changes. Just an idea. -- 锐业软服 Real SoftService http://www.realss.com 技术服务电话: 0086 592 2086411 Technical Contact: 0086 592 2086411 -- gentoo-user@gentoo.org mailing list -- Nick Rout Barrister Solicitor Christchurch http://www.rout.co.nz [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] register to know certain event?
On Mon, 4 Apr 2005 13:43:17 +0800 ?? ? wrote: I hope I am not the only one who have this requirement: I am a normal Gentoo user, I wish to: 1) if there is a new version of xorg-x11 gets stable on sparc (that is, keyword masked by 'sparc') I get email notification of that; 2) if there is a new version of gnome (in my case, gnome-2.10) gets stable on sparce, please let me know. Currently what I am doing is check portage once a week to see if it happens. Is there such a service I can register to see all the event related to certain packages? another approach would be to get a script to download the appropriate packages.gentoo.org page, for example: http://packages.gentoo.org/packages/?category=x11-base;name=xorg-x11 and parse the output for what you want. Just an idea. -- 锐业软服 Real SoftService http://www.realss.com 技术服务电话: 0086 592 2086411 Technical Contact: 0086 592 2086411 -- gentoo-user@gentoo.org mailing list -- Nick Rout Barrister Solicitor Christchurch http://www.rout.co.nz [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] register to know certain event?
wrote: I hope I am not the only one who have this requirement: I am a normal Gentoo user, I wish to: 1) if there is a new version of xorg-x11 gets stable on sparc (that is, keyword masked by 'sparc') I get email notification of that; 2) if there is a new version of gnome (in my case, gnome-2.10) gets stable on sparce, please let me know. Currently what I am doing is check portage once a week to see if it happens. Is there such a service I can register to see all the event related to certain packages? Just an idea. -- Real SoftService http://www.realss.com : 0086 592 2086411 Technical Contact: 0086 592 2086411 -- gentoo-user@gentoo.org mailing list Hi. You could try emerging 'app-portage/esearch' and the run esync which runs an emerge --sync and then eupdatedb (creates an index of your local portage tree.) # emerge -av app-portage/esearch # eupdatedb #(run once the create the index) put esync -n -s in crontab or whatever. The output will show new packages, updated packages. You can use grep or something similar to filter the output to match your wanted packages. btw. esearch is pretty fast. =) ## regular search with emerge ha henrik # time emerge -S browser Searching... [ Results for search key : browser ] [ Applications found : 74 ] ... ... ... real0m19.269s user0m17.059s sys 0m2.128s ## search with esearch ha henrik # time esearch -S browser [ Results for search key : browser ] [ Applications found : 74 ] ... ... ... real0m0.132s user0m0.120s sys 0m0.011s //henrik -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] register to know certain event?
wrote: I hope I am not the only one who have this requirement: I am a normal Gentoo user, I wish to: 1) if there is a new version of xorg-x11 gets stable on sparc (that is, keyword masked by 'sparc') I get email notification of that; 2) if there is a new version of gnome (in my case, gnome-2.10) gets stable on sparce, please let me know. Not exactly what your looking for, but there are RSS feeds of new ebuilds under http://packages.gentoo.org/feeds/ Christoph -- echo mailto: NOSPAM !#$.'*'|sed 's. ..'|tr * !#:2 [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] register to know certain event?
On Mon, 4 Apr 2005 13:43:17 +0800, __ ___ wrote: 1) if there is a new version of xorg-x11 gets stable on sparc (that is, keyword masked by 'sparc') I get email notification of that; 2) if there is a new version of gnome (in my case, gnome-2.10) gets stable on sparce, please let me know. You could do this with a script run from cron. #!/bin/sh emerge sync /dev/null updates=$(emerge world -upvD) for p in xorg-x11 gnome add others; do if echo $updates | grep -q $p; then echo Update to $p available fi done If any listed packages are updated, the script with print them, and cron will mail this information to you. Alternatively, you can have cron mail all the updates to you with #!/bin/sh emerge sync emerge -upvD -- Neil Bothwick Anything is good and useful if it's made of chocolate. pgpxKzbD8w8hF.pgp Description: PGP signature
Re: [gentoo-user] register to know certain event?
Thank you everyone for providing me answer to my initial question: wrote: I wish to: 1) if there is a new version of xorg-x11 gets stable on sparc (that is, keyword masked by 'sparc') I get email notification of that; 2) if there is a new version of gnome (in my case, gnome-2.10) gets stable on sparce, please let me know. Currently there is no such service can satisfy my requirment, but it's not difficult to setup such 'service' on my own host. Herik Andersson suggested that I should keep my portage up-to-date by setting up crontab to automatically do esync(1) and check if the packages I care about is updated, by using esearch (1) and a text filter. While Chirstoph Gysin suggested a common way of tracking ebuild development by reading RSS feeds http://packages.gentoo.org/feeds/ and Nick Rout also suggested that I can grab the webpage about certain ebuilds (e.g. http://packages.gentoo.org/packages/?category=x11-base;name=xorg-x11) and parse the text to get the info I care about. Finally I choose to add esync(1) to crontab, after esync(1) finished, scan if there is new ebuilds I care about by using esearch(1), if there is, use sendmail(1) to email the result of esearch to myself. After that is finished, I think if I further write some cgi scripts, I am almost ready to provide 'ebuild update notification service' :D And that's how this is solved. Thank you for the help. -- Real SoftService http://www.realss.com : 0086 592 2086411 Technical Contact: 0086 592 2086411 -- gentoo-user@gentoo.org mailing list
[gentoo-user] register to know certain event?
I hope I am not the only one who have this requirement: I am a normal Gentoo user, I wish to: 1) if there is a new version of xorg-x11 gets stable on sparc (that is, keyword masked by 'sparc') I get email notification of that; 2) if there is a new version of gnome (in my case, gnome-2.10) gets stable on sparce, please let me know. Currently what I am doing is check portage once a week to see if it happens. Is there such a service I can register to see all the event related to certain packages? Just an idea. -- Real SoftService http://www.realss.com : 0086 592 2086411 Technical Contact: 0086 592 2086411 -- gentoo-user@gentoo.org mailing list