Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Refactored localrepocache | Daniel Firth | 2013-12-20 | 1 | -35/+25 |
| | |||||
* | Avoid caching repos that are on the local machine anyway | Sam Thursfield | 2012-11-12 | 1 | -0/+5 |
| | | | | | Currently the message is still displayed "Updating xxx" but no update is actually done. | ||||
* | Use tarballs instead of bundles | Daniel Silverstone | 2012-09-25 | 1 | -8/+27 |
| | | | | | | | This makes a non-backward-compatible change to morph which switches it to using tarballs instead of bundles when initialising cached git repositories. This is faster because it doesn't require index-pack --fix-thin operations on the machine running morph. | ||||
* | Update unit tests for bare repo caches. | Daniel Silverstone | 2012-09-14 | 1 | -3/+3 |
| | | | | Update the unit tests so that they pass with the new bare repository caches. | ||||
* | python scripts: pep8ize codebase | Richard Maw | 2012-08-01 | 1 | -9/+8 |
| | | | | | | | | | This was done with the aid of the pep8 script, available by running `easy_install pep8`. It may be worth making this part of ./check, but that will require putting pep8 into the development tools stratum. This should be easy, given pep8 has no external dependencies. | ||||
* | Fix unit tests to raise cliapp.AppException the right way | Lars Wirzenius | 2012-06-07 | 1 | -1/+1 |
| | |||||
* | morph: remove dead code and replace Execute with app.runcmd | Richard Maw | 2012-05-30 | 1 | -2/+4 |
| | |||||
* | Change LocalRepoCache to use the new RepoAliasResolver. | Jannis Pohlmann | 2012-05-04 | 1 | -16/+3 |
| | |||||
* | Remove %s from one of the url patterns, to improve test coverage | Lars Wirzenius | 2012-05-04 | 1 | -1/+1 |
| | |||||
* | Remove use of baseurls in LocalRepoCache | Lars Wirzenius | 2012-05-04 | 1 | -0/+6 |
| | | | | The tests, they still fail. | ||||
* | Implement repo-alias expansion | Lars Wirzenius | 2012-05-04 | 1 | -2/+2 |
| | | | | | | | | Changed the delimieter between push and pull patterns to be #, since = is reasonably frequent in URLs, and # should never be necessary in git urls. Oh my how many tests now fail. | ||||
* | Add tests for repo-alias expansion | Lars Wirzenius | 2012-05-04 | 1 | -0/+7 |
| | |||||
* | Update LocalRepoCache tests to use repo aliases instead of baseurls | Lars Wirzenius | 2012-05-04 | 1 | -6/+6 |
| | |||||
* | Fix LocalRepoCache tests. | Jannis Pohlmann | 2012-04-19 | 1 | -3/+3 |
| | |||||
* | localrepocache tests: fake_git accept cwd | Richard Maw | 2012-04-11 | 1 | -1/+1 |
| | |||||
* | localrepocache unit tests: fix the bundle url | Richard Maw | 2012-04-11 | 1 | -1/+1 |
| | | | | | Bundle urls generated by lorry end with .bndl, this was fixed but the test was not adjusted, doh! | ||||
* | tests: clones should have origin url not be bundle | Richard Maw | 2012-04-11 | 1 | -3/+7 |
| | |||||
* | localrepocache: return error description | Richard Maw | 2012-04-11 | 1 | -2/+3 |
| | | | | | | | | Also change _fetch to throw its exception as since it is more pythonic to throw exceptions than return exit status, other error handling needed to be caught, so it hsa been kept consistent. This required the tests to throw an exception as well | ||||
* | Create cache directory when needed in LocalRepoCache | Lars Wirzenius | 2012-04-10 | 1 | -0/+11 |
| | |||||
* | Fix unit test to remember it's created a file when faking a download | Lars Wirzenius | 2012-04-10 | 1 | -0/+1 |
| | |||||
* | Remove downloaded bundle after it has been cloned | Lars Wirzenius | 2012-04-09 | 1 | -0/+6 |
| | |||||
* | Add bundle support to LocalRepoCache | Lars Wirzenius | 2012-04-09 | 1 | -1/+25 |
| | |||||
* | Add a LocalRepoCache class | Lars Wirzenius | 2012-04-09 | 1 | -0/+98 |
Jannis and I discussed a refactoring of most of morph's internals to reduce coupling and increase cohesion. This is one of the results: we'll want a couple of classes to manage locally cached git repositories. This commit adds the LocalRepoCache class to manage a the git cache directory. Later on, we'll add the CachedRepo class to represent individual repositories. |