scala-steward icon indicating copy to clipboard operation
scala-steward copied to clipboard

Create reverse link to users

Open johnynek opened this issue 4 years ago • 2 comments

It is often hard to know what projects use a given library. Scala-steward has to know a subset of these links.

It would be nice to manage an MD file for each dependency that opts in that lists all the projects that use your library. That can also help library authors judge the risk of a change by seeing if it would break users.

Potentially, scala steward could even manage running all the tests locally of your consumers with a local publish of a new version.

johnynek avatar Jan 12 '21 05:01 johnynek

mvnrepository.com has some reverse index, but I think it is only to the version level. Keyed by artifact would be more valuable for this purpose. I also don't see evidence of an API. Anyway, users of cats-parse-0.2.0: https://mvnrepository.com/artifact/org.typelevel/cats-parse/usages

rossabaker avatar Jan 13 '21 19:01 rossabaker

Also Scaladex has the depends-on search which is similar to the mvnrepository.com index. Unfortunately that only works for published libraries. For example, both don't know that Bosatsu also depends on cats-parse but Scala Steward does.

fthomas avatar Jan 13 '21 20:01 fthomas