Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Check Freshmeat Releases Against Gentoo's Latest: meatoo?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Mar 22, 2005 7:51 pm    Post subject: Check Freshmeat Releases Against Gentoo's Latest: meatoo? Reply with quote

For the OCB crowd (Obsessive-Compulsive Bumpers):

EDIT The script has been re-written from scratch because Freshmeat stopped making their RDF file available.

Meatoo is an online database of the latest packages announced on Freshmeat that have corresponding Portage packages.
You can use it via the website: http://gentooexperimental.org/meatoo

or with a command-line tool:
http://dev.gentoo.org/~pythonhead/scripts/meatoo-0.0.6

Starting with version 0.0.4 the command-line client doesn't download anything from Freshmeat. It queries an XML-RPC server on gentooexperimental, where all the calculations are performed, making it much quicker.


Last edited by Pythonhead on Wed Jul 27, 2005 6:43 am; edited 4 times in total
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Wed Mar 23, 2005 1:06 am    Post subject: Reply with quote

Heh. This is at least the fifth time someone's implemented this :P
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Wed Mar 23, 2005 3:03 am    Post subject: Reply with quote

Whoops. Where are they?

I'm going to be embarassed if any are on my big list:
https://forums.gentoo.org/viewtopic-t-67849.html

Do any of them do stuff on my TODO? I just finished the auto-bumping and showing only stuff in your herds.
Back to top
View user's profile Send private message
ciaranm
Retired Dev
Retired Dev


Joined: 19 Jul 2003
Posts: 1719
Location: In Hiding

PostPosted: Wed Mar 23, 2005 3:15 am    Post subject: Reply with quote

Pythonhead wrote:
Whoops. Where are they?

On various people's devspaces I guess. This is one of the projects that comes up about once a year where someone goes "wouldn't it be cool to check the entire tree against freshmeat for version bumps?", and then goes ahead and codes it before asking whether anyone else did it already. :twisted:
Back to top
View user's profile Send private message
RedDawn
Guru
Guru


Joined: 22 Sep 2003
Posts: 368
Location: Los Angeles, California

PostPosted: Wed Mar 23, 2005 7:08 am    Post subject: Reply with quote

"ide-scsi"

:twisted:
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Wed Mar 23, 2005 11:04 pm    Post subject: Reply with quote

0.0.2

EDIT The -i and -b features aren't implemented in 0.0.4 yet.

New features:

Optional command line arguments:

  • -b Allow you to optionally "bump" up any versions listed.
  • -i Only show packages you have installed
  • -H Only show packages for the herds you're in (Gentoo developers only)

The -b option requires "bumper":
http://gentooexperimental.org/script/repo/show/2

The -H option uses app-portage/herdstat, which can take a very long time, especially if you're in a few herds.
To save time, use the -u option to cache all the packages for each herd in an sqlite database.

Source:
http://dev.gentoo.org/~pythonhead/scripts/meatoo-0.0.2

Optional sql backend for developers to cache herd/package info:
http://dev.gentoo.org/~pythonhead/scripts/meatoodb.py
It uses sqlite but you only need change one line to use mysql, postgres, firebird and others.

TODO:

  • Add more herd info with patch submitted by ka0ttic (Thanks!)
  • Use eix instead of equery for dramatic speed increase.
  • Create website with daily rss feeds stored for meatoo to query


Last edited by Pythonhead on Thu May 26, 2005 11:43 pm; edited 1 time in total
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Fri Mar 25, 2005 9:29 pm    Post subject: Reply with quote

I've started a barebones site to show daily freshmeat vs. portage stats:
http://gentooexperimental.org/meatoo/

Version 0.0.3 is out and is much faster, relying on eix instead of equery:
http://gentooexperimental.org/script/repo/show/64
Back to top
View user's profile Send private message
Squiddle
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 141

PostPosted: Tue Mar 29, 2005 8:13 pm    Post subject: Reply with quote

Pythonhead wrote:
I've started a barebones site to show daily freshmeat vs. portage stats:
http://gentooexperimental.org/meatoo/

Version 0.0.3 is out and is much faster, relying on eix instead of equery:
http://gentooexperimental.org/script/repo/show/64


too bad it is not working for me. Some output:
Code:
5.4.4             Search/results:-:)
1.9.4             Search/results:-:)
0.7.1             Search/results:-:)
1.4-pre1          You/missed-:)
1.0.2             You/missed-:)
1.0.5             Search/results:-:)
0.0.2             You/missed-:)
2.2               You/missed-:)
0.9.3             You/missed-:)
0.7.4             You/missed-:)
1.4               You/missed-:)
0.97              Search/results:-:)
0.28              Search/results:-:)
2.4.5             You/missed-:)
0.13.5            Search/results:-:)
0.9.2pre3         You/missed-:)
2.0.1             Search/results:-:)
1.7.5-dev         You/missed-:)
0.12.2            You/missed-:)

