Checkbox ships documents and files that aren't used for anything

Bug #957396 reported by Daniel Manrique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Low
Jeff Lane 

Bug Description

Checkbox 0.13.4 and trunk.

Some files that are shipped with checkbox were previously used in document reading tests, but these tests/jobs are no longer present.

For example, none of the files in data/documents/ are referenced in jobs.

This command will show any files referencing any of the files in the data subdirectories (save those that I know are indeed used by checkbox):

for i in `find data/{audio,documents,images,video,websites}/ -type f -printf "%f\n"`; do grep -r $i *; done |grep -v po

According to this the only files referenced in job files or in other data files are:

data/images/JPEG_Color_Image_Ubuntu.jpg
/data/video/Quicktime_Video.mov
/data/video/Ogg_Theora_Video.ogv
data/websites/SWF_Test.as
SWF_Test.swf
data/websites/test.jar
data/websites/javatest.html
data/websites/testindex.html
data/websites/flashvideo.html
data/websites/flashtest.html
data/websites/Flash_Video.flv

Related branches

Revision history for this message
Jeff Lane  (bladernr) wrote :

Hmmm... setting this to Precise for now... this is a pretty low hanging fruit. Will this require a FFE? I wouldn't think they'd deny us for actually creating a little more space on the CD...

Changed in checkbox:
status: New → Confirmed
status: Confirmed → Triaged
importance: Undecided → Low
milestone: none → 0.13.5
Revision history for this message
Jeff Lane  (bladernr) wrote :

I've pushed a branch that removes the unreferenced data files.

Changed in checkbox:
status: Triaged → In Progress
Changed in checkbox:
status: In Progress → Fix Committed
assignee: nobody → Jeff Lane (bladernr)
Changed in checkbox:
milestone: 0.13.5 → 0.13.6
Ara Pulido (ara)
Changed in checkbox:
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.