Page MenuHomePhabricator

Diffusion doesn't recognize commit landing w/ `Signed-off-by:` line
Closed, DuplicatePublic

Description

If you git commit --signoff --amend a commit before landing, a Signed-off-by-line is added to the end of the commit message similar to
https://phabricator.haskell.org/rGHC40b1ee4043fefdd19ff6614a63939002840c6d97

However, this seems to confuse Differential as it didn't associated the commit with the code-rev (it usually does so, if a Differential Revision: ... line is contained in the commit message).

Event Timeline

hvr raised the priority of this task from to Needs Triage.
hvr updated the task description. (Show Details)
hvr added a project: Differential.
hvr added a subscriber: thoughtpolice.
hvr added a subscriber: hvr.
chad triaged this task as Low priority.Nov 6 2014, 3:28 PM
chad raised the priority of this task from Low to Needs Triage.
chad edited projects, added Diffusion, Arcanist; removed Differential.

I don't recall all the history here, but I seem to recall --signoff was a feature added to git for reviewing linux kernel patches.

Hrrm, I would have expected this to associate. We did some work here recently (T5693 / T3686) on the Differential side ("Why did this associate?") but don't currently expose a link on the Diffusion side to see the other half of the story ("Why didn't this associate?").

I suspect this probably isn't just a parse issue, but it's possible that it's that simple.

Does this reproduce at all?

I'd guess environment / install issues before a general, reproducible problem.

In T6483#82485, @chad wrote:

I don't recall all the history here, but I seem to recall --signoff was a feature added to git for reviewing linux kernel patches.

Yeah, this originated for use in combination with the context of the DCO (http://elinux.org/Developer_Certificate_Of_Origin) about a decade ago, but this convention has been adopted by other projects as well, and the --signoff feature make this convenient to use.

Does this reproduce at all?

I'd guess environment / install issues before a general, reproducible problem.

I'll keep an eye on it. It's the first time I noticed Differential not picking up a code-rev reference, and it happened to be in combination w/ a Signed-off-by annotation. (and btw, I never use arc land (so I don't think this issue concerns Arcanist?), I rather always manually git push, and that has worked perfectly fine so far, except in combination with this Signed-off-by field)

chad renamed this task from Differential doesn't recognize commit landing w/ `Signed-off-by:` line to Diffusion doesn't recognize commit landing w/ `Signed-off-by:` line.Nov 6 2014, 9:32 PM
chad removed a project: Arcanist.
./bin/phd log

this may be illuminating in terms of potential parsing errors.