Subject: | FYI bug, "fatal: Not a git repository: $valid_workingcopy\n" |
Hi Randy,
Thank you for writing Dist::Zilla::Plugin::Git::DescribeVersion. I had
previously hacked something similar,
http://perlunit.git.sourceforge.net/git/gitweb.cgi?p=perlunit/perlunit;a=history;f=inc/GetVersion.pm
but you're quite right, that is not a sane way to proceed!
This is just to let you know about
https://rt.cpan.org/Ticket/Display.html?id=71621
["fatal: Not a git repository: $valid_workingcopy\n" under
Dist::Zilla::Plugin::@blah]
in which a constellation alignment of packages causes
Git::DescribeVersion to fail due to changed $/ ($INPUT_RECORD_SEPARATOR
or $RS).
I'm not sure there is anything you need to do, except perhaps consider
falling back to a different git access mechanism when one fails?
I hope this is useful,
--
Matthew