mailing list of musl libc
 help / color / mirror / code / Atom feed
From: Rich Felker <dalias@libc.org>
To: musl@lists.openwall.com
Subject: Re: [musl] Authorship/attribution and stalled patches
Date: Mon, 2 Nov 2020 14:45:58 -0500	[thread overview]
Message-ID: <20201102194557.GU534@brightrain.aerifal.cx> (raw)
In-Reply-To: <20201102194028.GA2009@voyager>

On Mon, Nov 02, 2020 at 08:40:28PM +0100, Markus Wichmann wrote:
> On Sun, Nov 01, 2020 at 08:16:32PM -0500, Rich Felker wrote:
> > It came to my attention that there are a few patches in limbo where,
> > after some discussion, it seems I was waiting for an updated patch
> > from the contributor to apply, and it never appeared. I could and
> > should just make the changes myself (this would have been more
> > efficient to begin with), but I'm not sure what to do about
> > authorship/attribution in that situation, and it probably deserves
> > community input.
> >
> > A while back, I started trying to make better use of git commit
> > authorship to credit contributors, rather than just mentioning "patch
> > by X" or "based on patch/idea by X" in commit messages. However I
> > still don't have a clear feel for how this should work in the case
> > where the patch is modified before being applied. Are there
> > established norms for the degree to which a patch should be modified
> > while leaving the author intact, or should it just always be converted
> > to commit authorship by the person who makes the final changes, with
> > original author in the description? It's really a tradeoff between
> > potential misattribution of mistakes or changes the original author
> > might not like, and failure to credit, and I don't know where the
> > right balance is.
> >
> > Rich
> 
> Why not just apply the patch as-is (leaving the patch author as
> committer), then commit the necessary changes afterwards (as yourself)?
> That way the original patch becomes its own commit, and we can see what
> had to be changed afterwards. If you want to make it extraordinarily
> clean, you could do all of that on a branch and merge the product
> afterwards. Seems to be the cleanest solution. If the patch is not yet
> in a form where the fixes are obvious (e.g. the reallocarray() patch we
> had a while back that either would give you horrible performance or
> copies of sensitive data lying around in address space), then the patch
> is probably not ripe, anyway.

This would be a major regression in maintainership quality. It
introduces versions that don't work/have new bugs that would not
otherwise be in the history, making it harder to bisect, harder for
patches to commute (and be backported etc.), harder to read and
understand, etc. The intent of the history is to be a history is
approved changes, with clearly documented motivations for each.

Rich

  reply	other threads:[~2020-11-02 19:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-02  1:16 Rich Felker
2020-11-02  1:30 ` Rich Felker
2020-11-02 19:40 ` Markus Wichmann
2020-11-02 19:45   ` Rich Felker [this message]
2020-11-02 20:45     ` Wolf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201102194557.GU534@brightrain.aerifal.cx \
    --to=dalias@libc.org \
    --cc=musl@lists.openwall.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).