kabanero-io / kabanero-command-line-services

This repo will be archived soon.
Apache License 2.0
3 stars 7 forks source link

Add repo shortname to each of the kabanero stack arrays #159

Closed s1cyan closed 4 years ago

s1cyan commented 4 years ago

Currently the curated stacks have reponame in the versions json of the curated stacks. Though it will be repetitive, having the shortname in each of the stacks in new/kabanero/activated/obsolete will be easier for the console/cli to see the relationship of where the kab stack is from for displaying/filtering.

currently just curated stacks have:

"curated stacks": [
    {
      "name": "java-microprofile",
      "versions": [
        {
          "images": [
            {
              "image": "docker.io/kabanero/java-microprofile:0.2.26"
            }
          ],
          "**reponame**": "incubator",
          "version": "0.2.26"
        }
      ]
    },

add the reponame to all the other stack arrays. This will be helpful for the console to create a filter on the stacks based on repo source.

davco01a commented 4 years ago

we won’t be able to get that info for an obsolete stack since by definition it will no longer be in the stack index.

davco01a commented 4 years ago

How urgent is this?

davco01a commented 4 years ago

merged: https://github.com/kabanero-io/kabanero-command-line-services/pull/166