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

possible to create dependency recursion #54

Open
ruby0x1 opened this issue Jul 16, 2015 · 0 comments
Open

possible to create dependency recursion #54

ruby0x1 opened this issue Jul 16, 2015 · 0 comments
Labels

Comments

@ruby0x1
Copy link
Member

ruby0x1 commented Jul 16, 2015

consider:

haxelib git libA <libA url>
haxelib git libB <libA url>

If libA depends on libB, it will now infinitely query the dependencies of libB (since it refers to itself indirectly).

One solution that doesn't create inflexibility is a configurable maximum depth for the dependency tree, in order to catch this easier. Other options (like checking the haxelib.json content name vs the haxelib name) might work as well.

@ruby0x1 ruby0x1 added the bug label Jul 16, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant