The rumors are true. I have decided to call my small collection of
Pyramid utilities 'The Stucco Project' so as not to soil the fine name
of Pyramid. Insert slogan here.

stucco_evolution makes repoze.evolution compatible with SQLAlchemy. It
is on pypi and it is intended for public consumption, I believe it has
100% statement coverage (out of a total of probably 200 statements),
and I have been using its SQLite-only predecessor for 6 upgrades so
far. I like it because it is really stupid: it stores a (packagename,
version) in a table, and it runs numbered scripts:

evolveN.py:

evolve(session):
session.execute("DROP TABLE users")

for N between the existing version and the latest available version
when you call repoze.evolution.evolve_to(). If you want to use
complicated tools that understand how to apply a difference between
schema versions, that is your own business.

See its __init__.py for an example. It versions its own schema.

Daniel Holth

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" 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/pylons-discuss?hl=en.

Reply via email to