Project

General

Profile

Feature #23882

De-emphasize yStreams in the repos page

Added by Andrew Kofink almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Repositories
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

Description

The existence of the zStreams tends to cause confusion with users. These should be hidden, perhaps in an "Advanced" section in order to make things work more clearly out of the box.

## Acceptance criteria

As a Katello UI user, I should be encouraged to enable repositories that do not
specify a Y release version.

- Kickstart repository set repositories are never grayed or bolded
- Repository sets with a release version X (without Y) repository:
  - show X release version repositories in bold
  - show X.Y repositories in gray
  - show an 'info' icon next to X.Y repositories
  - display a message on hover of 'info' icon next to X.Y repositories: "This repository has a very specific update policy. Please see additional [documentation](https://access.redhat.com/articles/1586183) prior to use." 
- Linked documentation is publicly accessible

Related issues

Related to Katello - Bug #24679: [Sat6.4] Sorting of available minor version repositories is not consistent on new Red Hat Repositories pageClosed

Associated revisions

Revision a9909889 (diff)
Added by Andrew Kofink over 1 year ago

Fixes #23882: Deemphasize yStream repos

Revision fea1211d (diff)
Added by Tomáš Strachota over 1 year ago

Refs #23882 - fix lint errors and translations

- type property was missing in RepositorySetRepositories
- <translate> directive from Angular doesn't work in React

History

#1 Updated by Andrew Kofink almost 2 years ago

y streams are tracked for each repo in repo['substitutions']['releasever']. Here are some repo examples:

[{"substitutions"=>{"releasever"=>"7.5", "basearch"=>"x86_64"},                                                                                                                                                          
 "path"=>"/content/dist/rhel/server/7/7.5/x86_64/os",                                                                                                                                                                   
 "repo_name"=>"Parthas Red Hat Enterprise Linux 7 Server RPMs x86_64 7.5",                                                                                                                                              
 "pulp_id"=>"6028bb20-a4d1-47ad-9766-ab6420e0a7cc",                                                                                                                                                                     
 "name"=>"Partha's Red Hat Enterprise Linux 7 Server (RPMs)",
 "enabled"=>false,                                                                                                                                                                                                      
 "promoted"=>false,                                                                                                                                                                                                     
 "repository_id"=>nil},                                                                                                                                                                                                 
{"substitutions"=>{"releasever"=>"7Server", "basearch"=>"multiarch"},                                                                                                                                                   
 "path"=>"/content/dist/rhel/server/7/7Server/multiarch/os",                                                                                                                                                            
 "repo_name"=>"Parthas Red Hat Enterprise Linux 7 Server RPMs multiarch 7Server",
 "pulp_id"=>"a194d542-5103-4e76-8d06-227791906690",                                                                                                                                                                     
 "name"=>"Partha's Red Hat Enterprise Linux 7 Server (RPMs)",                                                                                                                                                           
 "enabled"=>false,                                                                                                                                                                                        
 "promoted"=>false,                                                                                                                                                                                                    
 "repository_id"=>nil},                                                                                                                                                                                                
{"substitutions"=>{"releasever"=>"7Server", "basearch"=>"x86_64"},                                                                                                                                                     
 "path"=>"/content/dist/rhel/server/7/7Server/x86_64/os",                                                                                                                                                              
 "repo_name"=>"Parthas Red Hat Enterprise Linux 7 Server RPMs x86_64 7Server",                                                                                                                                          
 "pulp_id"=>"979f3947-249f-4d6c-b2f9-598f7a44b4ab",                                                                                                                                                                     
 "name"=>"Partha's Red Hat Enterprise Linux 7 Server (RPMs)",                                                                                                                                                           
 "enabled"=>true,                                                                                                                                                                                                       
 "promoted"=>false,                                                                                                                                                                                                     
 "repository_id"=>5}]

It's pretty straightforward to use the releasever to determine if a repo is specific to a y release.

#2 Updated by Justin Sherrill almost 2 years ago

  • Legacy Backlogs Release (now unused) set to 349

#3 Updated by Andrew Kofink almost 2 years ago

  • Description updated (diff)

#4 Updated by Andrew Kofink almost 2 years ago

  • Description updated (diff)

#5 Updated by Andrew Kofink almost 2 years ago

  • Description updated (diff)

#6 Updated by Jonathon Turel over 1 year ago

  • Triaged set to Yes
  • Target version changed from Katello 3.8.0 to Katello 3.9.0

#7 Updated by Andrew Kofink over 1 year ago

  • Bugzilla link set to 1606369

#8 Updated by The Foreman Bot over 1 year ago

  • Assignee set to Andrew Kofink
  • Pull request https://github.com/Katello/katello/pull/7632 added

#9 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing

#10 Updated by Andrew Kofink over 1 year ago

  • Related to Bug #24679: [Sat6.4] Sorting of available minor version repositories is not consistent on new Red Hat Repositories page added

#11 Updated by Andrew Kofink over 1 year ago

  • Status changed from Ready For Testing to Closed

#12 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/7686 added

#13 Updated by The Foreman Bot over 1 year ago

  • Pull request https://github.com/Katello/katello/pull/7450 added

#14 Updated by Andrew Kofink over 1 year ago

  • Pull request deleted (https://github.com/Katello/katello/pull/7450)

Also available in: Atom PDF