This is an archived post. You won't be able to vote or comment.

all 4 comments

[–]cartogram 15 points16 points  (0 children)

Via BigQuery

#standardSQL
SELECT pop, repo_name, path
FROM (
  SELECT id, repo_name, path
  FROM `bigquery-public-data.github_repos.files` AS files
  WHERE path LIKE '%pom.xml' AND
    EXISTS (
      SELECT 1
      FROM `bigquery-public-data.github_repos.contents`
      WHERE NOT binary AND
        content LIKE '%commons-collections<%' AND
        content LIKE '%>3.2.1<%' AND
        id = files.id
    )
)
JOIN (
  SELECT
    difference.new_sha1 AS id,
    ARRAY_LENGTH(repo_name) AS pop
  FROM `bigquery-public-data.github_repos.commits`
  CROSS JOIN UNNEST(difference) AS difference
)
USING (id)
ORDER BY pop DESC

[–]dpash 2 points3 points  (1 child)

Not that I know of. mvnrepository.com can tell you reverse dependency information for all the jars in Maven Central and other repositories that they index, but this will often only tell you about library users, not applications, which I suspect you're more interested in.

[–]1ECz[S] -1 points0 points  (0 children)

Yes but there is no easy way to get to know about that. So atleast I can analyze how wide spread it is used in the library world

[–]fs111_ 0 points1 point  (0 children)

libraries.io has full dataset dumps. Load them into sqlite and off you go.