Example #1
0
# -*- coding: utf-8 -*-
#
# Copyright (c) 2004, 2005, 2006, 2007, 2008,
#               Markus Leist <*****@*****.**>
# See also LICENSE.txt or http://www.ict-ok.org/LICENSE
# This file is part of ict-ok.org.
#
# $Id$
#
"""define the range of generations
"""

__version__ = "$Id$"

# zope imports
from zope.app.generations.generations import SchemaManager

key = 'org.ict_ok.admin_utils.supervisor.generations'

AppSchemaManager = SchemaManager(minimum_generation=1,
                                 generation=1,
                                 package_name=key)
Example #2
0
#
# SchoolTool - common information systems platform for school administration
# Copyright (c) 2008 Shuttleworth Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
"""
Generations for database version upgrades.
"""

from zope.app.generations.generations import SchemaManager

schemaManager = SchemaManager(
    minimum_generation=1,
    generation=1,
    package_name='schooltool.requirement.generations')
Example #3
0
#
# SchoolTool - common information systems platform for school administration
# Copyright (c) 2005 Shuttleworth Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
"""
Generations for database version upgrades.
"""

from zope.app.generations.generations import SchemaManager

schemaManager = SchemaManager(
    minimum_generation=43,
    generation=43,
    package_name='schooltool.generations')
Example #4
0
### -*- coding: utf-8 -*- ####################################################
#
#  This library is free software: you can redistribute it and/or modify it
#  under the terms of the GNU General Public License as published by the Free
#  Software Foundation, either version 3 of the License.
#
#  This software is distributed in the hope that it will be useful, but
#  WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
#  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
#  for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this software.  If not, see <http://www.gnu.org/licenses/>.
#
#  Project homepage: <http://launchpad.net/ice.control>
#
##############################################################################
from zope.app.generations.generations import SchemaManager

pkg = 'ice.control.tests'

schemaManager = SchemaManager(minimum_generation=0,
                              generation=1,
                              package_name=pkg)


Example #5
0
"""Manage zodb schemas of the 'Archiv des Beispiels' project.

generation 1: evolve from 2006 version (requires code of the 2006
version in the python path.

generation 2: change family of various catalog extents from
BTrees.family64 to default (BTrees.family32).

generation 3: switched to figuresng (figures next generation),
resturcturing of relation catalog, added commentaboutreference
"""

from zope.app.generations.generations import SchemaManager

BeispielSchemaManager = SchemaManager(
    minimum_generation=5,
    generation=16,
    package_name='beispiel.generations',
)
Example #6
0
"""Manage zodb schemas of the biblatex bibliography.

generation 0: initial generation

"""

from zope.app.generations.generations import SchemaManager

BiblatexSchemaManager = SchemaManager(
    minimum_generation=0,
    generation=0,
    package_name='quotationtool.biblatex',
)
Example #7
0
#
# SchoolTool - common information systems platform for school administration
# Copyright (c) 2005 Shuttleworth Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#
"""
Generations for database version upgrades.

$Id$
"""

from zope.app.generations.generations import SchemaManager

schemaManager = SchemaManager(minimum_generation=0,
                              generation=0,
                              package_name='schooltool.stapp2007.generations')
#
# SchoolTool - common information systems platform for school administration
# Copyright (c) 2008 Shuttleworth Foundation
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
"""
Generations for database version upgrades.
"""

from zope.app.generations.generations import SchemaManager

schemaManager = SchemaManager(
    minimum_generation=5,
    generation=5,
    package_name='schooltool.gradebook.generations')