Page MenuHomePhorge

Co-Author support in arc land T15044
Needs RevisionPublic

Authored by TitanNano on Dec 2 2021, 16:24.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Apr 10, 22:38
Unknown Object (File)
Tue, Apr 9, 19:58
Unknown Object (File)
Tue, Apr 9, 19:58
Unknown Object (File)
Tue, Apr 9, 19:58
Unknown Object (File)
Tue, Apr 9, 13:37
Unknown Object (File)
Tue, Apr 9, 13:28
Unknown Object (File)
Tue, Apr 9, 09:08
Unknown Object (File)
Tue, Apr 9, 09:07

Details

Reviewers
avivey
Group Reviewers
O1: Blessed Committers
Maniphest Tasks
T15044: Co-Author support in arc land
Summary

We have to parse the commit messages and add all co-authors to the "local:commits"
diff property, so we can use it later during arc land.

See also D25028.

Test Plan
  1. create a commit with one or more "Co-authored-by" lines.
  2. arc diff the commit into a revision
  3. verify that the local:commits property contains a coAuthors array with all co-authors

Diff Detail

Repository
rARC Arcanist
Branch
issues/T15044
Lint
Lint Passed
Unit
Tests Passed
Build Status
Buildable 57
Build 57: arc lint + arc unit

Event Timeline

trim whitespace from name and email

avivey edited the summary of this revision. (Show Details)
avivey subscribed.
avivey added inline comments.
src/repository/api/ArcanistGitAPI.php
224

Looks like we already upload the entire commit message - can we do this logic in the server, avoiding adding this key to the API?

avivey requested changes to this revision.Sat, Mar 30, 12:28

house-keeping...

This revision now requires changes to proceed.Sat, Mar 30, 12:28