[Zope-CMF] [dev] GenericSetup: import step version

yuppie y.2007- at wcm-solutions.de
Mon Nov 5 14:46:21 EST 2007


Hi!


Can we please deprecate the 'version' argument of registerStep?

This is the interface description:

<quote>
     o 'version' is a string for comparing versions, it is preferred to
       be a yyyy/mm/dd-ii formatted string (date plus two-digit
       ordinal).  when comparing two version strings, the version with
       the lower sort order is considered the older version.

       - Newer versions of a step supplant older ones.

       - Attempting to register an older one after a newer one results
         in a KeyError.
</quote>

AFAICT this feature was never used, became inoperable after adding 
extension profiles and makes absolutely no sense in a global step 
registry. Originally steps were linked to specific files in the profile, 
the 'version' described the version of the XML files.

A profile version can now be set in metadata.xml. AFAICS this supersedes 
the import step version approach.

Am I missing something?


Cheers,

	Yuppie



More information about the Zope-CMF mailing list