#10768: Revisit the pickle jar procedure
---------------------------+------------------------------------------------
Reporter: nthiery | Owner: was
Type: enhancement | Status: new
Priority: major | Milestone: sage-wishlist
Component: pickling | Keywords:
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------+------------------------------------------------
The current pickle jar mechanism has some drawbacks:
- We don't know how old pickles in the pickle jar are
- We may be testing an old pickle, but not a recent one
- Updating specific pickles is a bit tedious
Since the pickle jar is not so big (600k), what about the following
procedure:
- For each version of Sage (say 4.6.2), a fresh pickle jar (say
pickle_jar-4.6.2.tar.bz2) would be produced by the release manager,
and *added* to the Sage distribution.
- sage.structure.sage_object.unpickle_all would be run by default on all
pickle jars included with Sage.
- If some day some pickle rots away and it is decided *by consensus*
to not support unpickling it anymore, then the patch author would
include a note to the release manager to delete
pickle_jar-4.6.2.tar.bz2/__class__s.....sobj
This can be done by just copy-pasting from the error message of
unpickle_all, without having to learn how to manipulate the jar.
- If space really becomes an issue, then pickle jars from old Sage
distributions could be moved to an optional spkg. Also, if a pickle
jar does not change at all between two versions, or only contains
new pickles, then the previous one can be deleted.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10768>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.