-
Notifications
You must be signed in to change notification settings - Fork 74
Closed
Labels
area/registryDevfile registry for stacks and infrastructureDevfile registry for stacks and infrastructuredemoIssue or PR candidate for a demo at the end of the SprintIssue or PR candidate for a demo at the end of the Sprintkind/bugSomething isn't workingSomething isn't working
Description
Which area this feature is related to?
/kind bug
Bug Summary
Describe the bug:
Separated out from issue #1064 as an independent bug.
- The tags are pulled from all devfile versions of a specific runtime which is incorrect. It should only display the tags for a specific runtime version.
- Similarly, the tags shown on the registry viewer tiles represent tags from all runtime versions when it should only display the tags for the default devfile. This means if the default devfile is not deprecated, then the deprecated tag should not show up. Users would only see it if they click on the tile and toggle between versions.
To Reproduce:
We can't use the community registry viewer because tags are common across all stack runtime versions.
To reproduce:
- Clone the https://github.com/devfile/registry-support repo
- (Optional) Add the
Deprecatedtag to one of the go stack versions - Build the registry by following the instructions: https://github.com/devfile/registry-support/tree/main#build
- Deploy to a cluster and bring up the local viewer.
For the Go stack time, note that it displays all the tags from all stack versions:
Click on the tile, and note that when you switch runtime versions, the tags do not change
Expected behavior
Tags should only reflect the selected stack version
Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable
Additional context
Any workaround?
Suggestion on how to fix the bug
Metadata
Metadata
Assignees
Labels
area/registryDevfile registry for stacks and infrastructureDevfile registry for stacks and infrastructuredemoIssue or PR candidate for a demo at the end of the SprintIssue or PR candidate for a demo at the end of the Sprintkind/bugSomething isn't workingSomething isn't working
Type
Projects
Status
Done ✅