-
Notifications
You must be signed in to change notification settings - Fork 121
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enriched/git] Add more git commit meta fields #1087
Conversation
Pull Request Test Coverage Report for Build 3337812346
💛 - Coveralls |
LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, would you mind to update the changelog with my suggestion and rebase this PR?
notes: > | ||
Extract more author info on the commits: | ||
- Approved-by: NAME <EMAIL> | ||
- Co-authored-by: NAME <EMAIL> | ||
- Merged-by NAME: <EMAIL> | ||
|
||
For each one it will creates 10 more fields. | ||
- suffixes: `_bots`, `_domains`, `_names`, `_org_names`, `_uuids` | ||
- prefix: `non_authored_` | ||
|
||
Example of Merged-by: | ||
- merged_by_multi_bots | ||
- merged_by_multi_domains | ||
- merged_by_multi_names | ||
- merged_by_multi_org_names | ||
- merged_by_multi_uuids | ||
- non_authored_merged_by_multi_bots | ||
- non_authored_merged_by_multi_domains | ||
- non_authored_merged_by_multi_names | ||
- non_authored_merged_by_multi_org_names |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
notes: > | |
Extract more author info on the commits: | |
- Approved-by: NAME <EMAIL> | |
- Co-authored-by: NAME <EMAIL> | |
- Merged-by NAME: <EMAIL> | |
For each one it will creates 10 more fields. | |
- suffixes: `_bots`, `_domains`, `_names`, `_org_names`, `_uuids` | |
- prefix: `non_authored_` | |
Example of Merged-by: | |
- merged_by_multi_bots | |
- merged_by_multi_domains | |
- merged_by_multi_names | |
- merged_by_multi_org_names | |
- merged_by_multi_uuids | |
- non_authored_merged_by_multi_bots | |
- non_authored_merged_by_multi_domains | |
- non_authored_merged_by_multi_names | |
- non_authored_merged_by_multi_org_names | |
notes: > | |
New information about the participants during the development and the | |
reviewing processes are available in `Git` items. The Git backend extracts | |
these data from `Approved-by`, `Co-authored-by`, and `Merged-by` | |
trailers that some commit messages might include. For each one of these | |
trailers, new fields will be available with the suffixes: `_bots`, `_domains`, | |
`_names`, `_org_names`, and `_uuids`. Also for each one of these suffixes, | |
there will be extra fields with the prefix `non_authored_`. | |
This is an example of the fields available for the the trailer `Merged-by`: | |
- merged_by_multi_bots | |
- merged_by_multi_domains | |
- merged_by_multi_names | |
- merged_by_multi_org_names | |
- merged_by_multi_uuids | |
- non_authored_merged_by_multi_bots | |
- non_authored_merged_by_multi_domains | |
- non_authored_merged_by_multi_names | |
- non_authored_merged_by_multi_org_names |
@@ -0,0 +1,25 @@ | |||
--- | |||
title: Git extracts more authors meta info |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: Git extracts more authors meta info | |
title: Development and reviewing contributors fields for Git items |
This code extracts more authors meta info: - Approved-by - Co-authored-by - Merged-by For each one it will creates 10 new fields. - suffixes: `_bots`, `_domains`, `_names`, `_org_names`, `_uuids` - prefix: `non_authored_` Example of Merged-by: - merged_by_multi_bots - merged_by_multi_domains - merged_by_multi_names - merged_by_multi_org_names - merged_by_multi_uuids - non_authored_merged_by_multi_bots - non_authored_merged_by_multi_domains - non_authored_merged_by_multi_names - non_authored_merged_by_multi_org_names - non_authored_merged_by_multi_uuids Signed-off-by: Quan Zhou <[email protected]>
442169a
to
48a31b5
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
This code extracts more authors meta info:
For each one it will creates 10 new fields.
_bots
,_domains
,_names
,_org_names
,_uuids
non_authored_
Example of Merged-by:
Signed-off-by: Quan Zhou [email protected]