Page MenuHomePhabricator

Add highlight rules to diviner
ClosedPublic

Authored by chad on Nov 2 2015, 9:26 PM.
Tags
None
Referenced Files
F15522607: D14387.id.diff
Sun, Apr 20, 8:40 PM
F15517922: D14387.id.diff
Sat, Apr 19, 9:34 AM
F15515441: D14387.diff
Fri, Apr 18, 10:26 AM
F15466524: D14387.id34754.diff
Thu, Apr 3, 6:31 AM
F15424897: D14387.id34755.diff
Mar 23 2025, 12:57 AM
F15382570: D14387.id34754.diff
Mar 14 2025, 1:11 PM
F15304676: D14387.diff
Mar 6 2025, 2:03 AM
Unknown Object (File)
Mar 3 2025, 8:37 AM
Subscribers

Details

Summary

Adds highlight commands to Remarkup book. Fixes T5560

Test Plan

build books

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

chad retitled this revision from to Add highlight rules to diviner.
chad updated this object.
chad edited the test plan for this revision. (Show Details)
chad added a reviewer: epriestley.

Actually getting an Exception when generating:

[2015-11-02 13:27:12] EXCEPTION: (Exception) No such atom with node hash '8ae0e56e68c9919ffe35720e3eac36feN'! at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:528]
arcanist(head=master, ref.master=2db40f995337), corgi(head=master, ref.master=ad26f63a398b), phabricator(head=highlight-div, ref.master=8bbcd896b806, ref.highlight-div=8b32c2a17f23), phutil(head=master, ref.master=ceca9d1122ea)
  #0 DivinerGenerateWorkflow::computeSymbolHash(string) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:497]
  #1 DivinerGenerateWorkflow::buildGraphCache() called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:177]
  #2 DivinerGenerateWorkflow::generateBook(string, PhutilArgumentParser) called at [<phabricator>/src/applications/diviner/workflow/DivinerGenerateWorkflow.php:80]
  #3 DivinerGenerateWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
  #4 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
  #5 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/diviner/diviner.php:21]
family:phabricator familyroom$
epriestley edited edge metadata.

I think we have a couple of cache issues with Diviner that I haven't hunted down, usually doing bin/diviner generate --clean will fix it.

This revision is now accepted and ready to land.Nov 2 2015, 9:34 PM
This revision was automatically updated to reflect the committed changes.