cinder scripts must use entry points

Bug #1398401 reported by Mehdi Abaakouk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Medium
Thang Pham

Bug Description

Hi,

Currently, all cinder scripts are located in bin/ (outside the real source tree), and have a hyphen, this make them unloadable from the unittests, and so untestable.

A proper fix could be converting all the bin/* script into entry_points, so they can keep the hyphen and the source code will be move into the cinder/cmd for example. And then the code can be tested like any other piece of code.

Nova, neutron, glance, ceilometer,... already do that.

Regards,
sileht

Revision history for this message
Jay Bryant (jsbryant) wrote :
Changed in cinder:
status: New → Confirmed
importance: Undecided → Medium
status: Confirmed → In Progress
assignee: nobody → Thang Pham (thang-pham)
Thang Pham (thang-pham)
Changed in cinder:
status: In Progress → Fix Committed
Mike Perez (thingee)
Changed in cinder:
milestone: none → kilo-1
Thierry Carrez (ttx)
Changed in cinder:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in cinder:
milestone: kilo-1 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.