Mostly ripped from D7391. No writes yet.
Details
Details
- Reviewers
hach-que btrahan - Maniphest Tasks
- Restricted Maniphest Task
- Commits
- Restricted Diffusion Commit
rP7d9dfb561dd5: Serve Git reads over HTTP
Ran git clone against a local over HTTP, got a clone.
Diff Detail
Diff Detail
- Branch
- redit12
- Lint
Lint Passed - Unit
No Test Coverage
Event Timeline
Comment Actions
Assuming this is only supposed to work for public repositories at the moment (setting the view policy to anything else results in authentication failure), then this looks reasonably good.
src/applications/diffusion/controller/DiffusionController.php | ||
---|---|---|
415 | git-http-backend is often not in PATH; instead it sits under /usr/libexec/git or /usr/lib/git. At some point we'll need a setup check to detect if git-http-backend is not available and warn the user that they might need to set environment.append-paths correctly. |