View previous topic :: View next topic |
Author |
Message |
Harold n00b
Joined: 25 Jul 2002 Posts: 19
|
Posted: Fri Sep 06, 2002 7:37 pm Post subject: packages that have an update as newsfeed |
|
|
if you have something that supports a newsfeed such as evolution or (I have been told gkrellm): I made a little something that generates an RDF file for it from emerge -up world
it has 2 main files
updateworld.cron which contains the commands to be executed (make sure it runs as root)
updateworld.py a python script that generates updateworld.rdf, the (local) newsfeed file to which you just have to point your client.
I use it to periodically check 'summary' in evolution to see if there are any newer packages for my box. right now every link points to gentoo.org I'll think about if I can give it any better functionality.
AFAIK it works, but I've only tested it myself due to lack of volunteers in the IRC channel :/
it should work, but won't kill your system if it won't oops:
anyway download and give me a bug-report if needed
http://www.win32asmcommunity.net/download/updateworld.zip
it's my first python script as well
thx
Harold |
|
Back to top |
|
|
citizen428 Retired Dev
Joined: 10 Jun 2002 Posts: 317 Location: Vienna, Austria
|
Posted: Mon Sep 09, 2002 1:55 pm Post subject: Re: packages that have an update as newsfeed |
|
|
Nice idea!
Harold wrote: |
1. right now every link points to gentoo.org I'll think about if I can give it any better functionality.
2. AFAIK it works, but I've only tested it myself due to lack of volunteers in the IRC channel :/
|
ad 1. How about pointing to the Homepage URL specified in the Ebuild?
ad 2. Going to test it as soon as I find the time. |
|
Back to top |
|
|
Harold n00b
Joined: 25 Jul 2002 Posts: 19
|
Posted: Tue Sep 10, 2002 11:19 am Post subject: |
|
|
nice idea I'll look into that |
|
Back to top |
|
|
citizen428 Retired Dev
Joined: 10 Jun 2002 Posts: 317 Location: Vienna, Austria
|
Posted: Tue Sep 10, 2002 3:47 pm Post subject: Re: packages that have an update as newsfeed |
|
|
citizen428 wrote: | ad 2. Going to test it as soon as I find the time. |
Finally found the time to test it and it works really nice with Evolution!
Good job! |
|
Back to top |
|
|
Harold n00b
Joined: 25 Jul 2002 Posts: 19
|
Posted: Tue Sep 10, 2002 5:38 pm Post subject: |
|
|
ok it's updated
redownload the package. You should get the URLs for each specific package now. |
|
Back to top |
|
|
Harold n00b
Joined: 25 Jul 2002 Posts: 19
|
Posted: Sat Sep 14, 2002 12:25 am Post subject: |
|
|
new package, this news feed shows new packages
not just packages that have an update but packages that have been added to portage and weren't available before. (well I hope it does, since this is very hard to test )
http://www.win32asmcommunity.net/download/newpackages.zip
to use make a crontab and put the .cron file in it
if you don't place the files in / edit the files a bit (I was somewhat lazy and noticed it too late)
before starting it do a
Code: |
find /usr/portage -iname '*.ebuild' > /packages.current |
after that you're set to go. it will create a newpackages.rdf newsfeed that your evolution or other newsreader can use. |
|
Back to top |
|
|
|