Lance Edgar
f421cc0718
Replace test engine URL with one supported by standard library.
2014-02-15 16:36:35 -08:00
Lance Edgar
4d9834421d
Add fixture as test dependency.
2014-02-15 16:26:18 -08:00
Lance Edgar
177478f7d0
Database config/init overhaul.
...
This contains some not-very-atomic changes:
* Get rid of `get_session_class()` function and return to global `Session`
class approach.
* Primary database `Session` is now configured as part of command
initialization, by default.
* Make `config` object available to subcommands, and `Daemon` instances
(the beginning of the end for `edbob.config`!).
* Add `--stdout` and `--stderr` arguments to primary `Command`. These are
in turn made available to subcommands.
* Overhauled some subcommand logic per new patterns.
* Get rid of a few other random references to `edbob`.
* Added and improved several tests.
* Added ability to run tests using arbitrary database engine.
2014-02-15 16:13:39 -08:00
Lance Edgar
5f6af4019f
Don't include changelog in project description.
2014-02-15 11:51:09 -08:00
Lance Edgar
d28dbc55ff
Add SQLAlchemy to core dependencies.
2014-02-12 06:13:55 -08:00
Lance Edgar
6e229b3f87
Remove unused import.
2014-02-09 22:25:57 -08:00
Lance Edgar
4077e80381
Add basic tests for command classes.
2014-02-09 22:24:28 -08:00
Lance Edgar
30f6c8de2f
Clean up Command
and Subcommand
a bit.
...
Add `stdout` and `stderr` attributes; inherit directly from `object`.
2014-02-09 21:55:48 -08:00
Lance Edgar
8d0632bedc
Define Command
and Subcommand
classes.
...
These are (finally) no longer borrowed from `edbob`, yay.
2014-02-09 12:40:24 -08:00
Lance Edgar
b4da524602
update changelog
2014-01-30 09:26:23 -08:00
Lance Edgar
ffd5db6ed1
Add util.load_entry_points()
.
2014-01-28 21:50:56 -08:00
Lance Edgar
67da0aa476
Populate rattail.db.model.__all__
dynamically.
2014-01-28 21:43:52 -08:00
Lance Edgar
a2ccc295fc
update changelog
2014-01-27 23:24:47 -08:00
Lance Edgar
0c13de51b8
Add SQLAlchemy engine poolclass awareness to config file.
2014-01-27 23:23:16 -08:00
Lance Edgar
e726f08467
update changelog
2014-01-27 20:07:34 -08:00
Lance Edgar
148968ba09
Add tests
requirements.
2014-01-26 20:05:19 -08:00
Lance Edgar
a895bd3339
Remove orphaned rattail.db.extension.model
module.
2014-01-26 19:01:59 -08:00
Lance Edgar
fc67f22739
Fix test for Python 2.6.
2014-01-26 18:53:22 -08:00
Lance Edgar
22cd6d062e
Make rattail.db.model
the true home for all models.
2014-01-26 18:48:16 -08:00
Lance Edgar
27d1fea2e0
Fix (remove) some references to rattail.db.extension.model
.
2014-01-26 18:48:16 -08:00
Lance Edgar
1c7280b0da
Handle keyboard interrupt when running dbsync on Linux console.
2014-01-26 18:46:37 -08:00
Lance Edgar
5f6e700dd4
Dont auto-import core
and changes
from rattail.db
.
2014-01-26 14:58:11 -08:00
Lance Edgar
d29b53e491
Add getset_factory()
to rattail.db.core
.
2014-01-26 14:56:53 -08:00
Lance Edgar
23ee011f04
Make get_sync_engines()
require a config object.
2014-01-26 14:55:47 -08:00
Lance Edgar
3124a9a81f
Remove reference to Batch.iter_rows()
.
2014-01-26 14:53:24 -08:00
Lance Edgar
8004bb5315
Fix ignoring of SQLAlchemy warning for tests.
2014-01-26 14:51:55 -08:00
Lance Edgar
37925f5704
Fix header/license in random module.
2014-01-26 14:50:03 -08:00
Lance Edgar
20807fbd78
update changelog
2014-01-25 23:58:48 -08:00
Lance Edgar
3209d70f2d
Merge branch 'filemon'
2014-01-25 23:39:05 -08:00
Lance Edgar
73aa63fa59
Fix docs.
2014-01-25 23:29:41 -08:00
Lance Edgar
a2b13de31c
Ignore SQLAlchemy's warnings about SQLite decimal storage when running tests.
2014-01-25 23:19:18 -08:00
Lance Edgar
c7413948e4
Allow Windows file monitor installation with custom user account.
2014-01-25 22:23:31 -08:00
Lance Edgar
8a7f9ee012
Merge branch 'make-user'
2014-01-25 15:56:42 -08:00
Lance Edgar
21ec9d16a9
update changelog
2014-01-25 15:55:51 -08:00
Lance Edgar
1b20133af8
Improve make-user
command somewhat.
...
Allow username etc. to be overridden; add sanity check if running on
platform other than win32.
2014-01-25 15:48:16 -08:00
Lance Edgar
c1cfe06b1c
Merge branch 'bugfix'
2014-01-24 12:54:37 -08:00
Lance Edgar
1d67942728
update changelog
2014-01-24 12:54:00 -08:00
Lance Edgar
d073eec662
Fix ChangeRecorder.is_deletable_orphan()
for SQLAlchemy 0.7.
...
Apparently `Mapper.relationships` is not available until SQLAlchemy 0.8 and
later...
2014-01-24 12:51:58 -08:00
Lance Edgar
9b254c9d71
Merge branch 'orphans'
...
Conflicts:
tests/db/test_changes.py
2014-01-24 12:09:30 -08:00
Lance Edgar
4c9fad7285
update changelog
2014-01-24 12:06:37 -08:00
Lance Edgar
a580c0fca1
Add "deletable orphan" awareness when recording changes.
...
Turns out there was a long-standing bug where orphans which were deleted
from the host would be marked as "changed" (instead of deleted), causing
the store databases to keep the orphan.
2014-01-24 11:54:29 -08:00
Lance Edgar
971b3f15af
Add deleted
attribute to repr(Change)
.
2014-01-24 11:52:47 -08:00
Lance Edgar
4d8f0967c2
fix tests
2014-01-08 20:00:49 -08:00
Lance Edgar
8fc877d826
break tests for buildbot
2014-01-08 19:52:55 -08:00
Lance Edgar
5c4139b5a0
break tests for buildbot
2014-01-08 19:51:22 -08:00
Lance Edgar
e38563867c
break tests for buildbot
2014-01-08 19:43:30 -08:00
Lance Edgar
6ca117c98c
break tests for buildbot
2014-01-08 18:39:05 -08:00
Lance Edgar
e751fa564f
break tests for buildbot
2014-01-08 18:34:22 -08:00
Lance Edgar
6502c23891
Merge branch 'mail'
2014-01-04 10:45:57 -08:00
Lance Edgar
0206690e93
update changelog
2014-01-04 10:45:24 -08:00