diff options
author | Yves Orton <demerphq@gmail.com> | 2023-03-03 12:45:10 +0100 |
---|---|---|
committer | Yves Orton <demerphq@gmail.com> | 2023-03-05 20:23:42 +0800 |
commit | bf8d775317f3df8c367058d840890024aa213c1c (patch) | |
tree | 5561db6ab698c8098b4b851b7295d0ec7e37df58 /scope.c | |
parent | 8504d9c4645a3a76b80866893c5b4e5511ec4d13 (diff) | |
download | perl-bf8d775317f3df8c367058d840890024aa213c1c.tar.gz |
P/manifest_lib.pl - tweak MANIFEST sort order, better description indent
This patch ensures that all files in a common sub-directory or
preferably sub-directory pair will have their descriptions "indented"
to the same level. Eg, all files in cpan/Foo should have the
description line up.
I did some analysis and something like 95% of our files are less than
40 characters. So short files mostly have their descriptions start
on column 40, with the caveat that if they are in a subdirectory
This also changes the sort order so files at the top level of the
repo, which are mostly C files, are sorted together, and not with
things in cpan/ dist/ or ext/, which are grouped separately.
It has been pointed out that the format for MANIFEST differs from
that used by ExtUtils::Manifest, and that maybe we should migrate.
That would allow us to use normal spaces as separators instead of tabs,
and be more fine grained about how we line up the files. IMO this
is a good idea, but out of scope for this patch.
This patch includes an application of the new logic to MANIFEST.
Diffstat (limited to 'scope.c')
0 files changed, 0 insertions, 0 deletions