Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
packages that have an update as newsfeed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Harold
n00b
n00b


Joined: 25 Jul 2002
Posts: 19

PostPosted: Fri Sep 06, 2002 7:37 pm    Post subject: packages that have an update as newsfeed Reply with quote

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 :D

thx

Harold
Back to top
View user's profile Send private message
citizen428
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 317
Location: Vienna, Austria

PostPosted: Mon Sep 09, 2002 1:55 pm    Post subject: Re: packages that have an update as newsfeed Reply with quote

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
View user's profile Send private message
Harold
n00b
n00b


Joined: 25 Jul 2002
Posts: 19

PostPosted: Tue Sep 10, 2002 11:19 am    Post subject: Reply with quote

nice idea I'll look into that :)
Back to top
View user's profile Send private message
citizen428
Retired Dev
Retired Dev


Joined: 10 Jun 2002
Posts: 317
Location: Vienna, Austria

PostPosted: Tue Sep 10, 2002 3:47 pm    Post subject: Re: packages that have an update as newsfeed Reply with quote

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
View user's profile Send private message
Harold
n00b
n00b


Joined: 25 Jul 2002
Posts: 19

PostPosted: Tue Sep 10, 2002 5:38 pm    Post subject: Reply with quote

ok it's updated

redownload the package. You should get the URLs for each specific package now. :)
Back to top
View user's profile Send private message
Harold
n00b
n00b


Joined: 25 Jul 2002
Posts: 19

PostPosted: Sat Sep 14, 2002 12:25 am    Post subject: Reply with quote

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 :P )

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum