GitHub dependency graph source

About a month ago GitHub added a feature that will look into the Gemfiles of Ruby projects to build up a global dependency graph, local parts of which are available in the insights tab of a GitHub project. They’ve since expanded to Node and are planning on expanding to Python, but it would be cool I could help this along for my favorite languages (namely OCaml and Rust). Is the source for this feature available publically?

Thanks so much for your interest!

We’re looking into doing this kind of thing. I don’t have a timeline for when it would be able to happen. Keep your eyes on the GitHub blog for future announcements. I’ve passed along your interest to the team and we’re happy to hear how excited you are about the feature!

2 Likes

Hello there, is there any plans for supporting dependency graph for Swift Package Manager, you can achieve that by using Package.resolved file.

Sample Package.resolved

{
  "object": {
    "pins": [
      {
        "package": "IndexStoreDB",
        "repositoryURL": "https://github.com/apple/indexstore-db.git",
        "state": {
          "branch": "master",
          "revision": "b3b4bbadeab6627cc680b856d3903e3ffa99c5e1",
          "version": null
        }
      },
      {
        "package": "llbuild",
        "repositoryURL": "https://github.com/apple/swift-llbuild.git",
        "state": {
          "branch": "master",
          "revision": "298cab8120fd75df6e6afe73d1ba3c3727ff90f8",
          "version": null
        }
      },
      {
        "package": "SwiftPM",
        "repositoryURL": "https://github.com/apple/swift-package-manager.git",
        "state": {
          "branch": "master",
          "revision": "c2dc30a5002c776d6137ed5e61dae2fed22ed2e9",
          "version": null
        }
      }
    ]
  },
  "version": 1
}