On Thu, 2010-10-21 at 11:31 -0400, Jason Guiditta wrote:
> On Thu, 2010-10-21 at 13:19 +0200, [email protected] wrote:
> > From: Jan Provaznik <[email protected]>
> > 
> > https://bugzilla.redhat.com/show_bug.cgi?id=643162
> > ---
> >  src/app/controllers/templates_controller.rb |    2 +-
> >  src/app/views/templates/new.haml            |    9 ++++++++-
> >  2 files changed, 9 insertions(+), 2 deletions(-)
> > 
> 
> This doesn't quite work right for me.  I added a package repo for rhel
> to the yml file in this format:
> 
> id: rhel
> name: RHEL
> baseurl: <some-url-that-is-valid-for-me>
> type: xml
> 
> When I go to the new template page, leave fedora as the os, and click
> the 'add software' button, I get a checkbox that says RHEL, and a link
> that says 'Show unsorted packages'.  Clicking this link brings p a blank
> area with the select buttons underneath, as though there is a list
> returned above.  However, I can see in firebug that the list is empty.
> 
> If I then select RHEL as the OS, I get a list more like I am used to
> seeing with fedora, and it seems to work normally.  Switching back
> appears to remove my previous selections, as I would expect, but the
> list is still not returned for fedora.  Note that I did rerun the
> prepare_repos task after applying this, since it is different than the
> poc I was testing from you last night.
> 
Ok, so as you suggested, I moved this into an array in the yml, I was
not aware that was needed (maybe we should add in a comment to yml, or
example or something).  Do this fixed it so I do get back the correct
software list for the selected platform.  However, the checkboxes for
RHEL and Fedora are both still checked, and unchecking one does not seem
to do anything.  If they are non-functional, it may be better to just
not show them for now.  Other than those 2 minor nits, ACK.

-j

_______________________________________________
deltacloud-devel mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/deltacloud-devel

Reply via email to