Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rework CachedRepo to use the GitDirectory class where possible | Sam Thursfield | 2014-12-03 | 1 | -2/+4 |
| | | | | | | | | | | | | | This consolidates a bunch of code paths that were previously duplicated. This also changes the API for local cached repos to match the function names GitDirectory uses. Note that the remote repo cache still uses the old names, and should be fixed when time permits. Some unit tests that use the CachedRepo module required a bit of inelegant monkey-patching in order that they continue to work. A better way to do this would be with the 'mock' library (which would need to be added to Baserock 'build' and 'devel' systems before we could use it). | ||||
* | Separate resolution of ref->commit and commit->tree | Sam Thursfield | 2014-12-02 | 1 | -7/+15 |
| | |||||
* | Add docstring to SourceResolver class. | Sam Thursfield | 2014-11-10 | 1 | -1/+22 |
| | |||||
* | Set the 'update' flag in the SourceResolver constructor | Sam Thursfield | 2014-11-10 | 1 | -12/+14 |
| | |||||
* | Move create_source_pool code into new 'sourceresolver' module | Sam Thursfield | 2014-11-10 | 1 | -0/+176 |
This code is an essential part of 'morph build'. It's quite complex and really shouldn't be mixed in with the base Application class. Given a dedicated class we can store some state in the object and avoid functions with seven parameters, too. |