summaryrefslogtreecommitdiff
path: root/morphcacheserver
Commit message (Collapse)AuthorAgeFilesLines
* Return tree SHA1 when looking for ref resolution.Daniel Silverstone2012-09-071-2/+11
| | | | | | | | Morph now expects the tree SHA1 in addition when resolving references using the cache server. This is to better facilitate correct cache key computation since commits can be made which have no tree changes and thus nothing to usefully affect the build. (For example the morph branch and build features)
* A direct-mode for git cache accessDaniel Silverstone2012-09-071-8/+26
| | | | | | | Direct-mode, when enabled, causes morph-cache-server to assume a more Trove-like structure for the repositories, rather than the morph-cache structure which it was originally written for. This means that for the workers, we can use the original code and for Trove, the direct mode.
* Add /trees which serves the contents of a git tree using ls-tree.Jannis Pohlmann2012-04-201-0/+29
| | | | | | | | | | | | | | | | | | /trees queries take repo URI, a SHA1 ref and an optional path parameter. The result is a JSON dictionary of the form { "repo": "<repo URI>", "ref": "<SHA1 ref>", "tree": { "filename1": { "mode": "100644", "kind": "blob", "sha1": "FOOBARBAZ" }, ... } }
* Fix various small issues preventing bundles from working.Jannis Pohlmann2012-04-181-1/+1
|
* Add untested support for bundles.Jannis Pohlmann2012-04-181-4/+9
|
* Raise a RepositoryNotFoundError if a repo does not exist in the cache.Jannis Pohlmann2012-04-181-1/+11
|
* Initial import implementing /files and /sha1s.Jannis Pohlmann2012-04-172-0/+109