Branch: refs/heads/yves/more_sync_with_cpan_fun
  Home:   https://github.com/Perl/perl5
  Commit: c8df84a4dfb3f9ae6e506af2e1416e89d318a922
      
https://github.com/Perl/perl5/commit/c8df84a4dfb3f9ae6e506af2e1416e89d318a922
  Author: Yves Orton <[email protected]>
  Date:   2023-03-04 (Sat, 04 Mar 2023)

  Changed paths:
    M Porting/Maintainers.pl
    M Porting/sync-with-cpan

  Log Message:
  -----------
  Porting/sync-with-cpan - Many improvements

* Clean up cpan directory before starting (after giving the user a
  chance to bail out first).
* Use the "make" (now run_make) infra for all testing, this ensures that
  it is all logged in a standard way, and that it all respects the
  various parallelism flags that are passed in. We also extract the
  test summary data if there is a failure. This massively speeds up the
  process when TEST_JOBS is set.
* Always update the MANIFEST so that the lines for the files we have
  synced show that they have a description if they are new or if they
  have no existing description. We leave previous non empty descriptions
  alone in case they have been customized manually.
* Hint to the user that they can use `tail -F mail.log` to watch what
  is going on if they wish.
* Update Maintainers.pl early. A common issue with the old version of
  the script was that if people bailed out early the maintainer data
  would not be updated.
* Automatically extract Changes or Changelog from the release and use it
  to automatically commit the update if successful. Includes various
  heuristics to deal with the different changelog formats used. (Has
  been tested on all modules.)
* Allow reupdating the most recent release of a cpan package. (To fixup
  issues that might have occurred in the original update.)
* Support the --yes option to automatically continue where we normally
  would prompt for user approval.
* Support the --no-test option to disable testing to speed things up
  for bulk updates.
* Add some metadata to the Porting/Maintainers.PL to record who and when
  the distribution was updated. This is duplicative of what git log
  can show, but it is helpful for "at a glance" review. (It also
  helps for testing the changelog extraction above as it ensures that
  there is something to commit.)
* Improved docs for the options that are supported.
* Better detection of which distributions is being updated. For instance
  sync-with-cpan Scalar-List-Utils now works properly. There is now a
  %DistName has that is populated with the different dist names to map
  to module name used in the %Modules hash in Porting/Maintainers.pl.
  This means that $Modules{$DistName{"cpan/Scalar-List-Utils"}} returns
  the correct information, as does $Modules{$DistName{"Scalar-List-Utils"}}

Various other minor tweaks not worth mentioning here.


  Commit: 0eb1d53a80f020fec02737952eef77079ad8f809
      
https://github.com/Perl/perl5/commit/0eb1d53a80f020fec02737952eef77079ad8f809
  Author: Yves Orton <[email protected]>
  Date:   2023-03-04 (Sat, 04 Mar 2023)

  Changed paths:
    M MANIFEST
    M Porting/Maintainers.pl

  Log Message:
  -----------
  MANIFEST + P/Maintainers.pl - changes missed from Config::Perl::V 0.36 update

The MANIFEST file was not updated very artfully in older versions of the
sync script, and the porting tests took so long I bailed out of them
without letting the Maintainers.pl file get updated. Since there is no
test that the Maintainers.pl file is up to date (yet) I didn't notice
that doing so leaves the Maintainers.pl out of date.

The Porting/sync-with-cpan script has been updated to be nicer and
faster and avoid these problems in the future. See previous commit.


Compare: https://github.com/Perl/perl5/compare/b1f63dc87dee...0eb1d53a80f0

Reply via email to