plone / Products.CMFPlone

The core of the Plone content management system
https://plone.org
GNU General Public License v2.0
252 stars 189 forks source link

Deprecate Archetypes #2390

Closed pbauer closed 5 years ago

pbauer commented 6 years ago

According to #2368 Archetypes will not be ported to Python 3. These are the relevant packages:

We need to:

hvelarde commented 6 years ago

IIRC, plone.app.imaging is used in Dexterity-based content types also.

davisagli commented 6 years ago

@hvelarde plone.app.imaging isn't used for Dexterity types. They use the scaling view in plone.namedfile. The only thing I'm aware of that Dexterity used to depend on in plone.app.imaging was the setting for scale sizes, but that got moved to the registry for Plone 5.

hvelarde commented 6 years ago

you mean this one? https://github.com/plone/plone.namedfile/blob/master/plone/namedfile/scaling.py#L38

that's completely transparent, right? I still use the same @@images helper view?

davisagli commented 6 years ago

There are 2 different views, both named images. The one in plone.app.imaging adapts Archetypes content and the one in plone.namedfile adapts Dexterity content. They aim to implement the same interface; I don't know if there are bugs. ;-)