1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-25 16:22:43 +01:00
phorge-phorge/scripts
Alan Huang fd3ba9841b Update symbol generation scripts
Summary:
Scripts now return scoped symbols -- in particular, PHP class constants, fields, and methods. ctags gives some for other languages.

(Turns out XHPAST doesn't support traits. But no one uses traits anyway so it's probably fine.)

I couldn't find a list of the context types ctags uses (class/struct/union/enum/maybe others?), so the context code just ignores that. Also, it uses a blacklist for the symbol type instead of a whitelist because there are a ton, they vary by language, and I didn't want to unintentionally exclude anything (P480).

Test Plan: Scrape symbols from arcanist and phabricator. Upload them to sandbox. Search for things.

Reviewers: epriestley

Reviewed By: epriestley

CC: nh, aran, Korvin

Maniphest Tasks: T1602

Differential Revision: https://secure.phabricator.com/D3202
2012-08-08 17:06:05 -07:00
..
aphront Use PhabricatorEnv::newObjectFromConfig() wherever possible 2012-03-21 14:57:52 -07:00
calendar Display holidays 2012-05-03 09:22:52 -07:00
conduit Depend on class autoloading 2012-05-30 16:57:21 -07:00
daemon Separates the PID and log directories of daemons 2012-08-05 08:35:24 +02:00
differential Provide a script to completely destroy revisions 2012-06-19 11:52:50 -07:00
drydock Depend on class autoloading 2012-05-30 16:57:21 -07:00
fact Add FactCursors and application fact datasources 2012-07-30 10:43:49 -07:00
fpm Fix minor issues with D2630 2012-06-06 09:12:42 -07:00
install Simplify daemon management: "phd start" 2012-05-09 10:29:37 -07:00
mail Depend on class autoloading 2012-05-30 16:57:21 -07:00
repository Use binary_safe_diff from arcanist 2012-07-03 13:51:37 -07:00
search Merge __init_env__.php into __init_script__.php 2011-10-02 11:48:09 -07:00
setup Test for pcntl availability from the command line, not Apache 2011-05-30 21:02:08 -07:00
sql Support PhabricatorOpaqueEnvelope for managing database passwords 2012-07-24 11:13:53 -07:00
symbols Update symbol generation scripts 2012-08-08 17:06:05 -07:00
user Use OpaqueEnvelopes for all passwords in Phabricator 2012-07-17 12:06:33 -07:00
util Use the unified markup cache for Maniphest 2012-07-11 11:40:10 -07:00
__init_script__.php Initialize translator after loading custom libraries 2012-06-21 15:57:51 -07:00
celerity_mapper.php Allow specifying custom celerity resource map 2012-06-04 18:45:03 -07:00