summaryrefslogtreecommitdiff
path: root/morphcacheserver
Commit message (Collapse)AuthorAgeFilesLines
* Use the modern way of the GPL copyright header: URL instead real addressJavier Jardón2015-03-162-6/+4
| | | | Change-Id: I992dc0c1d40f563ade56a833162d409b02be90a0
* Allow morph-cache-server to be bound to an ephemeral portRichard Maw2014-10-021-3/+3
|
* Update copyright noticeRichard Ipsum2013-12-162-2/+2
|
* Handle requesting a sha1 of a sha1Jonathan Maw2013-06-041-3/+8
|
* Fix misspelled variable nameSam Thursfield2012-12-131-1/+1
|
* Log exceptions instead of ignoring themSam Thursfield2012-12-131-1/+1
|
* Use 'git rev-parse --verify' to resolve refsSam Thursfield2012-12-131-22/+9
| | | | | | | 'git show-ref' returns multiple results where there are partial matches for the given ref, which creates the possibility that we might resolve a ref incorrectly. 'git rev-list' is also overkill for verifying that a SHA1 is valid.
* Fix missing argument to rev_list(), breaking resolve_ref for SHA1sJannis Pohlmann2012-12-031-1/+1
| | | | | | | | This bug has been present since the initial commit to the cache server. Due to the missing repo_dir argument to rev_list(), resolving SHA1s rather than symbolic refs via /1.0/sha1s fails. This feature, however, is absolutely required for morph to resolve petrified system branches.
* Trim leading slashes from URI element during direct-mode. rs=richardmawDaniel Silverstone2012-09-251-1/+4
|
* 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