Page MenuHomePhabricator

Raise a setup warning for missing or invalid local repository directory
ClosedPublic

Authored by epriestley on Oct 30 2013, 12:03 AM.
Tags
None
Referenced Files
F19881335: D7439.diff
Wed, Mar 18, 10:12 PM
F19804604: D7439.id.diff
Mon, Mar 2, 8:50 AM
F19786042: D7439.id.diff
Wed, Feb 25, 5:02 AM
F19531747: D7439.diff
Jan 20 2026, 6:49 AM
F19528121: D7439.diff
Jan 19 2026, 6:54 AM
F19506682: D7439.id16806.diff
Jan 9 2026, 4:50 PM
F19053503: D7439.id16761.diff
Nov 28 2025, 9:10 AM
F18816867: D7439.id.diff
Oct 21 2025, 10:01 AM
Subscribers

Details

Summary

I'm planning to add more detailed info to Diffusion itself, but catch the big issue here.

Test Plan

Hit config issue locally, then resolved it.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

btrahan added inline comments.
src/applications/config/check/PhabricatorSetupCheckRepositories.php
20–33

This block got me thinking it would be very nice to tell permissions vs non-existence, but I don't see a way to actually do that after a brief foray into the code. Oh wells.

We do have some code which does it in PhabricatorSetupCheckPath, but it's a lot of code and I think it's hard to generalize the behavior and error messages:

https://secure.phabricator.com/diffusion/P/browse/master/src/applications/config/check/PhabricatorSetupCheckPath.php;90123dd7392f673d$33-95