namespaces, in order to do this I had to change the way objects are retrieved:
instead of getting them from the DSA I now walk the package tree, small change
in apigen.py: to allow re-using the get_documentable_items function I split it
up in a generic and a specific part.
--HG--
branch : trunk
provided in the exportdefs, copied to the namespaces (from whereever they
come), and added docstrings to all exposed namespaces (except for _thread for
now).
--HG--
branch : trunk
intended at this point:
* HostManager and HostRSync are now acting
more locally, also easier to test.
* HostInfo deals with setting up gateways now
* HostManager, HostRSync and HostInfo are
all tested now in test_hostmanage.py
(and do not involve a full startup of RSessions)
* for rsyncing, the original directory structure
(relative to config.topdir) is preserved on the
other side, this makes "dist_rsync_roots" relatively
clean now (but it doesn't pick up things on the fly,
only initialises at the beginning)
* added lots of tests
* removed more occurences of pkgdir
* streamlined and simplified some tests
* removed lots of tests that do not appear to test
specifically enough (and caused trouble for
the refactoring)
* removed lots of (but not all, i guess) test-specific
functionality in hostmanage.py and a bit in rsession.py
* removed HostOptions() in favour of rather directly
accessing config values
--HG--
branch : trunk
the .lock, otherwise the other processes run the risk of seeing their temporary
dir disappear. For now we remove the .lock in the parent only (i.e. we assume
that the children finish before the parent).
This is needed for long-running pypy translate.py processes using
--fork-before.
--HG--
branch : trunk
moved to the classes in the H namespace. This hopefully (when done, more can
definitely be done later) seperates the HTML generation better from the
presentation-related code.
--HG--
branch : trunk
a seperate stylesheet. Cleaned up the stylesheet and script handling a bit:
stylesheets and scripts are now defined in the LayoutPage class (where they're
easily customizable). Also removed some old unused code and moved the H class
(html related) stuff to its own file. The idea is that this will become the
place where all the layout is defined.
--HG--
branch : trunk
problems with your making Channel's public: you didn't import
it (py.__.* is not lazy) and it fails the apigen tests even
after fixing it.
--HG--
branch : trunk
from the sendqueue, then trigger the queue
to shutdown. (This is an attempt to get
rid of the still appearing "exception in thread"
messages)
--HG--
branch : trunk