Bug 1042082

Summary: [RFE][horizon]: Remove the underscore library from Horizon
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: python-django-horizonAssignee: RHOS Maint <rhos-maint>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: aberezin, aortega, dnavale, jpichon, markmc, mrunge, yeylon
Target Milestone: Upstream M2Keywords: FutureFeature
Target Release: 5.0 (RHEL 7)   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/horizon/+spec/delete-underscore
Whiteboard: upstream_milestone_icehouse-2 upstream_status_implemented upstream_definition_approved
Fixed In Version: python-django-horizon-2014.1-5.el7ost Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-08 15:44:11 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 RHOS Integration 2013-12-12 20:52:28 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/horizon/+spec/delete-underscore.

Description:

After checking the javascript code of Horizon, it appears that underscore is only used 12 times in all the project and only for small case on manipulating array. These functions could be written with the jQuery utils. 
It might be a good idea to remove underscore to lower the fragmentation of Horizon code, and reduce the number of external libraries used.

Specification URL (additional information):

None

Comment 2 Stephen Gordon 2014-01-23 20:50:52 UTC
Moving to POST based on upstream status (Implemented).

Comment 3 Matthias Runge 2014-03-25 14:24:09 UTC
In case anyone asks: 
How to test: rpm -qlv openstack-dashboard | grep "static/horizon/lib/underscore"
should be empty. vs. an older version (something from openstack-dashboard-2013.2.*) should still contain it.

Comment 4 Ido Ovadia 2014-06-11 15:55:16 UTC
Verified:
=========
openstack-dashboard-2014.1-7.el7ost.noarch

Comment 6 errata-xmlrpc 2014-07-08 15:44:11 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0855.html