Gentoo Archives: gentoo-dev

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Please retain authorship of contributed patches
Date: Wed, 30 Nov 2016 23:44:03
Message-Id: 33024d2b-7f5b-7d2c-c368-53a8da143b51@gentoo.org
In Reply to: [gentoo-dev] Please retain authorship of contributed patches by Andrey Utkin
1 On 11/30/2016 03:23 PM, Andrey Utkin wrote:
2 > I'm quite sure this angry rant won't be pleasant to read for anybody,
3 > but still I believe this post serves the good of Gentoo and this issue
4 > is technical enough to be discussed on gentoo-dev. Also gentoo-pr list
5 > seems retired anyway.
6 >
7 > This is a second time I've got into a situation when a new ebuild
8 > submitted by me gets to mainline with minimal changes but not retaining
9 > my authorship at all.
10 >
11 > First time it was here: https://github.com/gentoo/gentoo/pull/361 and my
12 > rant was endorsed by monsieurp and the committer made excuses.
13 >
14 > This time the discussion between me and the committer has never
15 > happened.
16 >
17 > My PR: https://github.com/gentoo/gentoo/pull/2765
18 >
19 > My bugzilla ticket linked to it:
20 > https://bugs.gentoo.org/show_bug.cgi?id=599088
21 >
22 > After my pull request from Nov 6, the following commit gets into mainline:
23 >
24 > commit e19f46dfca967f4195eedf3f37a7882fbb37b796
25 > Author: Matthew Thode <prometheanfire@g.o>
26 > Date: Tue Nov 15 13:55:17 2016 -0600
27 >
28 > dev-python/secretstorage: adding for keyring
29 >
30 > Package-Manager: portage-2.3.0
31 >
32 >
33 > The difference between my submission and final variant by Matthew is big
34 > in number of lines, but is trivial in content as you can see below, so I
35 > don't believe that Matthew has written his variant from scratch on his
36 > own (he hasn't given any note on tickets on bugs.g.o or github), it
37 > seems more like intentional swapping and amending original lines
38 > retaining identical outcome.
39 >
40 > Not that authorship of one or two commits is so crucial for me, or that
41 > I'm the most ambitious wannabe-contributor. Hell, there's not much of
42 > code at all in the ebuild - it's trivial; but also not much is needed
43 > here to give credit. I have contributed to quite some FOSS projects, and
44 > have run into theft of my patches a couple of times, and it never was by
45 > pure accident.
46 >
47 > I beg affiliated Gentoo developers to stay sane and be thinking not just
48 > about numbers of your commits, but also about community spirit and
49 > relationships. Of course inexperienced contributor gets things not right
50 > first. In such cases, great maintainers fix that and retain original
51 > authorship; good maintainers request for changes and resubmission.
52 >
53 > In no way I'm going to drift away from Gentoo because of this issue, no
54 > alternatives around. (I even have a gradually maturing idea to become
55 > Gentoo contributor on regular basis.)
56 >
57 > Just for record, a list of projects I've contributed to: FFmpeg, Linux
58 > kernel, VLC, GStreamer, Kamailio, Mcabber, Gajim, v4l-utils.
59 >
60 >
61 > diff --git a/336a45f661 b/98c5361d66
62 > index 336a45f661..98c5361d66 100644
63 > --- a/336a45f661
64 > +++ b/98c5361d66
65 > @@ -1,19 +1,27 @@
66 > -# Copyright 2016 Gentoo Foundation
67 > +# Copyright 1999-2016 Gentoo Foundation
68 > # Distributed under the terms of the GNU General Public License v2
69 > # $Id$
70 >
71 > -EAPI="6"
72 > -PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
73 > +EAPI=6
74 > +PYTHON_COMPAT=( python{2_7,3_4,3_5} )
75 >
76 > inherit distutils-r1
77 >
78 > -DESCRIPTION="Python bindings to FreeDesktop.org Secret Service API"
79 > -HOMEPAGE="http://pypi.python.org/pypi/SecretStorage"
80 > -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
81 > +MY_PN="SecretStorage"
82 > +
83 > +DESCRIPTION="Python bindings to FreeDesktop.org Secret Service API."
84 > +HOMEPAGE="https://github.com/mitya57/secretstorage https://pypi.python.org/pypi/SecretStorage"
85 > +SRC_URI="mirror://pypi/S/${MY_PN}/${MY_PN}-${PV}.tar.gz"
86 >
87 > LICENSE="BSD"
88 > SLOT="0"
89 > -KEYWORDS="~amd64 ~x86"
90 > +KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
91 > +IUSE=""
92 > +
93 > +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
94 > +
95 > +RDEPEND="
96 > + dev-python/cryptography[${PYTHON_USEDEP}]
97 > + dev-python/dbus-python[${PYTHON_USEDEP}]"
98 >
99 > -RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]
100 > - dev-python/cryptography[${PYTHON_USEDEP}]"
101 > +S="${WORKDIR}/${MY_PN}-${PV}"
102 >
103
104 While I did see your PR and bug if I remember correctly I didn't
105 actually use your commit or your ebuild to source it. I added it based
106 on the bug iirc (which is still waiting on the link it seems). I should
107 have mentioned that bug at the very least though and/or worked with you
108 on the ebuild.
109
110 Generally if committing from the community I will cherry-pick, which
111 does retain authorship.
112
113 Again, sorry about not updating the bug or waiting to work with you on
114 the PR. If there's something else I can do for this let me know.
115
116 --
117 -- Matthew Thode (prometheanfire)

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] Please retain authorship of contributed patches Andrey Utkin <andrey_utkin@××××××××.com>