mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
618da2265d
Summary: Ref T4327. Simplify the git discovery process so I can move it to the DiscoveryEngine, so I can make change parsing testable. In particular: - As an optimization, we process closeable branches ("master") first, then process uncloseable branches ("epriestley-devel"). This means that in the common case we can insert a commit as closeable immediately when it is discovered, the first pass through the pipeline will get it right, and the "ref update" step will never need to do any meaningful work. - Commits which do not initially appear on a closeable branch, but later move to one (via merges or ref moves) will now be caught in the ref update step, have the closeable flag set, and have a message step re-queued. - We no longer need to do a separate discovery step on closable branches. - We no longer need to keep track of `seenOnBranches`. Test Plan: Ran discovery on repositories after pushing commits, got reasonable results. Reviewers: btrahan Reviewed By: btrahan CC: aran Maniphest Tasks: T4327 Differential Revision: https://secure.phabricator.com/D7985 |
||
---|---|---|
.. | ||
application | ||
capability | ||
conduit | ||
config | ||
controller | ||
data | ||
doorkeeper | ||
engine | ||
events | ||
exception | ||
herald | ||
panel | ||
protocol | ||
query | ||
remarkup | ||
request | ||
response | ||
ssh | ||
view | ||
DiffusionLintSaveRunner.php |