Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Collect new dependency data from Libraries.io #1

Closed
zeke opened this issue Mar 14, 2018 · 0 comments
Closed

Collect new dependency data from Libraries.io #1

zeke opened this issue Mar 14, 2018 · 0 comments

Comments

@zeke
Copy link
Contributor

zeke commented Mar 14, 2018

libraries.io just released a new dataset! librariesio/libraries.io#2011

https://zenodo.org/record/1196312#.WqklepMbNE4

Let's use this data set to collect a list of repo names that depend on Electron. Here's the gist of how to do that:

file="https://zenodo.org/record/1196312/files/Libraries.io-open-data-1.2.0.tar.gz"
curl $file | tar xvz
head -n 1 repository_dependencies.csv > electron.csv
cat repository_dependencies.csv | grep ",electron," >> electron.csv

Note: filenames above are not accurate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant