Subject: | config.ini.old considered an "existing configuration" by dzil setup |
move config.ini to config.ini.old
Expectation: config.ini.old should be ignored.
Reality:
Show quoted text
Expectation: config.ini.old should be ignored.
Reality:
Show quoted text
>dzil setup -v
per-user configuration files already exist in C:\Users\KentF\.dzil: C:\Users\KentF\.dzil\config.ini.old at C:/strawberry/perl/site/lib/Dist/Zilla/App/Command/setup.pm line 34.Apparently, this is interpreting 'config.ini.old' as { basename => 'config' , extension => 'ini.old' } when by convention, periods are not part of the file extension, and by convention, I believe it should be interpreted as { 'basename' => 'config.ini', extension => 'old' }
I can't recall where this is handled, perhaps Config::MVP , but the problem is only apparent to 'dzil setup' , because other commands are probably going 'oh right, I have no handler for the extension 'ini.old' , so we'll just silently pretend theres no config file'