aboutsummaryrefslogtreecommitdiffstats
path: root/libbe/command/init.py
Commit message (Collapse)AuthorAgeFilesLines
* Ran update-copyright.py.W. Trevor King2012-10-161-1/+1
|
* Rewrite commands to use bugdirs instead of a single bugdir.W. Trevor King2012-08-291-1/+1
| | | | | | | The bulk of the work is in regard to XML, with new BugDir.xml and .from_xml methods to support the new <bugdir> entity. I also split the guts import_xml's ._run method into sub-methods to make the import logic more obvious.
* Ran update-copyright.py.W. Trevor King2012-02-161-10/+10
|
* Run update_copyright.py.W. Trevor King2011-05-251-0/+1
|
* Bumped to version 1.0.01.0.0Chris Ball2011-01-081-1/+1
|
* Ran update_copyright.pyW. Trevor King2010-06-221-12/+13
|
* Init should tell the UI about its connected storage and bugdir.W. Trevor King2010-01-231-0/+2
|
* Minor cleanups + remove debuging line in Init doctestW. Trevor King2010-01-221-1/+0
|
* Reworked settings_object module, but command.init tests still fail:W. Trevor King2010-01-221-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | $ python test.py libbe.command.init Doctest: libbe.command.init.Init ... FAIL ... ----------------------- File ".../libbe/command/init.py", line 47, in libbe.command.init.Init Failed example: ui.run(cmd) Exception raised: Traceback (most recent call last): ... File "/tmp/be.wtk/libbe/command/init.py", line 97, in _run bd = libbe.bugdir.BugDir(storage, from_storage=False) File "/tmp/be.wtk/libbe/bugdir.py", line 185, in __init__ self.save() File "/tmp/be.wtk/libbe/bugdir.py", line 228, in save self.save_settings() File "/tmp/be.wtk/libbe/bugdir.py", line 204, in save_settings mf = mapfile.generate(self._get_saved_settings()) File "/tmp/be.wtk/libbe/storage/util/settings_object.py", line 230, in _get_saved_settings self, self._setting_name_to_attr_name(k)) File "/tmp/be.wtk/libbe/storage/util/properties.py", line 194, in _fget value = fget(self) File "/tmp/be.wtk/libbe/storage/util/properties.py", line 329, in _fget primer(self) File "/tmp/be.wtk/libbe/storage/util/settings_object.py", line 69, in prop_load_settings self.load_settings() File "/tmp/be.wtk/libbe/bugdir.py", line 194, in load_settings self.settings = mapfile.parse(settings_mapfile) File "/tmp/be.wtk/libbe/storage/util/mapfile.py", line 123, in parse c = yaml.load(contents) ... File "/usr/lib/python2.6/site-packages/yaml/reader.py", line 213, in update_raw data = self.stream.read(size) AttributeError: 'NoneType' object has no attribute 'read' ...
* Added tests to Init to check for empty settings fileW. Trevor King2010-01-221-1/+8
|
* Updated copyright informationW. Trevor King2010-01-011-1/+1
|
* Added UserInterface and other improved abstractions for command handlingW. Trevor King2009-12-311-8/+9
|
* Transitioned severity to Command-format, also added Command._get_*()W. Trevor King2009-12-141-4/+6
| | | | | | | | | | | | | | The old .requires_* thing was rediculous. The new ._get_*() callbacks allow the caller to provide a means for getting the expensive structures, which the command can use, or not, as required. This will also make it easier to implement the completion callbacks. The callbacks should probably have matching .set_*() methods, to avoid the current cache tweaking cmd._storage = ... etc. But that can wait for now...
* Transitioned comment to Command formatW. Trevor King2009-12-141-4/+4
|
* Transitioned init to Command formatW. Trevor King2009-12-141-67/+85
|
* Initial directory restructuring to clarify dependenciesW. Trevor King2009-12-071-0/+104