Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Support json format in inspect command #1052

Open
1 of 7 tasks
rajbos opened this issue Nov 3, 2020 · 2 comments
Open
1 of 7 tasks

Support json format in inspect command #1052

rajbos opened this issue Nov 3, 2020 · 2 comments
Labels

Comments

@rajbos
Copy link
Contributor

rajbos commented Nov 3, 2020

🚀 Feature Requests

Support json format in the inspect command for easier usage from the commandline.
I was targeting an on-prem GitLab server and could not use the build in creation of the merge request with it. Therefor had to figure out a way of checking for updates, creating a branch and the merge request my self (read more here.
With json output this would be easier (and I could use the information in it for a better commit message as a bonus).

Contextualize the feature

This would be an extra formatter for the inspect command in the CLI.

Describe the feature

From the code base, a new IReportFormat would be needed in the NuKeeper.Inspection project and parse it from the commandline. With that formatter we have all the options to set things up. I'd think a data structure that would give all the information needed would be something like this:

{
  "Information": 
  {
    "Updates": 0
  },
  {
    "Packages": 
     [
         {
           "title": "title of the package",
           "version in use", "1.4.0.1",
           "upgrade available": "1.4.4.0"
         }
     ]
  }
}

Platforms affected (mark all that apply)

  • 🛠️ NuKeeper CLI
  • ✨ GitHub
  • 🤖 AzureDevops
  • 🏁 Bitbucket
  • 🌎 Gitlab
  • 📺 Gitea
  • 🐳 Docker
@stale
Copy link

stale bot commented Feb 1, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 1, 2021
@stale stale bot closed this as completed Feb 22, 2021
@msallin msallin reopened this Sep 20, 2021
@stale stale bot removed the wontfix label Sep 20, 2021
@stale
Copy link

stale bot commented Dec 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Dec 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants