develooper Front page | perl.perl5.porters | Postings from June 2016

Change sort order of MANIFEST file

Thread Next
June 21, 2016 19:49
Change sort order of MANIFEST file
Message ID:
I was getting a little annoyed at the sort order of the MANIFEST file,
and ended up hacking up something I think is a little nicer to read
and review. Not to mention easier to predict in terms of where you
find something, and where the proper sort order is.

The old order was scrubbed dictionary order, which IMO regularly did
weird things to the order of files like Foo/ and and

So I pushed 59dc1addcceb34465dde8cda10dd17519cc9e5fb to chanage it.
Its in the smoke-me/no_xhv_fill branch for now, but if people object I
will drop it. (Please actually review what the new order looks like
before you complain, it is not /that/ different, and I bet 90% less

The logic is to sort on the filepath with slashes replaced with nulls,
and dots replaced with null dot. This means that cpan/CPAN/ goes
before cpan/CPAN-META/ but that lib/Foo/ goes before everything
(sane) in lib/Foo/Bar/.

FWIW, I am fine with almost any ordering other than the one we
currently use as IMO it produces silly results /often/.


perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About