Bug 781612

Summary: Use Same Distro name everywhere
Product: [Retired] Beaker Reporter: Bill Peck <bpeck>
Component: web UIAssignee: Raymond Mancy <rmancy>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.8CC: bpeck, czhang, dcallagh, ebaak, jpazdziora, mcsontos, pbunyan, rmancy, stl
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-06-26 06:40:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bill Peck 2012-01-13 20:58:13 UTC
Description of problem:

Currently we use the Pretty Name for the non-variant, non-arch specific distro.  We use the cobbler name when we need to display the specific variant arch version that is going to be installed.

Instead of using the cobbler name just use the pretty name with variant and arch appended to it.

Version-Release number of selected component (if applicable):
0.8.0

Comment 1 Dan Callaghan 2012-03-27 00:57:04 UTC
*** Bug 772313 has been marked as a duplicate of this bug. ***

Comment 2 Raymond Mancy 2012-05-11 05:47:43 UTC
AFAICT Dan has done this with the following:

   def __unicode__(self):
        if self.variant:
            return u'%s %s %s' % (self.distro, self.variant, self.arch)
        else:
            return u'%s %s' % (self.distro, self.arch)

    def __str__(self):
        return str(unicode(self))

And then for the distro listing in the recipe widget we return the output from __str__.

Comment 7 Dan Callaghan 2012-06-26 06:40:16 UTC
Beaker 0.9.0 has been released.