You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This path is then appended to the prefix with a unix-style slash unconditionally by the provides method, but the rest of the path will keep its OS-dependent path separators. Thus on a Windows system you get paths like lib/Foo\Bar.pm.
This method is currently used at least by Minilla in generating the provides metadata. Ref metacpan/metacpan-web#2306
The text was updated successfully, but these errors were encountered:
This (provides including a broken path due to a mix of unix and windows style path separators) caused a slightly confusing situation where a dist was added to the CPAN Index, but then not indexed by MetaCPAN.
The provides field in the CPAN meta spec specifies that "It must contain a Unix-style relative file path".
However,
package_versions_from_directory
returns the native file path returned by File::Find canonicalized to the current OS by File::Spec: https://metacpan.org/source/ETHER/Module-Metadata-1.000037/lib/Module/Metadata.pm#L263This path is then appended to the prefix with a unix-style slash unconditionally by the
provides
method, but the rest of the path will keep its OS-dependent path separators. Thus on a Windows system you get paths likelib/Foo\Bar.pm
.This method is currently used at least by Minilla in generating the
provides
metadata. Ref metacpan/metacpan-web#2306The text was updated successfully, but these errors were encountered: