About the author information in Kimchi source code

Hi, As you have seen, we have author information in Kimchi source code to specially honour the writer of the original source files and the succeeding writers with substantial change. Unfortunately, I found the authors in some files were updated without any substantial change. One recent example about this is "src/kimchi/model/debugreports.py", the author was changed to "Aline Manera" and the original author was gone. And this change was introduced by "refactor model: Create a separated model for debug report resource" that got a new file "debugreports.py" split from another huge file without much change. I don't think this split was deserved to change the author in the new file. Then, how do we define what is "substantial change". I would say it is a new feature changing the file with more than 1/3 of the total lines of code. It is a not necessary a hard rule, but it is obvious that code split should not be deserved to have a new author for the file.

On 02/25/2014 04:51 PM, Shu Ming wrote:
Hi,
As you have seen, we have author information in Kimchi source code to specially honour the writer of the original source files and the succeeding writers with substantial change. Unfortunately, I found the authors in some files were updated without any substantial change. One recent example about this is "src/kimchi/model/debugreports.py", the author was changed to "Aline Manera" and the original author was gone. And this change was introduced by "refactor model: Create a separated model for debug report resource" that got a new file "debugreports.py" split from another huge file without much change. I don't think this split was deserved to change the author in the new file. Then, how do we define what is "substantial change". I would say it is a new feature changing the file with more than 1/3 of the total lines of code. It is a not necessary a hard rule, but it is obvious that code split should not be deserved to have a new author for the file. In open source: Usually, the original author know the feature design well. And we usually put the authors in the files. When the users counter problems or bug, he can get help from authors conveniently.
Also if we embed third source code into our open source project, we should not remove the authors name. For example, we embed the a i18n tool in kimch, but we still keep the original authors. in m4/po.m4 you can find the authors list as follow: dnl Authors: dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000. dnl Bruno Haible <haible@clisp.cons.org>, 2000-2003. neither Ulrich Drepper or Bruno Haible is kimchi developer.
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
-- Thanks and best regards! Sheldon Feng(冯少合)<shaohef@linux.vnet.ibm.com> IBM Linux Technology Center

One recent example about this is "src/kimchi/model/debugreports.py", the author was changed to "Aline Manera" and the original author was gone. Who is the original author of this specific example you mentioned? I
On 02/25/2014 05:51 AM, Shu Ming wrote: think that if the original author is uncomfortable he/she can submit a patch fixing it.

On 2/25/2014 8:22 AM, Daniel H Barboza wrote:
One recent example about this is "src/kimchi/model/debugreports.py", the author was changed to "Aline Manera" and the original author was gone. Who is the original author of this specific example you mentioned? I
On 02/25/2014 05:51 AM, Shu Ming wrote: think that if the original author is uncomfortable he/she can submit a patch fixing it.
Agree. Ming, Go ahead and submit a patch correcting the error. -- Adam King <rak@linux.vnet.ibm.com> IBM C&SI

On 02/25/2014 05:51 AM, Shu Ming wrote:
Hi,
As you have seen, we have author information in Kimchi source code to specially honour the writer of the original source files and the succeeding writers with substantial change. Unfortunately, I found the authors in some files were updated without any substantial change. One recent example about this is "src/kimchi/model/debugreports.py", the author was changed to "Aline Manera" and the original author was gone. And this change was introduced by "refactor model: Create a separated model for debug report resource" that got a new file "debugreports.py" split from another huge file without much change. I don't think this split was deserved to change the author in the new file. Then, how do we define what is "substantial change". I would say it is a new feature changing the file with more than 1/3 of the total lines of code. It is a not necessary a hard rule, but it is obvious that code split should not be deserved to have a new author for the file.
Sorry, Ming, about that. I created the license header on model/__init__.py and used it in all new files I created for refactoring model task. My intention was not get credits from a work I didn't do. And if you see in the former model.py (commit a0a4dc0f949ed664076b5c47184d2b086d6de942) only Adam Litke is listed as the author so, from what you wrote above, I should keep him as the author for *all* files created during refactor model. **But** everyone knows everyone had contributed to model.py as well for any other file in Kimchi source repository. So I am wondering why to have the name listed there became so important right now. You don't need to have your name listed there to get credits or honor for a work you did. git log is there to show all the contributions, the same for github (https://github.com/kimchi-project/kimchi/graphs/contributors) About the issue you mentioned, I was more concerned about getting the refactor model done than check line by line to identify who had written it. We also have the AUTHORS file which list everyone as contributors to Kimchi.
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel

If I could be a little pedantic, I think that the lesson we can take from this is that we should always give our colleagues the "benefit of the doubt." IOW: assume a perceived wrong as an honest mistake instead of an intentional bad behavior. And if in doubt, just ask! Regards, Christy On Tue, 2014-02-25 at 19:58 -0300, Aline Manera wrote:
On 02/25/2014 05:51 AM, Shu Ming wrote:
Hi,
As you have seen, we have author information in Kimchi source code to specially honour the writer of the original source files and the succeeding writers with substantial change. Unfortunately, I found the authors in some files were updated without any substantial change. One recent example about this is "src/kimchi/model/debugreports.py", the author was changed to "Aline Manera" and the original author was gone. And this change was introduced by "refactor model: Create a separated model for debug report resource" that got a new file "debugreports.py" split from another huge file without much change. I don't think this split was deserved to change the author in the new file. Then, how do we define what is "substantial change". I would say it is a new feature changing the file with more than 1/3 of the total lines of code. It is a not necessary a hard rule, but it is obvious that code split should not be deserved to have a new author for the file.
Sorry, Ming, about that. I created the license header on model/__init__.py and used it in all new files I created for refactoring model task. My intention was not get credits from a work I didn't do.
And if you see in the former model.py (commit a0a4dc0f949ed664076b5c47184d2b086d6de942) only Adam Litke is listed as the author so, from what you wrote above, I should keep him as the author for *all* files created during refactor model. **But** everyone knows everyone had contributed to model.py as well for any other file in Kimchi source repository. So I am wondering why to have the name listed there became so important right now.
You don't need to have your name listed there to get credits or honor for a work you did. git log is there to show all the contributions, the same for github (https://github.com/kimchi-project/kimchi/graphs/contributors)
About the issue you mentioned, I was more concerned about getting the refactor model done than check line by line to identify who had written it.
We also have the AUTHORS file which list everyone as contributors to Kimchi.
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
_______________________________________________ Kimchi-devel mailing list Kimchi-devel@ovirt.org http://lists.ovirt.org/mailman/listinfo/kimchi-devel
participants (6)
-
Adam King
-
Aline Manera
-
Christy Perez
-
Daniel H Barboza
-
Sheldon
-
Shu Ming