haxelib icon indicating copy to clipboard operation
haxelib copied to clipboard

Ability to get haxelib.json without downloading whole file

Open bsideup opened this issue 10 years ago • 9 comments

Hi!

Similar to other dependency repositories, haxelib server should provide ability to get only haxelib.json file for concrete project instead of downloading full zip file.

This would be very handful for analysing transitive dependencies, also, haxelib client can be improved to download dependencies in parallel, it will significantly increate resolving speed.

Thanks!

bsideup avatar Mar 26 '14 09:03 bsideup

Also, would be cool if lib.haxe.org will display dependencies info at project page

bsideup avatar Mar 26 '14 10:03 bsideup

Hm I guess it makes sense.

fljot avatar Mar 26 '14 10:03 fljot

Wow! That would be awesome!!

taokakao avatar Mar 26 '14 11:03 taokakao

+1

disjukr avatar Mar 26 '14 23:03 disjukr

Any news on this issue?

bsideup avatar Sep 30 '14 16:09 bsideup

I'll look into it when I do some work on the site next week, I can definitely see the value in it.

On Wed, Oct 1, 2014 at 12:26 AM, Sergey Egorov [email protected] wrote:

Any news on this issue?

— Reply to this email directly or view it on GitHub https://github.com/HaxeFoundation/haxelib/issues/124#issuecomment-57341190 .

jasononeil avatar Oct 02 '14 02:10 jasononeil

This is possible with the new website: http://lib.haxe.org/p/haxelib_client/3.2.0-rc.3/raw-files/haxelib.json

@jasononeil Please confirm and close.

back2dos avatar Dec 21 '15 16:12 back2dos

Ok, not quite. The file exploration feature should make use of Data.locateBasePath, so that the haxelib.json is always at the top level.

back2dos avatar Dec 21 '15 16:12 back2dos

Maybe is possible ( :) ) to create simple Api like getRawDescriptor(version):Url //or raw-content or parsed-typed-json hither.

boozook avatar Dec 22 '15 16:12 boozook