Skip to contentSkip to conversation

Problematic culture around Signed-off-by

DISCUSSION Ian Molton 4 participants 5 messages Jul 21, 2017 – Jul 31, 2017

lore
Share & tools
lore

Ian Molton

author
#0 lore raw

Hi folks,

I've been away from kernel development for a bit, but I've returned and I'm troubled by what seems to be an entrenched and widespread (IMO) misuse of the "Signed-off-by:" in commits.

I've now either been asked to sign off RFC quality patches "because its quicker" on more than one occasion in the last week or so, and I've seen others signing off code which clearly has no hope of going anywhere near the kernel. (eg. // commented out lines)

I was of the impression that Signed-off-by: was intended to be used on essentially *finished* commits, indicating both readiness for inclusion upstream and ones ownership of the copyright.

Even if the intent is *purely* a copyright isue, Signing off *everything* surely makes it far too easy for people to get junk into the kernel.

I've actually been deliberately NOT signing off my code because I *DONT* want it surreptitiously applied with my name on it unless its 100% spot on.

WTH is going on? How can we fix this?

Is Signed-off-by: a lost cause for code quality?

Do we need to add a

Ready-for-mainline: {yes,no} field as well?

Have I just missed something? Maybe I'm just in a minority here? Whats going on?

-Ian

#1 lore raw

Hi!

Quoted 9 lines

I've been away from kernel development for a bit, but I've returned and I'm troubled by what seems to be an entrenched and widespread (IMO) misuse of the "Signed-off-by:" in commits.

I've now either been asked to sign off RFC quality patches "because its quicker" on more than one occasion in the last week or so, and I've seen others signing off code which clearly has no hope of going anywhere near the kernel. (eg. // commented out lines)

Quoted 7 lines

I was of the impression that Signed-off-by: was intended to be used on essentially *finished* commits, indicating both readiness for inclusion upstream and ones ownership of the copyright.

Even if the intent is *purely* a copyright isue, Signing off *everything* surely makes it far too easy for people to get junk into the kernel.

Well, maintainers should not apply obvious junk to their trees, signed-off or not.

I normally sign-off everything... because getting patch without sign-off is nasty. If maintainer gets unclean, but signed-off patch, he can just clean it up, add his sign-off and continue normally.

That may or may not be allowed if patch is not signed-off. (We are in lawyer teritory now.)

So I'd recommend signing everything, and if patch is considered "not ready", make it clear in some other way.

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
#2 lore raw
Quoted 13 lines · Pavel Machek
Quoted 13 lines

I've been away from kernel development for a bit, but I've returned and I'm troubled by what seems to be an entrenched and widespread (IMO) misuse of the "Signed-off-by:" in commits.

I've now either been asked to sign off RFC quality patches "because its quicker" on more than one occasion in the last week or so, and I've seen others signing off code which clearly has no hope of going anywhere near the kernel. (eg. // commented out lines)

I was of the impression that Signed-off-by: was intended to be used on essentially *finished* commits, indicating both readiness for inclusion upstream and ones ownership of the copyright.

Quoted 7 lines
Quoted 3 lines

Even if the intent is *purely* a copyright isue, Signing off *everything* surely makes it far too easy for people to get junk into the kernel.

I normally sign-off everything... because getting patch without sign-off is nasty. If maintainer gets unclean, but signed-off patch, he can just clean it up, add his sign-off and continue normally.

Yet there are cases with known but unobvious breakage (see below).

Quoted 5 lines

That may or may not be allowed if patch is not signed-off. (We are in lawyer teritory now.)

So I'd recommend signing everything, and if patch is considered "not ready", make it clear in some other way.

I think it'd be much better if you could suggest a new marker. Something like "Copyright-but-not-Readiness-Signed-off-by:", "RFC-Signed-off-by:", "WIP-Signed-off-by:", etc.

And having a common, agreed upon marker would avoid confusion.

For example, I'm currently messing with a patch set that appears to give a nice speed-up for the O_PONIES issue, but it messes with parts of the kernel I'm really unfamiliar with. Moreover, I know of data-loss scenarios in my current version (I have naive ideas for a fix), but these scenarios are irrelevant for a RFC. Thus, it's imperative these patches do not get into any non-experimental tree -- yet it's also likely that, if the concept proves as good as it seems, that one of kernel devs with more skill would take my work and beat it into sanity.

Cases like this just scream for a "Here-be-Dragons-but-Signed-off-Copyright- Wise:" line.

Meow!

Signature · 4 lines
⢀⣴⠾⠻⢶⣦⠀ What Would Jesus Do, MUD/MMORPG edition:
⣾⠁⢰⠒⠀⣿⡁ • multiplay with an admin char to benefit your mortal
⢿⡄⠘⠷⠚⠋⠀ • abuse item cloning bugs (the five fishes + two breads affair)
⠈⠳⣄⠀⠀⠀⠀ • use glitches to walk on water
#3 lore raw
Quoted 27 lines · Adam Borowski
Quoted 13 lines · Pavel Machek
Quoted 13 lines

I've been away from kernel development for a bit, but I've returned and I'm troubled by what seems to be an entrenched and widespread (IMO) misuse of the "Signed-off-by:" in commits.

I've now either been asked to sign off RFC quality patches "because its quicker" on more than one occasion in the last week or so, and I've seen others signing off code which clearly has no hope of going anywhere near the kernel. (eg. // commented out lines)

I was of the impression that Signed-off-by: was intended to be used on essentially *finished* commits, indicating both readiness for inclusion upstream and ones ownership of the copyright.

Quoted 7 lines
Quoted 3 lines

Even if the intent is *purely* a copyright isue, Signing off *everything* surely makes it far too easy for people to get junk into the kernel.

I normally sign-off everything... because getting patch without sign-off is nasty. If maintainer gets unclean, but signed-off patch, he can just clean it up, add his sign-off and continue normally.

Yet there are cases with known but unobvious breakage (see below).

Quoted 3 lines

That may or may not be allowed if patch is not signed-off. (We are in lawyer teritory now.)

Quoted 6 lines
Quoted 2 lines

So I'd recommend signing everything, and if patch is considered "not ready", make it clear in some other way.

I think it'd be much better if you could suggest a new marker. Something like "Copyright-but-not-Readiness-Signed-off-by:", "RFC-Signed-off-by:", "WIP-Signed-off-by:", etc.

I use (and saw other people used) "Not-Yet-Signed-off-by:" for this purpose.

Signature · 1 line
 Kirill A. Shutemov
#4 lore raw
Quoted 19 lines · Kirill A. Shutemov
Quoted 18 lines · Adam Borowski
Quoted 17 lines · Pavel Machek
Quoted 16 lines

I've been away from kernel development for a bit, but I've returned and I'm troubled by what seems to be an entrenched and widespread (IMO) misuse of the "Signed-off-by:" in commits.

I've now either been asked to sign off RFC quality patches "because its quicker" on more than one occasion in the last week or so, and I've seen others signing off code which clearly has no hope of going anywhere near the kernel. (eg. // commented out lines)

I was of the impression that Signed-off-by: was intended to be used on essentially *finished* commits, indicating both readiness for inclusion upstream and ones ownership of the copyright.

Even if the intent is *purely* a copyright isue, Signing off *everything* surely makes it far too easy for people to get junk into the kernel.

Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

I normally sign-off everything... because getting patch without sign-off is nasty. If maintainer gets unclean, but signed-off patch, he can just clean it up, add his sign-off and continue normally.

Yet there are cases with known but unobvious breakage (see below).

Yes, so you point up the breakage in the changelog...

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

That may or may not be allowed if patch is not signed-off. (We are in lawyer teritory now.)

So I'd recommend signing everything, and if patch is considered "not ready", make it clear in some other way.

Quoted 6 lines
Quoted 3 lines

I think it'd be much better if you could suggest a new marker. Something like "Copyright-but-not-Readiness-Signed-off-by:", "RFC-Signed-off-by:", "WIP-Signed-off-by:", etc.

I use (and saw other people used) "Not-Yet-Signed-off-by:" for this purpose.

As I tried to explain, that is problematic.

If I fix the patch, how do I submit it myself?

But you are free to use Subject: [Not ready], or just sprinkle code with // comments...

Anyway, applying not-ready patch is not something I usually seen happening. OTOH, not applying patches that were ready months ago is quite common :-).

Pavel

Signature · 2 lines
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html