Packages found: 71

not really helpful seems eix is making fun of me :)
_________________
"Unerhört schnelle Systeme begehen unerhört schnell Fehler." -- Stanislaw Lem
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Apr 05, 2005 3:10 am    Post subject: Reply with quote

What version of eix, Squiddle? I'm using 0.2.2
Back to top
View user's profile Send private message
Squiddle
Tux's lil' helper
Tux's lil' helper


Joined: 27 Jan 2004
Posts: 141

PostPosted: Tue Apr 05, 2005 4:30 pm    Post subject: Reply with quote

eix version 0.2.2_alpha

EDIT: eix 0.2.2 got stable now, and now meatoo is working like a charm, THX for stuff like this.
_________________
"Unerhört schnelle Systeme begehen unerhört schnell Fehler." -- Stanislaw Lem
Back to top
View user's profile Send private message
deepHomer
n00b
n00b


Joined: 06 Apr 2005
Posts: 6

PostPosted: Thu Apr 28, 2005 5:39 pm    Post subject: Reply with quote

Pythonhead wrote:
I've started a barebones site to show daily freshmeat vs. portage stats:
http://gentooexperimental.org/meatoo/

Version 0.0.3 is out and is much faster, relying on eix instead of equery:
http://gentooexperimental.org/script/repo/show/64


Hi Pythonhead,

Just downloaded and ran meatoo.py (ver 0.0.3) but I get this:
Code:
Freshmeat:        Portage:
2.1.0             Can't/open-reading
0.7.0             Can't/open-reading
0.7               Can't/open-reading
0.9.9             Can't/open-reading
1.29              Can't/open-reading
,,,

The same repeats for all 57 packages. I looked superficially through the script to try to find the problem, but to no avail.

What's wrong with my setup?
Back to top
View user's profile Send private message
blackcell
n00b
n00b


Joined: 17 Aug 2002
Posts: 56
Location: Oregon

PostPosted: Tue May 10, 2005 3:24 am    Post subject: Reply with quote

deepHomer wrote:
Pythonhead wrote:
I've started a barebones site to show daily freshmeat vs. portage stats:
http://gentooexperimental.org/meatoo/

Version 0.0.3 is out and is much faster, relying on eix instead of equery:
http://gentooexperimental.org/script/repo/show/64


Hi Pythonhead,

Just downloaded and ran meatoo.py (ver 0.0.3) but I get this:
Code:
Freshmeat:        Portage:
2.1.0             Can't/open-reading
0.7.0             Can't/open-reading
0.7               Can't/open-reading
0.9.9             Can't/open-reading
1.29              Can't/open-reading
,,,

The same repeats for all 57 packages. I looked superficially through the script to try to find the problem, but to no avail.

What's wrong with my setup?


I get the same results. Script be broken??
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue May 24, 2005 9:37 pm    Post subject: Reply with quote

Freshmeat stopped making their xml file available on April 27th. Oops. I wasn't watching this thread.

I've written a new client that queries the meatoo website database and is very fast. I'll post it soon.

It uses xml-rpc, so you can use just about any language to make your own client. Heres a super-simple example in python:
Code:

import xmlrpclib
server = xmlrpclib.ServerProxy("http://gentooexperimental.org:8888")
print server.getPackage("rhapsody")
print server.getMaintainer("games")


The first line it prints is an exact package match and the second is all packages for the games herd.

Or in Ruby:
Code:

require "xmlrpc/client"
server = XMLRPC::Client.new("gentooexperimental.org", "/RPC2", "8888")
print server.call("getPackage", "rhapsody")
print server.call("getMaintainer", "games")
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Thu May 26, 2005 11:46 pm    Post subject: Reply with quote

New version written from scratch:

http://dev.gentoo.org/~pythonhead/scripts/meatoo-0.0.4

It doesn't support -b yet (using bumper to bump a package version).

If you want to implement your own client using XML-RPC, look at the send_request function for a list of methods you can use. They all return a nested list of 10 strings (see constants PN, PV etc.)
Back to top
View user's profile Send private message
Pythonhead
Developer
Developer


Joined: 16 Dec 2002
Posts: 1801
Location: Redondo Beach, Republic of Calif.

PostPosted: Tue Jun 21, 2005 6:13 pm    Post subject: Reply with quote

Please update to 0.0.6
http://dev.gentoo.org/~pythonhead/scripts/meatoo-0.0.6
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software 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