Changeset View
Changeset View
Standalone View
Standalone View
src/docs/user/userguide/audit.diviner
Show First 20 Lines • Show All 150 Lines • ▼ Show 20 Lines | ========== | ||||
- You can leave inline comments by clicking the line numbers in the diff. | - You can leave inline comments by clicking the line numbers in the diff. | ||||
- You can leave a comment across multiple lines by dragging across the line | - You can leave a comment across multiple lines by dragging across the line | ||||
numbers. | numbers. | ||||
- Inline comments are initially saved as drafts. They are not submitted until | - Inline comments are initially saved as drafts. They are not submitted until | ||||
you submit a comment at the bottom of the page. | you submit a comment at the bottom of the page. | ||||
- Press "?" to view keyboard shortcuts. | - Press "?" to view keyboard shortcuts. | ||||
Audit Maintenance | |||||
================= | |||||
The `bin/audit` command allows you to perform several maintenance operations. | |||||
Get more information about a command by running: | |||||
``` | |||||
phabricator/ $ ./bin/audit help <command> | |||||
``` | |||||
Supported operations are: | |||||
**Delete Audits**: Delete audits that match certain parameters with | |||||
`bin/audit delete`. | |||||
You can use this command to forcibly delete requests which may have triggered | |||||
incorrectly (for example, because a package or Herald rule was configured in an | |||||
overbroad way). | |||||
After deleting audits, you may want to run `bin/audit synchronize` to | |||||
synchronize audit state. | |||||
**Synchronize Audit State**: Synchronize the audit state of commits to the | |||||
current open audit requests with `bin/audit synchronize`. | |||||
Normally, overall audit state is automatically kept up to date as changes are | |||||
made to an audit. However, if you delete audits or manually update the database | |||||
to make changes to audit request state, the state of corresponding commits may | |||||
no longer be correct. | |||||
This command will update commits so their overall audit state reflects the | |||||
cumulative state of their actual audit requests. | |||||
**Update Owners Package Membership**: Update which Owners packages commits | |||||
belong to with `bin/audit update-owners`. | |||||
Normally, commits are automatically associated with packages when they are | |||||
imported. You can use this command to manually rebuild this association if | |||||
you run into problems with it. | |||||
Next Steps | Next Steps | ||||
========== | ========== | ||||
- Learn more about Herald at @{article:Herald User Guide}. | - Learn more about Herald at @{article:Herald User Guide}. |