Bug 781612 - Use Same Distro name everywhere
Summary: Use Same Distro name everywhere
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified vote
Target Milestone: ---
Assignee: Raymond Mancy
QA Contact:
URL:
Whiteboard:
: 772313 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-13 20:58 UTC by Bill Peck
Modified: 2019-05-22 13:41 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-26 06:40:16 UTC


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.