haxelib icon indicating copy to clipboard operation
haxelib copied to clipboard

haxelib info doesn't work with git installed libs

Open MatthijsKamstra opened this issue 8 years ago • 3 comments

If a lib is installed using git, haxelib user and haxelib info doesn't work

example:

haxelib git js-kit https://github.com/clemos/haxe-js-kit.git haxelib
haxelib info js-kit
Error: No such Project : js-kit

MatthijsKamstra avatar Nov 29 '16 11:11 MatthijsKamstra

Haxelib info is used to lookup on the server, it doesn't use what's installed, same for user which is about the official haxelib repository registration.

What are you trying to get out of info/user?

ibilon avatar Nov 29 '16 12:11 ibilon

I was really not trying to get anything out of it.

A colleague of mine was creating a docker Haxe image for me and the project I currently doing. He has no knowledge of Haxe.

So he used haxelib install build.hxml and still the build failed ... because js-kit is not an official haxelib. We fixed that easily, but then he checked info and that gave a harsh error.

And I say harsh because it's not true. The project is installed and locally there is a project named 'js-kit'.

Remember my colleague has not knowledge of Haxe / Haxelib.

First he type haxelib list which worked (it looks locally) and then haxelib info js-kit and that gave an error ... and thus some weird looks.

What I would suggest is a check: use haxelib server but if error check locally.

but it's a nice-to-have, it just would make those weird faces easier

😄

MatthijsKamstra avatar Nov 29 '16 12:11 MatthijsKamstra

+1

tecteun avatar Feb 08 '18 12:02 tecteun