Re: [Checkins] SVN: zope.dublincore/trunk/ Renamed the ``zope.app.dublincore.*`` permissions to ``zope.dublincore.*`.

Jim Fulton <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
On Fri, Apr 23, 2010 at 5:58 PM, Tres Seaver <[email protected]> wrote:
...
> I disagree, pretty strongly:  making code forever responsible for bad
> old data is responsible for a lot of horrors in both Zope2 and Zope3
> code bases.  Releasing the packages separately allows the folks who need
> time to fix the data to have it, while still allowing development to
> continue without the burden.
>
> If you are running with a 3.6.x version of zope.dublincore, and you have
> persisted the permissions somehow, then you need to *evolve the data*
> before upgrading to 3.7.0. That is why 3.7.0 got the bump from 3.6.x.

The bump to 3.7 would be due to a feature change. A backward-incompatible
change would require a bump to 4.

> If you can't afford (yet) to evolve the data, then don't upgrade the
> package until you can.  Running with 3.6.3 allows you to use either
> permission, as the zope.app.dublincore versions get upgraded in place to
> zope.dublincore equivalents.

No. The declarations you give in 3.6.3 cause the new names to be
mapped back to the old.

> Or are you saying that the way 3.6.3 uses meta:redefinePermission won't
> work for persisted permissions?

It will.  The redefinePermission change you propose for 3.7 won't,
which makes it
backward incompatible, which means it should be a 4.0 release.

Jim

-- 
Jim Fulton
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.