Previously yuppie wrote: > 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.
+1 I want to suggest also deprecating the metadata logic that uses version.txt profile version number if there is no metadata.xml which defines one. Wichert. -- Wichert Akkerman <[EMAIL PROTECTED]> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Zope-CMF maillist - Zope-CMF@lists.zope.org http://mail.zope.org/mailman/listinfo/zope-cmf See http://collector.zope.org/CMF for bug reports and feature requests