You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Vladimir Sitnikov <si...@gmail.com> on 2023/07/01 08:39:39 UTC
Suggestion: avoid adding @author tag to javadoc
Hi,
I suggest to stop adding @author tags.
The relevant information exists in Git, and it is hard to tell when @author
tags should be added, updated, and removed.
See reasoning in
https://stackoverflow.com/a/17271433,
https://github.com/junit-team/junit5/issues/914#issuecomment-328078934
What do you think?
Vladimir
--
Vladimir
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
Putting it in the POM is entirely acceptable, if someone is volunteering to do that data preservation. Could be started with a basic grep and a bit of formatting.
I'm otherwise committed for the next week, so I can't offer until after that. If someone else posts a first draft, I may be able to sanity-check and comment.
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Gary Gregory <ga...@gmail.com>
Sent: Saturday, July 1, 2023 5:14:50 PM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: Suggestion: avoid adding @author tag to javadoc
Joe,
All that information, to whatever level of detail you want, should be in pom.xml under your entry. IMO.
Gary
On Sat, Jul 1, 2023, 15:33 Joseph Kesselman <ke...@alum.mit.edu>> wrote:
As I say, only mild disagreement; if someone wants to aggregate the credits I won't object. I still like my thought of doing that by package, but if that's too much effort, sigh. (I may also be biased by the fact that some things, such as DTM, are largely my fault.)
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Joseph Kesselman <ke...@alum.mit.edu>>
Sent: Saturday, July 1, 2023 5:17:40 AM
To: dev@xalan.apache.org<ma...@xalan.apache.org> <de...@xalan.apache.org>>
Subject: Re: Suggestion: avoid adding @author tag to javadoc
Mild disagreement. I like seeing the reminders of who contributed to what parts of the system, and some of that history predates our moving to Git (or even the code's contribution to Apache).
I think authors deserve credit.
But I'm biased; I worked directly with many of those people.
I suppose the information could be extracted and summarized into a "credits page", if someone wanted to spend the cycles on that.
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Vladimir Sitnikov <si...@gmail.com>>
Sent: Saturday, July 1, 2023 4:39:39 AM
To: dev@xalan.apache.org<ma...@xalan.apache.org> <de...@xalan.apache.org>>
Subject: Suggestion: avoid adding @author tag to javadoc
Hi,
I suggest to stop adding @author tags.
The relevant information exists in Git, and it is hard to tell when @author tags should be added, updated, and removed.
See reasoning in
https://stackoverflow.com/a/17271433,
https://github.com/junit-team/junit5/issues/914#issuecomment-328078934
What do you think?
Vladimir
--
Vladimir
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Gary Gregory <ga...@gmail.com>.
Joe,
All that information, to whatever level of detail you want, should be in
pom.xml under your entry. IMO.
Gary
On Sat, Jul 1, 2023, 15:33 Joseph Kesselman <ke...@alum.mit.edu> wrote:
> As I say, only mild disagreement; if someone wants to aggregate the
> credits I won't object. I still like my thought of doing that by package,
> but if that's too much effort, sigh. (I may also be biased by the fact that
> some things, such as DTM, are largely my fault.)
>
> --
> /_ Joe Kesselman (he/him/his)
> -/ _) My Alexa skill for New Music/New Sounds fans:
> / https://www.amazon.com/dp/B09WJ3H657/
>
> () Plaintext Ribbon Campaign
> /\ Stamp out HTML mail!
> ------------------------------
> *From:* Joseph Kesselman <ke...@alum.mit.edu>
> *Sent:* Saturday, July 1, 2023 5:17:40 AM
> *To:* dev@xalan.apache.org <de...@xalan.apache.org>
> *Subject:* Re: Suggestion: avoid adding @author tag to javadoc
>
> Mild disagreement. I like seeing the reminders of who contributed to what
> parts of the system, and some of that history predates our moving to Git
> (or even the code's contribution to Apache).
>
> I think authors deserve credit.
>
> But I'm biased; I worked directly with many of those people.
>
> I suppose the information could be extracted and summarized into a
> "credits page", if someone wanted to spend the cycles on that.
>
> --
> /_ Joe Kesselman (he/him/his)
> -/ _) My Alexa skill for New Music/New Sounds fans:
> / https://www.amazon.com/dp/B09WJ3H657/
>
> () Plaintext Ribbon Campaign
> /\ Stamp out HTML mail!
> ------------------------------
> *From:* Vladimir Sitnikov <si...@gmail.com>
> *Sent:* Saturday, July 1, 2023 4:39:39 AM
> *To:* dev@xalan.apache.org <de...@xalan.apache.org>
> *Subject:* Suggestion: avoid adding @author tag to javadoc
>
> Hi,
>
> I suggest to stop adding @author tags.
>
> The relevant information exists in Git, and it is hard to tell when
> @author tags should be added, updated, and removed.
>
> See reasoning in
> https://stackoverflow.com/a/17271433,
> https://github.com/junit-team/junit5/issues/914#issuecomment-328078934
>
> What do you think?
>
> Vladimir
> --
> Vladimir
>
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
As I say, only mild disagreement; if someone wants to aggregate the credits I won't object. I still like my thought of doing that by package, but if that's too much effort, sigh. (I may also be biased by the fact that some things, such as DTM, are largely my fault.)
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Joseph Kesselman <ke...@alum.mit.edu>
Sent: Saturday, July 1, 2023 5:17:40 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: Suggestion: avoid adding @author tag to javadoc
Mild disagreement. I like seeing the reminders of who contributed to what parts of the system, and some of that history predates our moving to Git (or even the code's contribution to Apache).
I think authors deserve credit.
But I'm biased; I worked directly with many of those people.
I suppose the information could be extracted and summarized into a "credits page", if someone wanted to spend the cycles on that.
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Vladimir Sitnikov <si...@gmail.com>
Sent: Saturday, July 1, 2023 4:39:39 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Suggestion: avoid adding @author tag to javadoc
Hi,
I suggest to stop adding @author tags.
The relevant information exists in Git, and it is hard to tell when @author tags should be added, updated, and removed.
See reasoning in
https://stackoverflow.com/a/17271433,
https://github.com/junit-team/junit5/issues/914#issuecomment-328078934
What do you think?
Vladimir
--
Vladimir
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
Mailing list is good for discussion, but issues are usually what drives work being done.
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Vladimir Sitnikov <si...@gmail.com>
Sent: Saturday, July 1, 2023 5:35:29 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: Suggestion: avoid adding @author tag to javadoc
I see the community prefers issues rather than mailing list, so I've created https://issues.apache.org/jira/browse/XALANJ-2672
Vladimir
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Vladimir Sitnikov <si...@gmail.com>.
I see the community prefers issues rather than mailing list, so I've
created https://issues.apache.org/jira/browse/XALANJ-2672
Vladimir
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Gary Gregory <ga...@gmail.com>.
FWIW, I don't think email addresses should be edited, unless it's your own.
Gary
On Tue, Jul 11, 2023, 11:26 Joseph Kessselman <ke...@alum.mit.edu> wrote:
> I'm back from vacation.
>
> There are fewer @author tags than I expected in xalan-java. And much of
> the information I wanted to preserve is in the history.xml and
> resources.xml files under xdocs/sources/xalan.
>
> I'm not sure whether the "human resource" entries in resources.xml
> include everyone. We *could* add the remaining people there, with the
> recognition that the email addresses are mostly obsolete, and possibly
> with the schema modified to allow multiple addresses and/or
> <previous-mailto/> as well as <mailto/>.
>
> Note that the lotus.com addresses mostly became us.ibm.com addresses.
>
>
> Extracted from the @author tags, reformatted slightly for consistency:
>
>
> Andy Clark, IBM
> Arnaud Le Hors, IBM
> Arun Yadav, Sun Microsytems
> Don Leslie, donald_leslie@lotus.com
> Donald Leslie
> Douglas Sellers, douglasjsellers@hotmail.com
> Eric Ye, IBM
> Erwin Bolwidt, ejb@klomp.org
> G. Todd Miller
> Gary L Peskin, garyp@firstech.com
> Glenn Marcy, IBM
> Gopal Sharma, SUN Microsystems
> Gunnlaugur Briem, gthb@dimon.is
> Igor Hersht, igorh@ca.ibm.com
> Jacek Ambroziak
> Jochen Cordes, Jochen.Cordes@t-online.de
> John Gentilin
> John Howard, JohnH@schemasoft.com
> Joseph Kesselman, keshlam@us.ibm.com, keshlam@kubyc.solutions
> Michael Glavassevich, IBM
> Morten Jorgensen, morten.jorgensen@sun.com
> Neil Graham, IBM
> Ovidiu Predescu, ovidiu@cup.hp.com
> Paul Campbell seapwc@halcyon.com
> R. Adam King, rak@us.ibm.com
> Rahul Srivastava, Sun Microsystems Inc.
> Ramesh Mandava, ramesh.mandava@sun.com
> Richard Cao, richcao@ca.ibm.com
> Sanjiva Weerawarana, sanjiva@watson.ibm.com
> Santiago Pericas-Geertsen
> Scott Boag, scott_boag@lotus.com, scott_boag@us.ibm.com
> Shane Cucuru, shane_curcuru@us.ibm.com
> Spencer Shepard, sshepard@us.ibm.com
> Todd Miller
> Tom Rowe, trowe@us.ibm.com
> W. Eliot Kimber, eliot@isogen.com
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
> For additional commands, e-mail: dev-help@xalan.apache.org
>
>
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Joseph Kessselman <ke...@alum.mit.edu>.
I'm back from vacation.
There are fewer @author tags than I expected in xalan-java. And much of
the information I wanted to preserve is in the history.xml and
resources.xml files under xdocs/sources/xalan.
I'm not sure whether the "human resource" entries in resources.xml
include everyone. We *could* add the remaining people there, with the
recognition that the email addresses are mostly obsolete, and possibly
with the schema modified to allow multiple addresses and/or
<previous-mailto/> as well as <mailto/>.
Note that the lotus.com addresses mostly became us.ibm.com addresses.
Extracted from the @author tags, reformatted slightly for consistency:
Andy Clark, IBM
Arnaud Le Hors, IBM
Arun Yadav, Sun Microsytems
Don Leslie, donald_leslie@lotus.com
Donald Leslie
Douglas Sellers, douglasjsellers@hotmail.com
Eric Ye, IBM
Erwin Bolwidt, ejb@klomp.org
G. Todd Miller
Gary L Peskin, garyp@firstech.com
Glenn Marcy, IBM
Gopal Sharma, SUN Microsystems
Gunnlaugur Briem, gthb@dimon.is
Igor Hersht, igorh@ca.ibm.com
Jacek Ambroziak
Jochen Cordes, Jochen.Cordes@t-online.de
John Gentilin
John Howard, JohnH@schemasoft.com
Joseph Kesselman, keshlam@us.ibm.com, keshlam@kubyc.solutions
Michael Glavassevich, IBM
Morten Jorgensen, morten.jorgensen@sun.com
Neil Graham, IBM
Ovidiu Predescu, ovidiu@cup.hp.com
Paul Campbell seapwc@halcyon.com
R. Adam King, rak@us.ibm.com
Rahul Srivastava, Sun Microsystems Inc.
Ramesh Mandava, ramesh.mandava@sun.com
Richard Cao, richcao@ca.ibm.com
Sanjiva Weerawarana, sanjiva@watson.ibm.com
Santiago Pericas-Geertsen
Scott Boag, scott_boag@lotus.com, scott_boag@us.ibm.com
Shane Cucuru, shane_curcuru@us.ibm.com
Spencer Shepard, sshepard@us.ibm.com
Todd Miller
Tom Rowe, trowe@us.ibm.com
W. Eliot Kimber, eliot@isogen.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
I'm willing to let whoever does the work make the call.
My only hesitation about the git logs is that they might not capture the IBM folks who worked on LotusXSL before it was donated to Apache as Xalan, and probably has no record of the Sun folks before compilation was merged into Xalan. The author tags may have those people.
Courtesy/tradition/convenience tradeoffs...
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Gary Gregory <ga...@gmail.com>
Sent: Sunday, July 2, 2023 12:11:55 PM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: Suggestion: avoid adding @author tag to javadoc
Removing the tags is a trivial serach and replace task.
My simple view is that authorship is transferred to the pom.xml. For me personally, a non-detailed entry is enough.
For others that want their footprints recorded, the proper path might be to scan the git log for all the files that person touched since day one and list those in the description.
Gary
On Sun, Jul 2, 2023, 10:16 Mukul Gandhi <mu...@apache.org>> wrote:
Hi Gary,
On Sun, Jul 2, 2023 at 6:20 PM Gary Gregory <ga...@gmail.com>> wrote:
>
> In (requires login and proper rights)
>
> https://whimsy.apache.org/board/minutes/Confirming_that_the_current_stance_on__author_tags_as.html
>
> I quote the Apache Board minutes:
>
> "per Greg's email message of February is still appropriate
> (Recommend strongly that @author is avoided; but leave it to
> each PMC to make the final call with their respective
> communities.).
>
> This was confirmed."
>
> Well, the way I see it, nothing is required of us to happen, but I do not see why we would go against a STRONG recommendation.
Thanks for the details. I agree with you.
I guess that, this activity needs to be done a bit carefully.
From a technical point of view, I guess, if @author tags need to be
deleted from XalanJ .java codebase files, then these actions need to
be consistent across XalanJ's all the .java codebase files (that is,
all XalanJ .java codebase files may need to be cleared of these
details). But I guess that, this may not be trivial task. After
clearing all these @author tags, we may need to test XalanJ
implementation and look whether XalanJ javadocs appears nice (and
XalanJ team may need to certify that, XalanJ implementation is fine
after these actions).
Also I guess, assuming all @author tags from XalanJ codebase get
deleted, then there needs to be a place perhaps somewhere on XalanJ
site mentioning, who all are contributors to XalanJ project (I guess,
you could be one of the main persons to determine this information,
and to put this information together on XalanJ site). I guess, its
nice for a public site of a software project like XalanJ, to have this
information (I've observed that, many of the ASF projects sites have,
information like "who we are", "who's involved").
I also personally feel that, XalanJ .java codebase files may be having
@author tags referring to original authors of XalanJ codebase. As a
courtesy to these people, I guess the @author tags mentioning these
people's references may be retained. IMHO, the current XalanJ team is
maintaining codebase donated by these kind persons. I personally, feel
pride with this activity :)
I'll leave it to you, and persons like Joseph Kesselman, to decide
about this topic for XalanJ and conclude this activity further.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org<ma...@xalan.apache.org>
For additional commands, e-mail: dev-help@xalan.apache.org<ma...@xalan.apache.org>
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Gary Gregory <ga...@gmail.com>.
Removing the tags is a trivial serach and replace task.
My simple view is that authorship is transferred to the pom.xml. For me
personally, a non-detailed entry is enough.
For others that want their footprints recorded, the proper path might be to
scan the git log for all the files that person touched since day one and
list those in the description.
Gary
On Sun, Jul 2, 2023, 10:16 Mukul Gandhi <mu...@apache.org> wrote:
> Hi Gary,
>
> On Sun, Jul 2, 2023 at 6:20 PM Gary Gregory <ga...@gmail.com>
> wrote:
> >
> > In (requires login and proper rights)
> >
> >
> https://whimsy.apache.org/board/minutes/Confirming_that_the_current_stance_on__author_tags_as.html
> >
> > I quote the Apache Board minutes:
> >
> > "per Greg's email message of February is still appropriate
> > (Recommend strongly that @author is avoided; but leave it to
> > each PMC to make the final call with their respective
> > communities.).
> >
> > This was confirmed."
> >
> > Well, the way I see it, nothing is required of us to happen, but I do
> not see why we would go against a STRONG recommendation.
>
> Thanks for the details. I agree with you.
>
> I guess that, this activity needs to be done a bit carefully.
>
> From a technical point of view, I guess, if @author tags need to be
> deleted from XalanJ .java codebase files, then these actions need to
> be consistent across XalanJ's all the .java codebase files (that is,
> all XalanJ .java codebase files may need to be cleared of these
> details). But I guess that, this may not be trivial task. After
> clearing all these @author tags, we may need to test XalanJ
> implementation and look whether XalanJ javadocs appears nice (and
> XalanJ team may need to certify that, XalanJ implementation is fine
> after these actions).
>
> Also I guess, assuming all @author tags from XalanJ codebase get
> deleted, then there needs to be a place perhaps somewhere on XalanJ
> site mentioning, who all are contributors to XalanJ project (I guess,
> you could be one of the main persons to determine this information,
> and to put this information together on XalanJ site). I guess, its
> nice for a public site of a software project like XalanJ, to have this
> information (I've observed that, many of the ASF projects sites have,
> information like "who we are", "who's involved").
>
> I also personally feel that, XalanJ .java codebase files may be having
> @author tags referring to original authors of XalanJ codebase. As a
> courtesy to these people, I guess the @author tags mentioning these
> people's references may be retained. IMHO, the current XalanJ team is
> maintaining codebase donated by these kind persons. I personally, feel
> pride with this activity :)
>
> I'll leave it to you, and persons like Joseph Kesselman, to decide
> about this topic for XalanJ and conclude this activity further.
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
> For additional commands, e-mail: dev-help@xalan.apache.org
>
>
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Mukul Gandhi <mu...@apache.org>.
Hi Gary,
On Sun, Jul 2, 2023 at 6:20 PM Gary Gregory <ga...@gmail.com> wrote:
>
> In (requires login and proper rights)
>
> https://whimsy.apache.org/board/minutes/Confirming_that_the_current_stance_on__author_tags_as.html
>
> I quote the Apache Board minutes:
>
> "per Greg's email message of February is still appropriate
> (Recommend strongly that @author is avoided; but leave it to
> each PMC to make the final call with their respective
> communities.).
>
> This was confirmed."
>
> Well, the way I see it, nothing is required of us to happen, but I do not see why we would go against a STRONG recommendation.
Thanks for the details. I agree with you.
I guess that, this activity needs to be done a bit carefully.
From a technical point of view, I guess, if @author tags need to be
deleted from XalanJ .java codebase files, then these actions need to
be consistent across XalanJ's all the .java codebase files (that is,
all XalanJ .java codebase files may need to be cleared of these
details). But I guess that, this may not be trivial task. After
clearing all these @author tags, we may need to test XalanJ
implementation and look whether XalanJ javadocs appears nice (and
XalanJ team may need to certify that, XalanJ implementation is fine
after these actions).
Also I guess, assuming all @author tags from XalanJ codebase get
deleted, then there needs to be a place perhaps somewhere on XalanJ
site mentioning, who all are contributors to XalanJ project (I guess,
you could be one of the main persons to determine this information,
and to put this information together on XalanJ site). I guess, its
nice for a public site of a software project like XalanJ, to have this
information (I've observed that, many of the ASF projects sites have,
information like "who we are", "who's involved").
I also personally feel that, XalanJ .java codebase files may be having
@author tags referring to original authors of XalanJ codebase. As a
courtesy to these people, I guess the @author tags mentioning these
people's references may be retained. IMHO, the current XalanJ team is
maintaining codebase donated by these kind persons. I personally, feel
pride with this activity :)
I'll leave it to you, and persons like Joseph Kesselman, to decide
about this topic for XalanJ and conclude this activity further.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
So moved, then.
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Gary Gregory <ga...@gmail.com>
Sent: Sunday, July 2, 2023 8:50:04 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Re: Suggestion: avoid adding @author tag to javadoc
In (requires login and proper rights)
https://whimsy.apache.org/board/minutes/Confirming_that_the_current_stance_on__author_tags_as.html
I quote the Apache Board minutes:
"per Greg's email message of February is still appropriate
(Recommend strongly that @author is avoided; but leave it to
each PMC to make the final call with their respective
communities.).
This was confirmed."
Well, the way I see it, nothing is required of us to happen, but I do not see why we would go against a STRONG recommendation.
Gary
On Sun, Jul 2, 2023, 08:40 Mukul Gandhi <mu...@apache.org>> wrote:
Hi Gary & all,
On Sat, Jul 1, 2023 at 5:10 PM Gary Gregory <ga...@gmail.com>> wrote:
> In general @author tags are discouraged Apache wide IIRC but I don't have a URL for that. Over in the Commons project, we not only stopped using them, but I've removed most of them. The tags are usually misleading because that's usually never the only person who touched the file. You then get into games about what the threshold for adding a name is, and that's a waste of time IMO.
>
> Instead, authors get credit in the pom.xml, and in changed.xml for each action element which are used to generate release notes. And that's a much better reflection of who did what.
>
> My suggestion is that we do the same in Xalan-J.
I've just been analyzing earlier today, XalanJ codebase on dev branch
xalan-j_xslt3.0, about presence of @author tags, and below are few of
my findings,
From all the .java files from XalanJ dev branch xalan-j_xslt3.0, that
have @author tags,
1) Total number of Java files that've these tags 726
There are following two types of @author tags present,
@author tags that have person's name but not email address
@author tags that have person's name and email address both
2) The Java files that bear my name and email address 86
Please advise, how we should proceed given these @author tags
information details, within XalanJ codebase in general.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org<ma...@xalan.apache.org>
For additional commands, e-mail: dev-help@xalan.apache.org<ma...@xalan.apache.org>
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Gary Gregory <ga...@gmail.com>.
In (requires login and proper rights)
https://whimsy.apache.org/board/minutes/Confirming_that_the_current_stance_on__author_tags_as.html
I quote the Apache Board minutes:
"per Greg's email message of February is still appropriate
(Recommend strongly that @author is avoided; but leave it to
each PMC to make the final call with their respective
communities.).
This was confirmed."
Well, the way I see it, nothing is required of us to happen, but I do not
see why we would go against a STRONG recommendation.
Gary
On Sun, Jul 2, 2023, 08:40 Mukul Gandhi <mu...@apache.org> wrote:
> Hi Gary & all,
>
> On Sat, Jul 1, 2023 at 5:10 PM Gary Gregory <ga...@gmail.com>
> wrote:
>
> > In general @author tags are discouraged Apache wide IIRC but I don't
> have a URL for that. Over in the Commons project, we not only stopped using
> them, but I've removed most of them. The tags are usually misleading
> because that's usually never the only person who touched the file. You then
> get into games about what the threshold for adding a name is, and that's a
> waste of time IMO.
> >
> > Instead, authors get credit in the pom.xml, and in changed.xml for each
> action element which are used to generate release notes. And that's a much
> better reflection of who did what.
> >
> > My suggestion is that we do the same in Xalan-J.
>
> I've just been analyzing earlier today, XalanJ codebase on dev branch
> xalan-j_xslt3.0, about presence of @author tags, and below are few of
> my findings,
>
> From all the .java files from XalanJ dev branch xalan-j_xslt3.0, that
> have @author tags,
>
> 1) Total number of Java files that've these tags 726
>
> There are following two types of @author tags present,
>
> @author tags that have person's name but not email address
>
> @author tags that have person's name and email address both
>
> 2) The Java files that bear my name and email address 86
>
> Please advise, how we should proceed given these @author tags
> information details, within XalanJ codebase in general.
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
> For additional commands, e-mail: dev-help@xalan.apache.org
>
>
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Mukul Gandhi <mu...@apache.org>.
Hi Gary & all,
On Sat, Jul 1, 2023 at 5:10 PM Gary Gregory <ga...@gmail.com> wrote:
> In general @author tags are discouraged Apache wide IIRC but I don't have a URL for that. Over in the Commons project, we not only stopped using them, but I've removed most of them. The tags are usually misleading because that's usually never the only person who touched the file. You then get into games about what the threshold for adding a name is, and that's a waste of time IMO.
>
> Instead, authors get credit in the pom.xml, and in changed.xml for each action element which are used to generate release notes. And that's a much better reflection of who did what.
>
> My suggestion is that we do the same in Xalan-J.
I've just been analyzing earlier today, XalanJ codebase on dev branch
xalan-j_xslt3.0, about presence of @author tags, and below are few of
my findings,
From all the .java files from XalanJ dev branch xalan-j_xslt3.0, that
have @author tags,
1) Total number of Java files that've these tags 726
There are following two types of @author tags present,
@author tags that have person's name but not email address
@author tags that have person's name and email address both
2) The Java files that bear my name and email address 86
Please advise, how we should proceed given these @author tags
information details, within XalanJ codebase in general.
--
Regards,
Mukul Gandhi
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xalan.apache.org
For additional commands, e-mail: dev-help@xalan.apache.org
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Gary Gregory <ga...@gmail.com>.
In general @author tags are discouraged Apache wide IIRC but I don't have a
URL for that. Over in the Commons project, we not only stopped using them,
but I've removed most of them. The tags are usually misleading because
that's usually never the only person who touched the file. You then get
into games about what the threshold for adding a name is, and that's a
waste of time IMO.
Instead, authors get credit in the pom.xml, and in changed.xml for each
action element which are used to generate release notes. And that's a much
better reflection of who did what.
My suggestion is that we do the same in Xalan-J.
2c,
Gary
On Sat, Jul 1, 2023, 05:17 Joseph Kesselman <ke...@alum.mit.edu> wrote:
> Mild disagreement. I like seeing the reminders of who contributed to what
> parts of the system, and some of that history predates our moving to Git
> (or even the code's contribution to Apache).
>
> I think authors deserve credit.
>
> But I'm biased; I worked directly with many of those people.
>
> I suppose the information could be extracted and summarized into a
> "credits page", if someone wanted to spend the cycles on that.
>
> --
> /_ Joe Kesselman (he/him/his)
> -/ _) My Alexa skill for New Music/New Sounds fans:
> / https://www.amazon.com/dp/B09WJ3H657/
>
> () Plaintext Ribbon Campaign
> /\ Stamp out HTML mail!
> ------------------------------
> *From:* Vladimir Sitnikov <si...@gmail.com>
> *Sent:* Saturday, July 1, 2023 4:39:39 AM
> *To:* dev@xalan.apache.org <de...@xalan.apache.org>
> *Subject:* Suggestion: avoid adding @author tag to javadoc
>
> Hi,
>
> I suggest to stop adding @author tags.
>
> The relevant information exists in Git, and it is hard to tell when
> @author tags should be added, updated, and removed.
>
> See reasoning in
> https://stackoverflow.com/a/17271433,
> https://github.com/junit-team/junit5/issues/914#issuecomment-328078934
>
> What do you think?
>
> Vladimir
> --
> Vladimir
>
Re: Suggestion: avoid adding @author tag to javadoc
Posted by Joseph Kesselman <ke...@alum.mit.edu>.
Mild disagreement. I like seeing the reminders of who contributed to what parts of the system, and some of that history predates our moving to Git (or even the code's contribution to Apache).
I think authors deserve credit.
But I'm biased; I worked directly with many of those people.
I suppose the information could be extracted and summarized into a "credits page", if someone wanted to spend the cycles on that.
--
/_ Joe Kesselman (he/him/his)
-/ _) My Alexa skill for New Music/New Sounds fans:
/ https://www.amazon.com/dp/B09WJ3H657/
() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!
________________________________
From: Vladimir Sitnikov <si...@gmail.com>
Sent: Saturday, July 1, 2023 4:39:39 AM
To: dev@xalan.apache.org <de...@xalan.apache.org>
Subject: Suggestion: avoid adding @author tag to javadoc
Hi,
I suggest to stop adding @author tags.
The relevant information exists in Git, and it is hard to tell when @author tags should be added, updated, and removed.
See reasoning in
https://stackoverflow.com/a/17271433,
https://github.com/junit-team/junit5/issues/914#issuecomment-328078934
What do you think?
Vladimir
--
Vladimir