Necoro’s Blog

Blog? Blog? There is no blog…

Posts Tagged ‘Portato

Portato 0.14.1 released

leave a comment »

Well … it probably won’t hurt to announce it here too:

Because of some API-changes in portage, I had to release a bugfix release for portato. And well … it is called 0.14.1 as you might have guessed :P

At the moment I am not developing portato actively. This is partly due to lack of time and partly due to lack of interest. The latter one is especially created by the fast-changing portage (which is in itself a nice thing), where I can’t keep step with w/o needing to spend tons of time in it.

Written by Necoro

September 8, 2010 at 22:37

Posted in Gentoo, Portato

Tagged with ,

Portato 0.14 released

leave a comment »

“Was lange währt, wird gut” is the German saying (the dictionary tells me “Good things come to those who wait.” is the English translation) — hopefully this applies for this version of Portato too.

The changes:

  • NEW: allow eix as backend DB
  • NEW: show the list of world packages
  • NEW: allow to search descriptions
  • NEW: add an icon to signal the ‘best’ version for a package
  • CHANGE: use an internal messagequeue module instead of external shm
  • FIX: bugmail sending
  • I18N: Italian translation – thanks to Ponsi
  • I18N: French translation – thanks to Clément ‘moonpyk’ Bourgeois

Personally, I find the addition of the eix-backend the most important improvement. This now allows fast startup and fast searching. Additionally the long awaitened feature of searching descriptions is only possible here (implementing it with other backends would make the startup sloooooooow).

So – let’s hope that the bugs are on vacation. :) — And a big thanks to idl0r for adding it to the portage tree in no time.

Written by Necoro

May 12, 2010 at 00:41

Posted in Gentoo, Portato

Tagged with ,

Portato’s homepage moved to own server

leave a comment »

Up until now, the web home for Portato was at http://portato.origo.ethz.ch — but although the Origo-platform was promising during the start (and has been a nice alternative to Sourceforge), several problems appeared (I won’t repeat them here, as I already wrote about them in this post).

I started to look for a new home, but could not find a pre-hosted solution. Thus (and as I happened to have rented a virtual server) I decided to host it on my own. So I was able to use the software I liked etc. Well … finding the ‘right’ software was not as easy as I thought ^^… I am now settled with running web.py as the web framework and Mako. But, as I’m only serving more or less static sites, getting rid of web.py and using some tool to generate static pages from the mako templates is also a nice idea… Perhaps I’ll do something in this direction later (if I find a nice tool doing all the work :P).

Oh – btw: The new home for portato is: http://necoro.eu/portato – bugs are going to be hosted on launchpad (this is no final decision either) … and I decided, that there is no need for a wiki.

Written by Necoro

April 9, 2010 at 00:50

Posted in Portato

Tagged with , , , , ,

Portato moving to Git – Part II

leave a comment »

I now found some time to finalize the move from bzr to git. Hence now it can be considered official and the old bazaar branches are deprecated.

You can find the portato code and the overlay at github:

As Launchpad offers a git-import service (which is quite nice), the master branch is mirrored there and can still be accessed via lp:portato using bzr.

I announced in the following places … hopefully I haven’t forgotten an important one:

  • Both threads in the Gentoo forums.
  • Launchpad page.
  • Origo Development Page.

Written by Necoro

October 24, 2009 at 00:19

Posted in Portato

Tagged with , ,

Portato moving to git — Part I

leave a comment »

So — as announced in my previous post, I started moving to git. You can find the current git repository at Github: http://github.com/Necoro/portato

Note: This move is not yet “official”. I have to test first, if I get completely used with git. And then I have to find a hosting platform (github was chosen, because I have an account there already) :). Or perhaps, I am going to host it myself … dunno.

Written by Necoro

October 5, 2009 at 20:34

Posted in Portato

Tagged with ,

Portato 0.13 released

leave a comment »

So — there it is: the new Portato release :)

Changelog is here.

Feel free to use it — it still waits for inclusion in the portage tree, but this will happen in the next future, I’m sure.

Written by Necoro

August 26, 2009 at 12:24

Posted in Portato

Tagged with ,

Portato’s new C-Modules

leave a comment »

As I’ve written yesterday I created an eix cache parser. But … it was overengineered: It took like ages and was way slower than the normal portage way:


$ python -m timeit "import test; test.eix()"
10 loops, best of 3: 3.18 sec per loop
$ python -m timeit "import test; test.portage()"
10 loops, best of 3: 280 msec per loop

Thus I had to improve it: The first thing was to re-implement it using Cython. And step after step I ripped out features (in the original approach, the parser was lazy, i.e. only reading data if he needed to do so) and trimmed it down to what I really needed (opposed to being complete). Oh – and some C-level improvements :) (like using | instead of +).

Well: This is where I ended:

$ python -m timeit "import test; test.eix()"
10 loops, best of 3: 56 msec per loop

Now it is usable :)

Well — and while testing the new eix parser, I noticed, that Portato segfaults sometimes during shutdown. I thought the shm module the culprit and thus replaced the external dependency by a self-written module (again in Cython). And this also now uses message queues instead of shared memory — which is more intuitive and easier (no stupid locks and stuff). Seems to work up to now :)

Result: In the future, portato ships with C-Modules :) (hence the title

Written by Necoro

August 15, 2009 at 13:38

Posted in Portato, Python

Tagged with , , , , ,