Skip to content

Callable API for hex.outdated #1060

@TylerWitt

Description

@TylerWitt

I am trying to go through dependabot's Elixir issues/PRs and clean it up, and one potential point of improvement is to create PRs for secondary dependencies, similar to the output of mix hex.outdated --all.

Dependabot already has a set of scripts in Elixir to manage mix, so my intent would be to call something like Hex.Deps.outdated(lock).

From what I see, all the functionality is currently in the mix tasks, which formats the table to IO. It would be helpful to have a callable function to get the list of dependencies without any IO/formatting concerns.

I don't mind doing the work for this, but I wanted to make sure it would be welcome before spending time on it.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions