Thu, 13 Nov 2014 10:37:44 +0100 [migration] hackish black magic to bootstrap addition of formula attr during migration
Julien Cristau <julien.cristau@logilab.fr> [Thu, 13 Nov 2014 10:37:44 +0100] rev 10025
[migration] hackish black magic to bootstrap addition of formula attr during migration Turns out we can't add an attribute to CWAttribute before the attribute exists. add_attribute generates rql with a 'formula' relation, which CW doesn't know about yet, so things get unhappy. Once that is fixed, we need to make the CWAttribute addition operation deal with CWAttribute entities that don't have a formula yet. Finally, move the migration to bootstrapmigration_repository so it happens early on, and use add_entity_type rather than add_relation_type for CWComputedRType.
Tue, 04 Nov 2014 14:10:02 +0100 [server] commit after serializing schema
Julien Cristau <julien.cristau@logilab.fr> [Tue, 04 Nov 2014 14:10:02 +0100] rev 10024
[server] commit after serializing schema Use separate transactions for schema serialization and postcreate scripts execution, so that the latter can rely on the schema being persistently stored. This matters e.g. if something in a postcreate violates a unique_together constraint, we need the constraint persisted in order to raise a meaningful error. See #4525069.
Thu, 28 Aug 2014 18:54:21 +0200 [book] fix docstrings to please sphinx
David Douard <david.douard@logilab.fr> [Thu, 28 Aug 2014 18:54:21 +0200] rev 10023
[book] fix docstrings to please sphinx example rst roles in docstring must be protected (in a literal).
(0) -10000 -3000 -1000 -300 -100 -30 -10 -3 +3 +10 +30 +100 +300 +1000 tip