[csw-devel] SF.net SVN: gar:[13982] csw/mgar/gar/v2/lib/python

Maciej Bliziński maciej at opencsw.org
Mon Mar 28 18:46:51 CEST 2011


2011/3/28 Ben Walton <bwalton at opencsw.org>:
> Excerpts from wahwah's message of Mon Mar 28 04:51:20 -0400 2011:
>
> Hi Maciej,
>
>> -PACKAGE_STATS_VERSION = 11L
>> +PACKAGE_STATS_VERSION = 12L
>
> What changes to the data structure require a version number bump?
> Only things that add a new top level item to the dict?  What about if
> an existing item adds a new key?

The effect of that setting is that checkpkg notices that the data in
the database are outdated and it unpacks packages again to have them
in the latest format.  So, if you want checkpkg to do that, you should
bump the value.

Also, if you're breaking backward compatibility.


More information about the devel mailing list