Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mix hex.outdated: parsable output #714

Closed
NobbZ opened this issue Sep 2, 2019 · 6 comments
Closed

mix hex.outdated: parsable output #714

NobbZ opened this issue Sep 2, 2019 · 6 comments

Comments

@NobbZ
Copy link

NobbZ commented Sep 2, 2019

For easier integration in periodically run CI jobs, it would be nice if there were some flag for mix hex.outdated that would give output in JSON format or something thats easily digestable using standard bash tools.

{
  "credo": {
    "current": "0.8.10",
    "latest": "1.1.4",
    "updatable": false
  },
  "flow": {
    "current": "0.12.0",
    "latest": "0.14.3",
    "updatable": true
  }
}

Or shell parsable (important, only single space delimeter, no alignment and no table head)

credo 0.8.10 1.1.4 No
flow 0.12.0 0.14.3 Yes
@NobbZ NobbZ changed the title mix hex.outdated parsable output mix hex.outdated: parsable output Sep 2, 2019
@ericmj
Copy link
Member

ericmj commented Sep 2, 2019

What you would use this for, do you have a use case for it right now?

@NobbZ
Copy link
Author

NobbZ commented Sep 2, 2019

Not me, but someone in the slack mentioned that they where in need for an output that's easier parsable then the current.

@ericmj
Copy link
Member

ericmj commented Sep 2, 2019

Please ask them to describe the issue and their use case for the output. We would like to avoid implementing features if we don't know there is use case.

@NobbZ
Copy link
Author

NobbZ commented Sep 2, 2019

The use case was to get notified by a service or a CI job that dependencies are updatable. They also mentioned Gemnasium from the Ruby world that offers notification as a service.

I might though try to find the user again and point them to the issue, such that they can specify their requirements with their words.

@ericmj
Copy link
Member

ericmj commented Sep 2, 2019

What I am asking is if there is an existing application or service that would parse this output? It would be great to look at an example so that we know we are implementing the right thing.

@ericmj
Copy link
Member

ericmj commented Sep 18, 2019

Closing due to inactivity. If you have any additional input I will reopen.

@ericmj ericmj closed this as completed Sep 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants