Add 'CherryPickOf' field for a change

After a change is created or updated using the 'cherry-pick'
functionality, this field will contain the source change number
and the patchset. Having this field helps us identify changes
where actual dev time was spent on by filtering out propagated
changes. This is especially useful for organizations wanting to
generate cost metrics.

Change-Id: I782a56aa52c52670ec74fabb713fe47ecba24de1
This commit is contained in:
Kaushik Lingarkar
2019-11-12 13:53:29 -08:00
committed by Kaushik Lingarkar
parent 8b457aeb17
commit 4a711eda84
33 changed files with 413 additions and 12 deletions

View File

@@ -229,6 +229,16 @@ hashtag:'HASHTAG'::
Changes whose link:intro-user.html#hashtags[hashtag] matches 'HASHTAG'.
The match is case-insensitive.
[[cherrypickof]]
cherrypickof:'CHANGE[,PATCHSET]'::
+
Changes which were created using the 'cherry-pick' functionality and
whose source change number matches 'CHANGE' and source patchset number
matches 'PATCHSET'. Note that 'PATCHSET' is optional. For example, a
`cherrypickof:12345` matches all changes which were cherry-picked from
change 12345 and `cherrypickof:12345,2` matches all changes which were
cherry-picked from the 2nd patchset of change 12345.
[[ref]]
ref:'REF'::
+