Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/userguide/diffusion_symbols.diviner
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | |||||
write such a script, and run this command to see its output: | write such a script, and run this command to see its output: | ||||
$ cd phabricator/ | $ cd phabricator/ | ||||
$ find . -type f -name '*.php' | ./scripts/symbols/generate_php_symbols.php | $ find . -type f -name '*.php' | ./scripts/symbols/generate_php_symbols.php | ||||
To actually build the symbol index, pipe this data to the | To actually build the symbol index, pipe this data to the | ||||
`import_repository_symbols.php` script, providing the repository callsign: | `import_repository_symbols.php` script, providing the repository callsign: | ||||
$ ./scripts/symbols/import_repository_symbols.php rREPO < symbols_data | $ ./scripts/symbols/import_repository_symbols.php REPO < symbols_data | ||||
Then just set up a cronjob to run that however often you like. | Then just set up a cronjob to run that however often you like. | ||||
You can test that the import worked by querying for symbols using the Conduit | You can test that the import worked by querying for symbols using the Conduit | ||||
method `diffusion.findsymbols`. Some features (like that method, and the | method `diffusion.findsymbols`. Some features (like that method, and the | ||||
IRC bot integration) will start working immediately. Others will require more | IRC bot integration) will start working immediately. Others will require more | ||||
configuration. | configuration. | ||||
Show All 21 Lines |