I want to delete information stored for a certain build(s). The minimum unit of deletion is a build (I can not delete part of the information for a single build), and it was also suggested to provide date-based deletion (delete data for builds started / completed between this day and this day). The question was raised of what's deleted: the information in the database only, or the build output as well? No conclusive answer yet.
The ugly workaround is to erase and recreate the database.
Alex has suggested to add a command to Django through manage.py to avoid any security issues (the GUI has no authentication built in).
This should be solved with a bldviewer command addition for manage.py: - listbuilds :should get a user-readable tabbed list of build ids and identification information - deletebuild id :should delete the build with the specified id AND ALL related information (traversing the ForeignKey relationships recursively) from the database.
This was merged sometime
mmm, maybe I spoke too soon. Running ./manage.py buildslist returns an error saying DatabaseError: no such table: orm_build This is on master:ac4ff568f5b2ad4f50a1b7b60797e7b797c314bb
Scott has already provided the content relevant to this issue, which will be published in the Yocto Project wiki for 1.6 release.
my bad: this is working, but if you are using the standard configuration you need to issue the commands from the /poky/build directory.
verified in master:39846ddbce87d26eb68870914bf86a8ce5e86e5c