develooper Front page | perl.perl5.changes | Postings from August 2022

[Perl/perl5] 24e3bf: add missing .mailmap entries

From:
Yves Orton via perl5-changes
Date:
August 9, 2022 10:11
Subject:
[Perl/perl5] 24e3bf: add missing .mailmap entries
Message ID:
Perl/perl5/push/refs/heads/yves/exclude_contrib/d27aa4-e25eb4@github.com
  Branch: refs/heads/yves/exclude_contrib
  Home:   https://github.com/Perl/perl5
  Commit: 24e3bf8a8f9fce63f53c744662ed2d093bf89563
      https://github.com/Perl/perl5/commit/24e3bf8a8f9fce63f53c744662ed2d093bf89563
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M .mailmap

  Log Message:
  -----------
  add missing .mailmap entries

Current Porting/updateAUTHORS.pl and t/porting/authors.t have slightly different ideas
of when data is missing.


  Commit: d4fb7ee9f21119b50efa026185fd0d2879c71030
      https://github.com/Perl/perl5/commit/d4fb7ee9f21119b50efa026185fd0d2879c71030
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M Porting/updateAUTHORS.pl

  Log Message:
  -----------
  Porting/updateAUTHORS.pl - refactor to be OO

Makes managing the state we need much easier.


  Commit: 3689d8d30ce1aaabfa4c83ff46e18907a273399a
      https://github.com/Perl/perl5/commit/3689d8d30ce1aaabfa4c83ff46e18907a273399a
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M .mailmap
    M AUTHORS
    M MANIFEST
    M Porting/README.pod
    A Porting/exclude_contrib.txt
    M Porting/updateAUTHORS.pl
    M pod/perl5340delta.pod
    M t/porting/authors.t

  Log Message:
  -----------
  Porting/updateAUTHORS.pl - add support for excluding contributors

This adds a new file Porting/exclude_contrib.pl which is managed by
Porting/updateAUTHORS.pl to exclude contributors by the base64 SHA-256
digest of their name.

This also uses this new feature to remove someone at their request from
our files.

This also changes t/porting/authors.t to no longer use
Porting/checkAUTHORS.pl which does not do the right thing these days
anyway. Instead Porting/updateAUTHORS.pl now knows how to check the
files and emit TAP.


  Commit: eb5927768b7a93e99e3dcf96e21f38a96589050e
      https://github.com/Perl/perl5/commit/eb5927768b7a93e99e3dcf96e21f38a96589050e
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M AUTHORS

  Log Message:
  -----------
  Improved header comment in AUTHORS file

At the very least the file is no longer updated or managed
with checkAUTHORS.pl


  Commit: b1aef3c2a434c09b84e6a2d458da586cb6833db7
      https://github.com/Perl/perl5/commit/b1aef3c2a434c09b84e6a2d458da586cb6833db7
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M MANIFEST
    M Porting/README.pod
    M Porting/acknowledgements.pl
    R Porting/checkAUTHORS.pl
    M Porting/exec-bit.txt
    M Porting/release_managers_guide.pod
    M Porting/updateAUTHORS.pl
    A Porting/updateAUTHORS.pm
    M README.cygwin
    R t/porting/pending-author.t

  Log Message:
  -----------
  checkAUTHORS.pl -> updateAUTHORS.pl in all cases

This removes C<checkAUTHORS.pl> and replaces it in nearly all use cases
with C<updateAUTHORS.pl>.

The only use case I am aware of that is not supported is piping a set of
commit info to a file so it can be parsed separately, and interfacing
with github to look up github accounts. C<updateAUTHORS.pl> wasn't doing
this anyway so it shouldn't matter much.

Virtually every option supported by C<checkAUTHORS.pl> is
supported by C<updateAUTHORS.pl>, along with multiple new
features, with more to come.

This patch updates t/porting/authors.t to use C<updateAUTHORS.pl> for
verifying that the AUTHORS and .mailmap data is up to date. Keeping
checkAUTHORS.pl in sync with how updateAUTHORS.pl works once the
excluded contributors file was created was a pain.

There are new reporting options as well. --files will show the files
modified during the time period, --activity will show the same but
sorted by lines added, --chainsaw will show the same but sorted lines
removed. Using any of the files related options will likely be slow if
you do it on the full history.

As part of this patch the code in the tool has been split in two. That
defining options to the tool stayed where it was, that implementing the
internal logic has been moved to F<Porting/updateAUTHORS.pm>.

This removes one test file F<t/porting/pending-authors.t> as I
couldn't figure out why it was necessary. I am pretty sure it should
not be anymore.


  Commit: e25eb4c0b3535cc494c638e7e9a4023b54171896
      https://github.com/Perl/perl5/commit/e25eb4c0b3535cc494c638e7e9a4023b54171896
  Author: Yves Orton <demerphq@gmail.com>
  Date:   2022-08-09 (Tue, 09 Aug 2022)

  Changed paths:
    M Porting/updateAUTHORS.pm

  Log Message:
  -----------
  Win32 support

binmode the pipe, use tabs not nulls, and on windows use double quotes
not single quotes


Compare: https://github.com/Perl/perl5/compare/d27aa4441af0...e25eb4c0b353



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About