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

「depends」 command seems to be broken #230

Closed
AlexDaniel opened this issue Feb 16, 2018 · 1 comment
Closed

「depends」 command seems to be broken #230

AlexDaniel opened this issue Feb 16, 2018 · 1 comment

Comments

@AlexDaniel
Copy link
Contributor

depends command does not work.

Context

I tried zef depends Pastebin::Gist and it errored out. @timo reproduced the issue.

Expected Behavior

It should list module dependencies, much like rdepends does but in reverse (note that rdepends works fine)

Actual Behavior

zef depends Pastebin::Gist
Failed to resolve some missing dependencies
  in block  at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/sources/D5DCCAA069375A0DAF6A9A3E96ADDE053D18C65E (Zef::Client) line 157
  in sub MAIN at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/sources/45E857DB9077739278E770E5F8B5CC14168F38BA (Zef::CLI) line 299
  in block <unit> at /home/alex/.rakudobrew/moar-master/install/share/perl6/site/resources/55E6E17CBBB212E3C50BAE19936B78E98334E913 line 3
  in sub MAIN at /home/alex/.rakudobrew/bin/../moar-master/install/share/perl6/site/bin/zef line 2
  in block <unit> at /home/alex/.rakudobrew/bin/../moar-master/install/share/perl6/site/bin/zef line 2

Steps to Reproduce

Run zef depends Pastebin::Gist, you can use any other module.

Your Environment

  • perl6 -v
This is Rakudo version 2018.01-204-gbeaad7b97 built on MoarVM version 2018.01-94-gc7774e37d
implementing Perl 6.c.
ugexe added a commit that referenced this issue Feb 16, 2018
This enables CURI to be a backend for zef.

This is still not complete. As it stands this commit will blow up
when doing e.g. `zef install Test` because the meta data from
installed modules does not have a distribution mapping.

Also see: #230
( although a smaller scoped fix may be used for this)
@ugexe
Copy link
Owner

ugexe commented Feb 16, 2018

This only affects modules that list a core module as a dependency somewhere in its overall chain.

@ugexe ugexe closed this as completed in 7838f8e Feb 18, 2018
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

2 participants