Phabricator/FAQ

From MozillaWiki
< Phabricator
Revision as of 18:11, 11 July 2018 by Mcote (talk | contribs) (add <hr>s to separate out the questions)
Jump to navigation Jump to search

Phabricator and Lando FAQ

This FAQ is a collection of questions from users that have come up in IRC, Slack, and elsewhere. Please feel free to add more if you hear other questions coming up frequently. Note that you can always ask questions of both the development team and other users in #phabricator and #lando on IRC and Slack.

Phabricator

Question: When I clicking the Phabricator “Log In or Register” button, why is a new tab is opened with the exception ‘Unhandled Exception(“AphrontMalformedRequestException”) Your browser did not submit a “phcid” cookie with client state information in the request’?

Answer: This can happen to users who are using containers for Bugzilla. Instead of clicking on the “Log In or Register” button, copy Phabricator the login page URL into the same container as Bugzilla. You may want to consider adding Phabricator and/or Lando to the same container as Bugzilla.


Question: How do I reply to an inline comment without leaving another comment that I have to mark as "Done"?

Answer: The "Done" checkbox always accompanies comments/replies. This is built into Phabricator.


Question: How do I require a review from all reviewers before landing?

Answer: Add all reviewers as "blocking" reviewers, either from the UI or by appending a “!” to their name when specifying them in Arcanist. To set a reviewer as blocking in the UI, edit the revision and use the reviewer autocomplete; each result will have a normal and a "blocking" entry.


Question: Can I remove "Tags: #secure-revision" from my changeset’s commit message?

Answer: #secure-revision is a project tag attached to the revision at the time the commit message is auto-generated. The tag is removed slightly later once Bugzilla has had a chance to update the revisions security policies. After Bugzilla has done this update, you can use "arc amend" to update the commit message with the current state. We are currently working on a custom client that may omit the project tags from the commit message altogether.


Question: Can I close multiple revisions with one commit message? (by including multiple “Differential Revision:” lines?)

Answer: No. Each commit is associated with a single revision.


Question: How do I get “arc diff” to stop listing and asking about all my untracked build artifacts?

Answer: Use the “--allow-untracked” option to arc diff.

Lando

Question: My SCM level is bound to a different LDAP account from my Mozilla one. How do I log into Lando to land changes?

Answer: You will need to log into the account that is associated with your SCM permissions. If you have only ever accessed that account by ssh key, that is, to push up commits, you will likely need to request a password change to be able to use Auth0.