Archives for: February 2007

21 February, 2007

Permalink 13:47 UTC, by Marius Mauch Email , 43 words, 480 views   English (US)
Categories: Gentoo

As if we needed a confirmation ...

... that perl is evil I just noticed this in the output of my Manifest version checker:

dev-perl 666 :>

(= there are 666 packages in dev-perl) This also means that dev-perl is by far the category with the most packages, almost 300 more than the second-largest category dev-java.

11 February, 2007

Permalink 01:49 UTC, by Marius Mauch Email , 195 words, 610 views   English (US)
Categories: Gentoo, Portage

diet for portage/__init__.py

So, as I said earlier I've now moved the dbapi stuff into it's own subpackage, and portage/__init__.py (formerly portage.py) has now shrunk to 5k lines. However, that's still way too much for me, so I'll see what I can remove from it next, likely candidates are config() and/or doebuild stuff.
Hopefully at some point no module will have more than 1k lines, so things get managable again and we can start working again without getting lost in files that span hundreds of pages, and maybe even break some of teh larger functions/classes (config, fetch, treewalk, ...) down into smaller pieces. Now what's the point of breaking things up? Well, one thing is that the smaller a code block the easier it usually is to reuse it. Same for replacing it with something better. Also as I also have to determine what symbols each new module actually uses to rewrite the import statements it might also give us a better view on which symbols are actually used, the dependencies between modules and eventually give us a clue how to group them better (so that semantically related symbols are in the same namespace).

Marius Mauch

February 2007
Mon Tue Wed Thu Fri Sat Sun
<< < Current > >>
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28        

Search

Categories

Misc

XML Feeds

What is RSS?

Who's Online?

  • Guest Users: 107

powered by
b2evolution