lp:~zyga/lava-core/workspace
- Get this branch:
- bzr branch lp:~zyga/lava-core/workspace
Branch merges
- Linaro Validation Team: Pending requested
-
Diff: 367 lines (+340/-2)3 files modifiedlava/core/environment.py (+4/-2)
lava/core/tests/test_workspace.py (+198/-0)
lava/core/workspace.py (+138/-0)
Branch information
Recent revisions
- 15. By Zygmunt Krynicki
-
Add workspace module
Workspaces are a new concept in lava. They allow to bind shell commands to lava
configurataion. In practical terms they behave like git and bzr branches where
the tool works 'against' the locally defined configuration. This configuration
is kept in .lava directory, it is also searched for upwards toward the root
directory.The workspace class provides a few utility methods, among them to find and
create a worskpace and to access the environment from within a workspace. The
environment then allows various parts of lava to see all of the configuration
(which is in some way similar to the concept of a registry)There are some basic unit tests for several methods as well.
- 13. By Zygmunt Krynicki
-
Make environment.name optional
The workspace created by lava.core.
workspace. Workspace. create( ) does not have a
name field. Instead of adding a dummy default value there I think that name
should be optional. - 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:lava-core