crunch/incubator — Issue #82: Separate library and workspace
Author: KingCrunch
Created: 2012-01-21 23:36:39+00:00
State: open
Labels: Enhancement

Currently `State` handles both the packages/the content of the packages and install/remove. The next step is to separate both task, which means

* `State` will only save and handle packages
* `Workspace` will handle install and remove of packages it receives from the `State`. This includes a new meta-file `.crunch-workspace` in the root of the workspace itself. This file describes the current state of the workspace

{
"library": "/path/to/library",
"installed": {
"xy": "1.2"
}
}

* The library database will not keep track of the dependencies anymore. This is done within the application now.