Page MenuHomePhabricator

Update symbol documentation to mention that you should always index absolute paths
Closed, WontfixPublic

Description

i SET the repository Root like http://svn.example.org/svn/ and the subpath like trunk/ then tracking the repository.

and import symbols index,

browse some file like phabricator.example.com/diffusion/X/browse/trunk/api/api.php

but in this file, the symbols link is like phabricator.example.com/diffusion/X/browse/api/apito.php, missing
this path trunk/

why?
how can i fixed it.

Event Timeline

When you import the symbols, just provide the full path from the repository root, even if you're only importing a subpath (in this case, just put "/trunk/" in front of everything).

Possibly we could infer the subpath, but this seems like a pretty easy fix. I'll mention it in the documentation, though, since I agree it's a bit confusing.

Let me know if that doesn't work.

thanks!

i reset the symbols index by prefix '/trunk' in the file path.

and it work fine.

and, i have a proposal.

the php syntax symbols link domain to custom, because i install this project in Internal network。

epriestley renamed this task from BUG? when respository config to one subpath, the symbols index link import this project is wrong. to Update symbol documentation to mention that you should always index absolute paths.Oct 19 2012, 5:48 PM
epriestley added a project: Badge Awarded.

On the other part, you basically just mean you want a config option to replace php.net with phpdocs.yourinstall.secretnetwork.com?

chad changed the visibility from "All Users" to "Public (No Login Required)".Jul 23 2015, 4:40 AM
epriestley claimed this task.

Haven't seen more issues here in several years.