Open miyagawa opened 2 years ago
There's a third meaning for --mirror
. I'd like to grab DarkPAN dists from a private, local mirror, and fall back to public CPAN then BackPAN for everything else. A project I'm working on needs all three.
You don't need BackPAN when you use MetaCPAN as a CPAN mirror (which is the default for Carmel) since it has everything that BackPAN would have.
when mirror is specified via
mirror
in cpanfile, that's passed to Menlo as--from/-M
meaning there's no fallback to public CPAN. This removes the ability to pin to an old version with== version
or withcarton update Module@version
.Ideally, when
mirror
is used, there're two meanings:1) Use the darkpan, no fallback to the public CPAN (current behavior) 2) Just being able to use the fast and secure mirror, such as "https://" (#42)