Skip to content
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

How to install this package? #8

Closed
gustawdaniel opened this issue May 14, 2018 · 3 comments
Closed

How to install this package? #8

gustawdaniel opened this issue May 14, 2018 · 3 comments

Comments

@gustawdaniel
Copy link

Command:

zef install Gumbo

freeze on

===> Searching for: Gumbo
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan.json
@Skarsnik
Copy link
Owner

hm, this is weird, I did not upload this module on CPAN, so it should use the github repo

@jubilatious1
Copy link

@gustawdaniel , is this issue resolved and ready to close?

I recently installed perl6-gumbo using zef and it now works. (See #12 (comment)). I just think @ugexe 's zef is updating cpan mirrors whenever a module install is requested, and regardless of the install cpan is on zef's search-path and that's why it checks cpan first (I gave zef no instructions otherwise). Also, by updating mirrors, zef could be preparing to search for Gumbo dependencies (e.g. @supernovus 's XML module) on cpan.

mbook:~ homedir$ zef install Gumbo
===> Searching for: Gumbo
===> Updating cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Updating p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated p6c mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/p6c1.json
===> Updated cpan mirror: https://raw.githubusercontent.com/ugexe/Perl6-ecosystems/master/cpan1.json
===> Searching for missing dependencies: XML
===> Testing: XML:ver<0.3.0>:auth<Timothy Totten>
===> Testing [OK] for XML:ver<0.3.0>:auth<Timothy Totten>
===> Testing: Gumbo:ver<1.0>:auth<Sylvain Colinet>

@ugexe
Copy link

ugexe commented Sep 18, 2019

zef is updating cpan mirrors whenever a module install is requested, and regardless of the install

Correct (technically every auto-update hours as noted here)

hm, this is weird, I did not upload this module on CPAN, so it should use the github repo

How could zef know the module is not on cpan without first downloading the cpan.json file? And similarly for p6c.json


This seems to be the result of when the previous p6c server, which originally provided the p6c.json mirror, went kaput and left zef waiting indefinitely for a reponse. That mirror works again, and other versions of zef changed to using a mirror hosted on github, so this issue is likely resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants