Community
Participate
Working Groups
If you have a repository not directly in the project, but in its subfolder and you do GET on locations returned in metadata in Git.CloneLocation or Git.CommitLocation (with ?page=1), you get: 405 HTTP method GET is not supported by this URL.
(In reply to comment #0) > locations returned in metadata in Git.CloneLocation or Git.CommitLocation (with ?page=1) What are they?
(In reply to comment #1) > (In reply to comment #0) > > locations returned in metadata in Git.CloneLocation or Git.CommitLocation > (with ?page=1) > > What are they? My repository is situated in /file/f/github_readonly and the git section returned by GET /file/f?depth=1: "Git": { "CloneLocation": "/git/clone/file/f/github_readonly/", "CommitLocation": "/git/commit/HEAD/file/f/github_readonly/", "DefaultRemoteBranchLocation": "/git/remote/origin/master/file/f/github_readonly/", "DiffLocation": "/git/diff/Default/file/f/github_readonly/", "IndexLocation": "/git/index/file/f/github_readonly/", "RemoteLocation": "/git/remote/file/f/github_readonly/", "StatusLocation": "/git/status/file/f/github_readonly/", "TagLocation": "/git/tag/file/f/github_readonly/" },
Git.CloneLocation is fine. I've fixed Git.CommitLocation though. See http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=0bb29cb11459eb5d97e5d91b890924450c860d8d.
Sorry, it's a bad fix, GitStatusTest#testFileLogFromStatus to fail. I'm on it.
Proper fix: http://git.eclipse.org/c/e4/org.eclipse.orion.server.git/commit/?id=b7ee3a2544368ba9638d81fda1c06346a19c0a0e. Sorry for the noise.