Verifying the InventoryDatabase

William Wolf throughnothing at gmail.com
Thu May 7 19:58:24 UTC 2009


I just tried the script out with this patch and it seems to work
great.  I think this could be very useful to a lot of people if
included with brackup.

On Tue, May 5, 2009 at 10:55 PM, Gavin Carr <gavin at openfusion.com.au> wrote:
> On Tue, May 05, 2009 at 11:49:20AM -0400, William Wolf wrote:
>> I'm trying to use your script to verify the inventory database, but I am
>> running into errors.  I am getting the following when I try to run
>> ./brackup-verify-inventory -q --delete TARGET
>>
>>
>> Can't locate object method "count" via package "Brackup::Dict::SQLite" at
>> ./brackup-verify-inventory line 111.
>>
>>
>> Did you have to modify lib/Brackup/Dict/SQLite.pm to add a count function
>> there?  It also looks like it will be missing an each function, but I may
>> be missing something here.  Thanks.
>
> Eerk, sorry, I'd forgotten I'd patched Dict/SQLite. Patch attached.
>
> Mainline only has get/set interfaces. Patch adds count, each, and delete.
> Brad, are you interested in this?
>
> Cheers,
> Gavin
>
>



-- 

William Wolf


More information about the brackup mailing list