-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document undocumented PERL_CARTON_MIRROR environmental variable #183
base: master
Are you sure you want to change the base?
Conversation
PERL_CARTON_MIRROR doesn't seem to work correctly. I haven't been able to get Carton to see my private repository at all using EDIT: Ah I see this is using Moo, and not Moose, which should use the _build_mirror method, but I still can't get it to work (meaning it doesn't recognize the PERL_CARTON_MIRROR variable) . |
So, I've been messing around with this ENV var and I can't get it to work. So far, this is what I found: mkdir orepan-test
cd orepan-test
orepan2-inject https://cpan.metacpan.org/authors/id/O/OA/OALDERS/HTML-Restrict-2.1.8.tar.gz darkpan
echo "requires 'HTML::Restrict', '< 2.1.9';" > cpanfile
PERL_CARTON_MIRROR=darkpan carton install Which creates this structure:
And the commands have the following output. (The first 3 lines are from orepan2-inject):
The output in my cpanm build.log is:
And the problematic lines seem to be:
That sources folder just ends up being empty:
|
@oalders try: PERL_CARTON_MIRROR is supposed to be a URI, and your specification of "darkpan" doesn't follow. |
@miyagawa Thanks very much. Works for me now. :) Any reason PERL_CARTON_MIRROR isn't documented? |
@miyagawa -- please note, my patch is perldoc only. And the Tavis CI regression has nothing to do with the documentation I added. |
The reason for non-documentation is I'm meant to merge a new feature to describe them directly in cpanfile using the |
Ah, that makes sense. |
Just pinging... Any plans to do the above? (ie merge the new feature, and document this env var?) |
@akarelas you could maybe work around this by using
|
No description provided.