Page MenuHomePhabricator

`repository list-paths` reports non-existing path
Closed, ResolvedPublic

Description

Version Information

phabricator
    c8f5fb120573f6b1a001ba78f4f8f5bc1c453e43 (Sat, Feb 25) (branched from c15501fc9b06f46a699bcded6d2e14c5c48af2db on origin) 
arcanist
    822bc53ca306e06314560d8a76f68771d732e8e0 (Sat, Feb 25) (branched from 3b6b523c2b236e3724a1e115f126cb6fd05fa128 on origin) 
phutil
    e3381770af0fa8a01ca1e1078b041c00c7baab5a (Sat, Feb 25) (branched from 0625e4d28b16cba8b0154e49dc31845559b4e704 on origin)

Hello, I have a strange behaviour which might turn out not to be a bug but I have no way to tell. On my installation if I do:

$ ./bin/repository list-paths | grep -i gcc
| rGCC        | /var/repo/GCC/        |
$ ls /var/repo/GCC/
ls: cannot access '/var/repo/GCC/': No such file or directory

This is surprising because I expected all repositories to be valid. I can see this project in diffusion.
It's currently Importing (95.38%)... and in Policies it says:

Visible To
    All Users 
Editable By
    Administrators 
Pushable By
    Not a Hosted Repository

Note the Not a Hosted Repository. I wonder if this repository existed in the past (this is a phabricator installation from 2015), then I made it observe Phabricator deleted the repo from the filesystem but left something somewhere such that bin/repository list-path still lists it.
Can I post something else to help with understanding this bug? I am not sure myself what more I can offer for reproduction since it might just be an artifact of how old this phabricator instance is.

Event Timeline

We'll still need reproduction steps to accept this as a bug report. If you just have questions about what to do next or if it's a bug at all, Conpherence and Ponder are community support. See Contributing Bug Reports and Providing Reproduction Steps for more information.

@chad You're right, should've gone to Conpherence first.

I don't think I can close this. Can you please do it?

epriestley claimed this task.