parrot has this test 
prove t/codingstd/case_sensitive_files.t

Checks that there are no files in the distribution that would conflict
with other files on case-insensitive filesystems.

If we have a F<readme.pod> in the distro, and then we add a F<README.pod>
in the same directory, that's a problem.  The creator F<README.pod>
might not notice, but this will cause problems for a Mac or Windows user
who checks out the repo or unpacks a tarball.

Get the files in the distro by using some of the existing MANIFEST modules.
And then crosscheck them by m//i

For directories just use a Find::File iterator.

For git use something like this. It’s much faster 
`git ls-tree -r --name-only HEAD >MANIFEST.git`


Reini Urban
rur...@cpan.org



> On Aug 27, 2015, at 10:40 AM, Shlomi Fish <shlo...@shlomifish.org> wrote:
> Date: Thu, 27 Aug 2015 07:29:48 +0100
> From: Neil Bowers <neil.bow...@cogendo.com>
> To: Shlomi Fish <shlo...@shlomifish.org>
> Subject: Re: [Prior Art Hunt] Modules To Search for Directory Entries That 
> Vary
> Only in Case (Uppercase/Lowercase)
> 
> 
> Hi Shlomi,
> 
>> I want to write a set of CPAN distributions to recursively search for
>> directory entries that vary only in case (e.g: "hello.txt" and "Hello.txt")
>> for better compatibility with case-insensitive systems and file systems (e.g:
>> NTFS, HFS+), but I'm wondering if such beasts already exist. Some Google and
>> MetaCPAN searches yielded nothing, but maybe I'm missing something.
>> 
>> Does anyone know of any prior art?
> 
> Couldn’t find any CPAN modules (doesn’t mean there aren’t any :-), but I did
> come across this, which you probably found too:
> 
>       
> http://stackoverflow.com/questions/2109056/how-to-find-duplicate-files-with-same-name-but-in-different-case-that-exist-in-s
> <http://stackoverflow.com/questions/2109056/how-to-find-duplicate-files-with-same-name-but-in-different-case-that-exist-in-s>
> 
> It has perl code in the solution :-)
> 
> The search that found that came up with that found other threads along the 
> same
> lines.
> 
> Cheers,
> Neil
> 
> 
> 
> -- 
> -----------------------------------------------------------------
> Shlomi Fish       http://www.shlomifish.org/
> Beginners Site for the Vim text editor - http://vim.begin-site.org/
> 
> You gotta go out there, believe in the ball, and throw yourself.
>    — The Wise Janitor in http://en.wikipedia.org/wiki/Not_another_teen_movie
> 
> Please reply to list if it's a mailing list post - http://shlom.in/reply .
> <Original html part.html>

Reply via email to