1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-24 15:52:41 +01:00
phorge-phorge/src/applications/conduit/method
Andrew Gallagher 3223defe96 Add support for postponed linters
Summary:
This adds:
1) A new "arc:lint-postponed" diff property which stores a list of
lint names that are postponed and a finishpostponedlinters conduit
method which removes linters from this list.  Postponed linters are
shown in the lint details.
2) A updatelintmessages conduit message, which adds additional lint
messages to the "arc:lint" diff property.

In combination, this provides very basic support for running
asynchronous static analysis tools.  When the diff is being created,
a list of asynchronous static analysis runs can be added to the
diff's postponed linters list.  As these postponed linters finish
up, then can report new lint messages back to the diff then mark
themselves as complete.

The client is currently responsible for filtering the lint messages
by things like affected lines and files.

Test Plan:
Used conduit call API to add lint messages and remove postponed
linters from a test diff.

Reviewers: epriestley, vrana, nh, jungejason

Reviewed By: epriestley

CC: aran, Korvin

Maniphest Tasks: T1332

Differential Revision: https://secure.phabricator.com/D2792
2012-06-28 18:09:38 -07:00
..
arcanist Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
audit Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
chatlog Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
conduit Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
daemon Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
differential Add support for postponed linters 2012-06-28 18:09:38 -07:00
diffusion Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
feed Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
file Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
flag Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
macro Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
maniphest Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
owners Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
paste Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
path Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
phid Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
phriction Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
project Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
remarkup Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
repository Allow 'repository.create' to set description and autoclose 2012-06-28 09:54:48 -07:00
slowvote Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00
user Add user.enable conduit method 2012-06-19 14:36:08 -07:00
ConduitAPIMethod.php Move files in Phabricator one level up 2012-06-01 12:32:44 -07:00