Move to linaro_image_tools.* modules to allow sharing code and make modules private

Bug #711310 reported by Loïc Minier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Image Tools
Fix Released
Medium
Loïc Minier

Bug Description

Hey

We don't have a place to store common code between hwpack and linaro_media_create, and the name hwpack isn't so great in the public namespace to start with. Also, we don't really need two modules for what we currently have in linaro-image-tools.

I think we should move to these module names:
linaro_image_tools.common (or whatever)
linaro_image_tools.hwpack
linaro_image_tools.media_create

Thanks,

Related branches

Loïc Minier (lool)
Changed in linaro-image-tools:
status: New → Triaged
milestone: none → 0.5.0
importance: Undecided → Medium
summary: - Refactor module names
+ Move to linaro_image_tools.* modules to allow sharing code
Loïc Minier (lool)
Changed in linaro-image-tools:
milestone: 0.5.0 → 0.4.4
Revision history for this message
Loïc Minier (lool) wrote :

I would also like to make the modules private

14:58 < lool> salgado-physio, james_w: Thinking about python-hwpack +
              python-linaro-media-create -> python-linaro-image-tools, I was
              wondering whether we actually want to make these modules public,
              or whether we should have them private instead? The latter would
              seem safer, as I don't think we're guaranteeing any API, and all
              tools using these modules are in linaro-image-tools itself
              anyway, right?
15:01 < james_w> lool, we're not guaranteeing anything, but I don't see a point
                 in preventing people to use them at all
15:01 < james_w> lool, I'd prefer a note stating that the API is not stable
15:06 < lool> james_w: I'm not comfortable with this; first, I don't see where
              we'd put the note as to have it easily discoverable; second, I
              feel that as soon as third-party scripts will use the API, we
              will compelled not to break them; third, the API can still be
              used from the private directory

summary: - Move to linaro_image_tools.* modules to allow sharing code
+ Move to linaro_image_tools.* modules to allow sharing code and make
+ modules private
Loïc Minier (lool)
Changed in linaro-image-tools:
assignee: nobody → Loïc Minier (lool)
Loïc Minier (lool)
Changed in linaro-image-tools:
status: Triaged → In Progress
Loïc Minier (lool)
Changed in linaro-image-tools:
status: In Progress → Fix Committed
Mattias Backman (mabac)
Changed in linaro-image-tools:
status: Fix Committed → Fix Released
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.