Phabricator/TestPlan: Difference between revisions

 
Line 321: Line 321:
# If you don't already have one, get an API Token for email-bot: https://phabricator-dev.allizom.org/settings/user/email-bot/page/apitokens/.
# If you don't already have one, get an API Token for email-bot: https://phabricator-dev.allizom.org/settings/user/email-bot/page/apitokens/.
# If not already available, install [https://stedolan.github.io/jq/ jq].
# If not already available, install [https://stedolan.github.io/jq/ jq].
# Clone the Arcanist code to your current directory: `git clone https://github.com/mozilla-conduit/arcanist.git arcanist`
# From the command-line, invoke:
# From the command-line, invoke:


Line 327: Line 328:
   "storyLimit": 39,
   "storyLimit": 39,
   "after": 6853094612582369220
   "after": 6853094612582369220
}' | moz-phab arc call-conduit --conduit-uri https://phabricator-dev.allizom.org/ --conduit-token <your-token> feed.for_email.query -- \
}' | arcanist/bin/arc call-conduit --conduit-uri https://phabricator-dev.allizom.org/ --conduit-token <your-token> feed.for_email.query -- \
   | jq -r '.response' | jq . > output.txt
   | jq -r '.response' | jq . > output.txt
</syntaxhighlight>
</syntaxhighlight>
637

edits