Martin Aspeli wrote:
Derek Richardson wrote:
Looking at the distributed source for GS 1.3.3, I see upgrade.py, but can't find the tests or docs. Will someone point me at them? Or, else, point me at a good web resource? /me remembers seeing a couple good blog posts, but can't find them now...

The last chapter in my book mentions them briefly. I had to figure it out from reading the tests in GenericSetup itself though. :-/

Thanks! That brief mention is very helpful.

My question. I have v1 of a product that contains GS for utilities A and B. In v2, I am adding a utility C. If someone upgrades, I want them to get C without re-installing A or B, to prevent data loss. However, if someone installs v2 fresh, I want them to get A, B, *and* C. Will registering an upgrade step for v1 to v2 that installs C accomplish this? I imagine it does, as the upgrade step would be of limited utility without this functionality, but haven't seen this explicitly stated anywhere.

/me tried reading the GS tests, but your explanations (in book and online) are much more digestible. ;)

Derek


_______________________________________________
Product-Developers mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/product-developers

Reply via email to