Wireshark-dev: Re: [Wireshark-dev] Generate AUTHORS file
From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Tue, 6 Jan 2015 18:10:35 +0100


On Tue, Jan 6, 2015 at 6:02 PM, <mmann78@xxxxxxxxxxxx> wrote:
One thing I noticed when I reviewed one of the .mailman patches you've submitted was that some authors have multiple email addresses.  Do we really want to include them all?  I thought the current AUTHORS file typically only has one (hopefully "latest" email address)
 
With .mailmap, you can generate a AUTHORS with only one address by authors (the first of .mailmap)

For exemple with git log
if you use : git log --format='%aN %aE' | sort -u

Git use .mailmap and there is no duplicate author entry

if you use : git log --format='%an %ae' | sort -u
(note miniscules n and e)
Git don't use .mailmap, and there is duplicate author entry

I hope, i have respond to your question...

Regards,

 
 
-----Original Message-----
From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
To: Developer support list for Wireshark <wireshark-dev@xxxxxxxxxxxxx>
Sent: Tue, Jan 6, 2015 6:50 am
Subject: [Wireshark-dev] Generate AUTHORS file

Hi,

I think, it will be great to have a AUTHORS file generate from Git.

I have already add .mailmap for try to fix duplicate entry ( https://code.wireshark.org/review/#/c/5841/ )

The second step is "move" missing authors to "git" for this, i have start to remove entry in AUTHORS file using --author git option

i have push a start of work on my wireshark github repo :
https://github.com/alagoutte/wireshark/tree/git-author

Need to push ~800 commit for add all AUTHORS...

It is ok for you ?

if somebody, will no be longer display in AUTHORS, only need to add a entry on .mailmap
Anonymous < anonymous@xxxxxxxxx> Alexis La Goutte < alexis.lagoutte@xxxxxxxxx>
After when, you generate the list of AUTHORS, all Alexis La Goutte commit will be display with Anonymous

After it will be possible to generate the AUTHORS with git

I will need help for generate AUTHORS file for Autotools and CMake ;-) (i have already the git command...)

Regards,
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe