[prev in list] [next in list] [prev in thread] [next in thread]
List: olpc-bugs
Subject: Re: #5707 BLOC Update.: Previews are not deleted when their
From: "Zarro Boogs per Child" <bugtracker () laptop ! org>
Date: 2007-12-31 19:33:29
Message-ID: 043.d941bffca7c77779164cf4a70702f521 () laptop ! org
[Download RAW message or body]
#5707: Previews are not deleted when their matching datastore objects are removed
------------------------+---------------------------------------------------
Reporter: Phil | Owner: tomeu
Type: defect | Status: new
Priority: blocker | Milestone: Update.1
Component: datastore | Version: Build 650
Resolution: | Keywords:
Verified: 0 | Blocking:
Blockedby: |
------------------------+---------------------------------------------------
Comment(by Phil):
I've started on a script to clean up extraneous entries, except that it
doesn't work.
The reason it doesn't work is that there are preview images in the
datastore for objects that have no matching file in the datastore itself.
I assume that's because they are solely database entries, with no matching
saved file.
That's a shame, as it means this program would have to dig into that
database to determine just what it can and cannot purge.
For safety reasons, I'm not attaching the script to this bug entry, but it
can be found at [http://dev.laptop.org/git/users/phil/support-scripts/]
along with other stuff I've written. It's 'purge-journal', and by default
won't do anything; you have to '--force' it to run.
This is obviously a stopgap until the actual bug is fixed, and since it
doesn't behave properly it's a poor stopgap, but it might be a start for
something else.
--
Ticket URL: <http://dev.laptop.org/ticket/5707#comment:3>
One Laptop Per Child <http://dev.laptop.org>
OLPC bug tracking system
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic