versioneye / crawl_r

VersionEye crawlers implemented in Ruby.
https://www.versioneye.com
Other
10 stars 7 forks source link

#117 - save NPM dist-tags; #74

Closed timgluz closed 7 years ago

timgluz commented 7 years ago

Hi,

this PR adds support for NPM's dist-tags, which will be saved into Version.tags field.

PS: it requires newest changes from versioneye-core before it can be pushed to production;

reiz commented 7 years ago

@timgluz I just merged the PR on core. Let me know when this here is updated.

timgluz commented 7 years ago

Yep, it's done.

This code helps to fetch the dist-tags for all the packages:

NpmCrawler.get_known_packages.to_a.each {|pkg_id| NpmCrawler.crawl_dist_tags(pkg_id) }
timgluz commented 7 years ago

Ready for prime time!