[repository] set .eid on eschema when schema is loaded from the filesystem
enforcing the contract that a repository's schema should have .eid attribute of
entity schema set to the eid of the entity used to serialize them in the db.
Before this cset, this was not true during tests or for some c-c commands where
'quick_start' is set (eg db-restore, i18ncube...).
The change in server __init__ makes this assumption true during instance
creation: the serializing code was actually setting eid on schema object, but a
reference to a previously built schema was given instead of the one for the
latest created repository.
Closes #10450092
.. -*- coding: utf-8 -*-
A little history...
===================
*CubicWeb* is a semantic web application framework that Logilab_ started
developing in 2001 as an offspring of its Narval_ research project. *CubicWeb*
is written in Python and includes a data server and a web engine.
Its data server publishes data federated from different sources like
SQL databases, LDAP directories, `VCS`_ repositories or even from other
CubicWeb data servers.
.. _`VCS`: http://en.wikipedia.org/wiki/Revision_control
Its web engine was designed to let the final user control what content to select
and how to display it. It allows one to browse the federated data sources and
display the results with the rendering that best fits the context. This
flexibility of the user interface gives back to the user some capabilities
usually only accessible to application developers.
*CubicWeb* has been developed by Logilab_ and used in-house for many years
before it was first installed for its clients in 2006 as version 2.
In 2008, *CubicWeb* version 3 became downloadable for free under the
terms of the LGPL license. Its community is now steadily growing
without hampering the fast-paced stream of changes thanks to the time
and energy originally put in the design of the framework.
.. _Narval: http://www.logilab.org/project/narval-moved
.. _Logilab: http://www.logilab.fr/