lp:~zyga/lava-core/commands-pkg

Created by Zygmunt Krynicki and last modified
Get this branch:
bzr branch lp:~zyga/lava-core/commands-pkg
Only Zygmunt Krynicki can upload to this branch. If you are Zygmunt Krynicki please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Zygmunt Krynicki
Project:
LAVA Core (deprected)
Status:
Merged

Recent revisions

14. By Zygmunt Krynicki

Add unit tests for Command class

13. By Zygmunt Krynicki

Clarify how ^L is used in Command docstring

12. By Zygmunt Krynicki

(sequence error) Don't import workspace yet

11. By Zygmunt Krynicki

Add lava.core.commands and CommandError to lava.core.errors

The commands package (which actually has interesting code in __init__.py) is
going to be used as a root for all the top-level command groups that lava ships
with.

Most of the code here comes from lava-core but has been sufficiently modified
from the original. Among the changes are improved logging, debugging and
history tracking support (some of which is scheduled in another, separate patch
to simplify code review). The same core concepts remain: lava uses Commands to
express users' intent to do something, keeps all commands in one of several
CommandGroup so that related commands appear together (for example, `lava
scenario check`, `lava scenario run`) and uses the Dispatcher (which is
confusingly overloaded to mean the old test scenario runner from
lp:lava-dispatcher and the equally old command runner from lp:lava-tool) to
glue everything together. The dispatcher also has a run() method that is
something you may want to call from main()-like function to implement a command
line program.

It's worth noting that in LAVA all command groups are pluggable (so any third
party extension can add more commands using the lava.core.plugins system). All
commands and command groups have to be enumerated in setup.py's entry_points
section. Subsequent patches will provide a few basic lava commands to
illustrate this.

10. By Zygmunt Krynicki

Infrastructure for programming interfaces

9. By Zygmunt Krynicki

Infrastructure for plugins

8. By Zygmunt Krynicki

Infrastructure for history and logging

7. By Zygmunt Krynicki

Add stub Environment class

Environment is a json-document Document that wraps the entire lava
configuration. Subsequent patches will add more functionality, as needed by
other parts of core. Note: this environment will eventually replace
settings.conf from lava-server.

6. By Zygmunt Krynicki

Add project support files

This is the basic set of files: setup.py, MANIFEST.in, some text files, and the
basic package structure. I've left out HACKING as I want to do some editiong on
the contents.

5. By Zygmunt Krynicki

Add COPYING.GPL3 with the text of GPL3

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:lava-core
This branch contains Public information 
Everyone can see this information.

Subscribers