with the real world (through writing or creating
pytestcache-XXX files), semantic change: upon
gateway initialization the remote path is not
automatically created (this will be done later
by rsync anyway)
--HG--
branch : trunk
the source without the line numbers, decreased font size a bit, made that the
Page class can be passed in from the outside (build() method) to more easily
allow customization of the layout and pages.
--HG--
branch : trunk
have the other side chdir()ed to home,
thus generalizing 37971 with respect to platform
support and making it independent from gateway
implementation details.
--HG--
branch : trunk
code for re-scheduling (i guess)
fijal: in the diff you'll find a XXX fijal,
i changed the meaning of a test, wasn't sure
about it. can you check?
--HG--
branch : trunk
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
ssh-stdout-confusion tests involving "os.write(1, ...)"
were passing on earlier revisions: in 35888
a test name got fixed, but when you specify "-S somehost"
then this will hang, so i am skipping the test for
now, this never worked.
--HG--
branch : trunk
defensiveness, and made that the 'capture' object is passed over to the builder
instances (to help debugging, currently not used).
--HG--
branch : trunk
* unifying IO capturing methods
* py.io.StdCapture and py.io.StdCaptureFD
(and both have a classmethod 'call' that is
a shortcut for capturing output while
executing a function)
* removing lots of duplicate code
* providing some examples in py/doc/io.txt
at least tests on win32 and linux seem
to pass all for me.
--HG--
branch : trunk
to the original (patched) file descriptor. Also made that the capturing object
is passed to apigen.py's build() function (from rsession.py), which uses the
new methods to print progress information.
--HG--
branch : trunk
Gateway/Remote Path implementation code.
Also making it "py.__." importable but
not advertising it for 0.9 at all.
It's an interesting feature for 1.0 :)
--HG--
branch : trunk
Thanks ghazel. I fixed this by directly capturing ts_current in a local
variable instead of reloading it. I also reviewed the code a bit and
found another place where ts_current could be used out of date.
--HG--
branch : trunk
should kill unnecessary frames. Right now tracing is done only for
py.test.Function objects, I don't know what to do with sth else, let's
leave it alone.
--HG--
branch : trunk
passed into htmlgen.deindent() actually have
a normalized '\n' line-ending already (e.g. if they
come from python docstrings). So the caller
now needs to specify otherwise.
--HG--
branch : trunk
out of HTMLDocument and added support for finding out the encoding of a Python
file in order to accomplish that (both in source/html.py), fixed some minor
issues (items with a name starting with _ are now hidden from nav, fixed
indentation issue in nav) in htmlgen.py.
--HG--
branch : trunk
function in docstorage.py and using that from apigen.py (to later simplify
py.test integration, and to improve testability). Simplified 'deindent()' a
bit, made the wrap_page use the filenames from the stylesheeturl and the
scripturls instead of having them hard-coded, some minor HTML/CSS changes.
--HG--
branch : trunk
* added some tests for implied and conflicting options
* make all Session objects inherit from the base session
* small cleanups with respect to test setup
* separate tests a bit
--HG--
branch : trunk
when run as part of the whole py lib tests,
succeeds when ran as a single test.
Pruning sys.modules fixes this (but i am
not sure why the tracer depends on seeing
the import happen)
--HG--
branch : trunk
Cleaned up the tests a bit and re-enabled some (sucky tests are better than
no tests at all, I guess... :| ), re-enabled a debug print after complaints
from cfbolz ;) but this time it prints to stderr (to avoid ReST pollution).
--HG--
branch : trunk
var (finally! :), changed the api nav so it now shows the full tree with the
current item unfolded + siblings of itself and all parents (+ children if it's
a namespace item).
--HG--
branch : trunk
that build_namespace_view isn't called for anything but namespaces anymore,
made that parts of documents are hidden at first (with a link to 'open' them).
--HG--
branch : trunk
of most of the pkgdir and changed to use get_collector_trail.
Some tests need to be rewritten or killed, right now they're skips.
There are no checks (yet) whether this works with topdir being something
else than previous pkgdir, we'll see...
--HG--
branch : trunk
revisions 36936 to 37267:
------------------------------------------------------------------------
r36986 | fijal | 2007-01-19 13:05:58 +0100 (Fri, 19 Jan 2007) | 4 lines
Improve the behaviour off cleanup and channel closing, at least on slave side.
Some cleanups, got rid of some hacks (in favor of other hacks, but posix
is a bit hackish anyway)
------------------------------------------------------------------------
r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines
at least LSession should work now. Did not touched yet the remote options stuff,
but some simplifications were done.
------------------------------------------------------------------------
r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines
Create a branch for further config cleanups.
------------------------------------------------------------------------
--HG--
branch : trunk
revisions 36936 to 37267:
------------------------------------------------------------------------
r37262 | hpk | 2007-01-24 14:55:00 +0100 (Wed, 24 Jan 2007) | 2 lines
fix failing test
------------------------------------------------------------------------
r37015 | fijal | 2007-01-19 17:24:32 +0100 (Fri, 19 Jan 2007) | 2 lines
Major cleanup of hostmanage. Got rid of global functions in favor of some better-structured classes.
------------------------------------------------------------------------
r36974 | fijal | 2007-01-18 22:32:04 +0100 (Thu, 18 Jan 2007) | 2 lines
Fix the test to actually perform RSync of pylib itself and a test if that was true.
------------------------------------------------------------------------
r36970 | hpk | 2007-01-18 20:33:16 +0100 (Thu, 18 Jan 2007) | 6 lines
some little cleanups - getting rid of we_are_remote
which is not used anywhere as far as i can see.
maciej: please check that i didn't mess anything
up, but for me the same tests as before pass
------------------------------------------------------------------------
r36968 | hpk | 2007-01-18 20:00:21 +0100 (Thu, 18 Jan 2007) | 2 lines
fixing some imports
------------------------------------------------------------------------
r36966 | fijal | 2007-01-18 19:36:02 +0100 (Thu, 18 Jan 2007) | 2 lines
Add try: finally:
------------------------------------------------------------------------
r36965 | fijal | 2007-01-18 19:35:00 +0100 (Thu, 18 Jan 2007) | 2 lines
Fix the test.
------------------------------------------------------------------------
r36963 | fijal | 2007-01-18 19:21:43 +0100 (Thu, 18 Jan 2007) | 2 lines
Fix remaining tests and make strange hack with parse/reparse.
------------------------------------------------------------------------
r36962 | fijal | 2007-01-18 19:06:13 +0100 (Thu, 18 Jan 2007) | 3 lines
Huge refactoring. Got rid of remote_options and session_options, two tests
still fail, so it's intermediate checkin.
------------------------------------------------------------------------
r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines
at least LSession should work now. Did not touched yet the remote options stuff,
but some simplifications were done.
------------------------------------------------------------------------
r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines
Create a branch for further config cleanups.
------------------------------------------------------------------------
--HG--
branch : trunk
revisions 36936 to 37267:
------------------------------------------------------------------------
r37020 | hpk | 2007-01-19 17:48:15 +0100 (Fri, 19 Jan 2007) | 3 lines
switching in the new way of getting to a sessionclass,
removing code in cmdline.py and elsewhere accordingly
------------------------------------------------------------------------
r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines
Create a branch for further config cleanups.
------------------------------------------------------------------------
--HG--
branch : trunk
revisions 36936 to 37267:
------------------------------------------------------------------------
r37065 | arigo | 2007-01-20 17:15:10 +0100 (Sat, 20 Jan 2007) | 3 lines
Choose a random free port when using the --runbrowser option,
but stick to the fixed 8000 when using --startserver only.
------------------------------------------------------------------------
r36993 | fijal | 2007-01-19 14:54:25 +0100 (Fri, 19 Jan 2007) | 2 lines
Add possibility to scroll or not to scroll to web frontend. This checkin makes me believe that there is lot of stuff to do in JS backend.
------------------------------------------------------------------------
r36955 | hpk | 2007-01-18 17:44:21 +0100 (Thu, 18 Jan 2007) | 4 lines
some mods to defaultconfest dist options
and use "_dist_import_pypy", i.e. a leading underscore
at least
------------------------------------------------------------------------
r36943 | fijal | 2007-01-18 16:09:30 +0100 (Thu, 18 Jan 2007) | 3 lines
at least LSession should work now. Did not touched yet the remote options stuff,
but some simplifications were done.
------------------------------------------------------------------------
r36937 | fijal | 2007-01-18 14:22:54 +0100 (Thu, 18 Jan 2007) | 2 lines
Create a branch for further config cleanups.
------------------------------------------------------------------------
--HG--
branch : trunk