Pythonhead's blog 2005-11-15T23:13:47+00:00 Rob Cakebread http://dev.gentoo.org/~pythonhead/blog Eggsellent news. Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-11-15T22_01_26.html 2005-11-15T22:01:26+00:00 2005-11-15T22:01:26+00:00 2005-11-15T22:01:26+00:00 I've been working on setuptools a.k.a. eggs for Portage. A couple of apps that only work with eggs seemed like a good way to start, so here's <a href="http://www.turbogears.org/">TurboGears</a> and <a href="http://www.djangoproject.com">Django</a> (live svn/eggs ebuild) for testing: <br> <br> * Checkout the overlay directory from svn <br> <pre>svn co http://eggs.gentooexperimental.org/svn/trunk/overlay eggsoverlay</pre> <br> * Add eggsoverlay directory to PORTDIR_OVERLAY in /etc/make.conf <br> <pre>emerge turbogears</pre> <br> <pre>emerge django-svn</pre> <br> You'll probably want to emerge those with '-pv' so you can see what database backends are available. <br> Bug reports goto <a href='http://eggs.gentooexperimental.org'>trac</a> until we get this in portage. Save the Planet Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-08-25T05_50_27.html 2005-08-25T05:50:27+00:00 2005-08-25T05:50:27+00:00 2005-08-25T05:50:27+00:00 <p>Our Planet's fearless leader, <a href="http://www.reactivated.net/weblog">dsd</a>, put out a call for a <a href="http://thread.gmane.org/gmane.linux.gentoo.devel/30449">new and improved</a> Planet Gentoo. </p><p> I came up with a solution that uses the existing Planet code and its templating system with <a href='http://cherrypy.org/'>CherryPy</a> and <a href='http://sqlobject.org/'>SQLObject</a>. You can search old entries and browse by herd.</p> <p> My project hasn't been officially approved for Planet Gentoo, but if you'd like to help out, I have a <a href="http://planetplus.python-hosting.com/">trac project</a> set up. Non-Gentoo developers are welcome to join in. The code is generic and works with any existing Planet, not just Planet Gentoo. </p> <p> Here is the <a href="http://gentooexperimental.org:9898/">demo site</a> (hackergucci photo-thingies included).</p> Meatoo updates Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-06-21T17_49_20.html 2005-06-21T17:49:20+00:00 2005-06-21T17:49:20+00:00 2005-06-21T17:49:20+00:00 I've re-done the website for <a href="http://gentooexperimental.org/meatoo">Meatoo</a> using <a href="http://cherrypy.org">CherryPy</a> and <a href="http://cheetahtemplate.org">Cheetah</a>. (It was using <a href="http://rubyonrails.org">Rails</a>). <br><br> If you're using the command-line client, please update to <a href="http://dev.gentoo.org/~pythonhead/scripts/meatoo-0.0.5">0.0.5</a>. The xml-rpc server's address has changed but there are no new features for the CLI. <br><br> I've added RSS feeds for Meatoo but I'm not too sure I've done them correctly. The main feed is updated every 12 hours when Freshmeat updates their XML file and should work fine with most RSS readers, I hope: <br><br> http://gentooexperimental.org/meatoo/static/meatoo.xml <br><br> You can also subscribe by herd or maintainer email address, but these feeds are generated dynamically. I have no clue if this could pose a problem for some readers, but it works for me in Thunderbird and Pears. Use it like so: <br><br> http://gentooexperimental.org/meatoo/rss?herd=games<br> http://gentooexperimental.org/meatoo/rss?herd=whoever@gentoo.org <br><br> Rails is nice but I was spending too much time trying to figure out how to hack together a mail registration/authorization system. Since there is no mail server on gentooexperimental I hacked something up with nbsmtp and a gmail account. I'll open that up after some testing tommorow.<br><br>If you already know Python, getting started with <a href="http://cherrypy.org">CherryPy</a> is dead simple. Meatoo command-line client Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-05-26T23_57_48.html 2005-05-26T23:57:48+00:00 2005-05-26T23:57:48+00:00 2005-05-26T23:57:48+00:00 Heres a command-line <a href="http://dev.gentoo.org/~pythonhead/scripts/meatoo-0.0.4">client</a> for the <a href="http://gentooexperimental.org/meatoo">Meatoo</a> database. <br><br> It uses XML-RPC and should be simple enough to look at the Python code if you want to write your own in another language. Each method returns a nested list of 10 strings per package. <br><br> Heres a simple Ruby client to call the getPackage method: <br><br> <code> require "xmlrpc/client"<br> server = XMLRPC::Client.new("gentooexperimental.org", "/RPC2", "8888")<br> print server.call("getPackage", "prboom")<br> </code> <br> Look at send_request in the Python client for a list of other methods you can call. Trustee Elections Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-05-07T00_20_24.html 2005-05-07T00:20:24+00:00 2005-05-07T00:20:24+00:00 2005-05-07T00:20:24+00:00 Its election time and frankly I haven't got a clue who to vote for. A few trustees nominating themselves for election have listed what they have done, which is great, but we're still clueless about what the Foundation has been doing as a whole or voting on because the mailing list archive hasn't been made public. Could someone at least tell us what the 12 month hold-up has been? Maybe someone can help get us that archive before elections are over. <br><br> Thank you <a href='http://dev.gentoo.org/~swift/blog/articles/20050506-foundation.html'>Sven</a> for being the first current trustee to really speak up. Lets hope you've started a trend. <br><br> A lot of you nominating yourselves are saying something like "I won't say much because most of you know me". We have hundreds of developers now and I think I can safely say most of us don't know each other. For some bizarre reason I think I can name what text editors and desktop enviroments a lot of you use, but I couldn't tell you much else, and I really don't want to base my vote on that. So please speak up and we'll have more informed voters. Tell us what you'd like to see changed and what role you'd like to take. wxWidgets Help Wanted Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-05-05T20_25_41.html 2005-05-05T20:25:41+00:00 2005-05-05T20:25:41+00:00 2005-05-05T20:25:41+00:00 If any developers out there are just not having any luck finding enough work to do we have a few seats left in the wxWidgets (formerly known as wxWindows, thanks for "suggesting" we pick a new name, Microsoft!) herd.<br><br> wxGTK-2.6.0 is in portage and I'd love to get wxMacOS in now. If there are any Mac people out there who can come up with an ebuild and test it (I don't have a Mac), it'd be great. <br><br> wxGTK has been retrofitted with SLOTs for 2.4 and 2.6. wxPython is now also slotted and we're the first distribution (I think) to use the new <a href="http://wiki.wxpython.org/index.cgi/MultiVersionInstalls">MultiVersionInstalls</a>.<br><br> There is no official 2.4.2.4 release of wxPython available upstream that works with MultiVersions but I've modified Gentoo's to use wxversion.<br> Thanks Diego a.k.a. flameeyes for the new wxlib eclass and preparing the way for wxMac (and wxMotif/wxX11?). And thanks always to the users who have helped find and fix problems in wxEverything. Meatoo Grew Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-04-03T20_01_48.html 2005-04-03T20:01:48+00:00 2005-04-03T20:01:48+00:00 2005-04-03T20:01:48+00:00 <a href="http://gentooexperimental.org/meatoo/package/list">meatoo</a> is now fully indexed against the entire freshmeat database, not just the last few days. In addition to searching by herd and maintainer, I added package name and Gentoo category search options. <br> There are approximately 3000 packages in portage mapped against freshmeat projects by name. This is all done automatically, so there will be many false positives, i.e.: <br><br> app-misc/nut => http://freshmeat.net/projects/nut/ <br><br> instead of:<br><br> app-misc/nut => http://freshmeat.net/projects/networkupstools/ <br><br> For names that match but are the wrong package, I've implemented a voting system so people who register can re-map portage names to freshmeat project names. Now all I need to do is get someone at <a href="http://gentooexperimental.org">gentooexperimental</a> to setup an email server so you can actually signup... PSOD? Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-04-01T21_00_34.html 2005-04-01T21:00:34+00:00 2005-04-01T21:00:34+00:00 2005-04-01T21:00:34+00:00 Ok, geNToo is really cool, but did we really need a <a href="http://gentooexperimental.org/~pythonhead/screenshot.png">PSOD</a>? meatoo by herd Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-03-30T08_14_55.html 2005-03-30T08:14:55+00:00 2005-03-30T08:14:55+00:00 2005-03-30T08:14:55+00:00 The <a href="http://gentooexperimental.org/meatoo/package/list">meatoo site</a> is now updated daily via cron and is searchable by herd or maintainer. <br> <br> If theres enough interest, I'll add a subscription option so you can be mailed new package release info for all packages in your herd(s), favorite packages, etc. <br> <br> Thanks to patrick/bonsaikitten/Patrick Lauer and any other name he goes by for letting me host meatoo on <a href='http://gentooexperimental.org/content'>gentooexperimental</a>. Its not purple. Yet. Rob Cakebread http://dev.gentoo.org/~pythonhead/blog/archives/2005-03-25T21_07_50.html 2005-03-25T21:07:50+00:00 2005-03-25T21:07:50+00:00 2005-03-25T21:07:50+00:00 Here's the <a href="http://gentooexperimental.org/meatoo">week</a> for meatoo so far. <br><br> Its not purple (yet) but I think you can see where <a href="http://gentooexperimental.org/script/repo/show/64">meatoo</a> is heading. <br><br> The newest version uses eix instead of equery so is a few hundred percent faster.