Conjunto de mudanças 3814 no repositório publico


Ignorar:
Timestamp:
11/02/2009 16:55:52 (12 anos atrás)
Autor:
jeanferri
Mensagem:

Melhorias na documentação do produto

Localização:
interlegis.sqlalchemystorage/trunk
Arquivos:
2 adicionados
5 removidos
5 editados
2 movidos

Legenda:

Não Modificado
Adicionado
Removido
  • interlegis.sqlalchemystorage/trunk/README.txt

    r3619 r3814  
    22============
    33
     4interlegis.sqlalchemystorage is a object/relational mapping layer for
     5Plone/Archetypes. It gives to Archetypes applications the ability to storage
     6data only in SQL databases, only ZODB (default) or in both.
    47
     8This tool does not require any hack in other Plone product to work. It is
     9transparent and all configuration should be done here.
     10
     11
     12Dependencies
     13============
     14
     15- SQLAlchemy
     16- archetypes.sqlalchemystorage
     17- Five
     18- FileSystemStorage
     19
     20
     21Tested with:
     22============
     23
     24- Plone 2.5
     25
     26
     27See also:
     28=========
     29
     30interlegis/sqlalchemystorage/README.txt
     31
     32    Details about configuration
     33
     34docs/HISTORY.txt
     35
     36    Changes made
     37
     38docs/LICENSE.txt
     39
     40    Product license (GPL)
     41
     42docs/TODO.txt
     43
     44    What we still have to do
  • interlegis.sqlalchemystorage/trunk/interlegis/sqlalchemystorage/README.txt

    r3619 r3814  
    44* MySQL:
    55
    6    my.cnf must have use a transational default storage engine in mysqld section:
    7    [mysqld]
    8    ...
    9    default-storage_engine = innodb
    10    ...
     6    my.cnf must have use a transational default storage engine in mysqld section:
     7    [mysqld]
     8    ...
     9    default-storage_engine = innodb
     10    ...
     11
     12* interlegis.sqlalchemystorage
     13
     14    storage.conf must use some of the options: SQL, ZODB (default) or BOTH
     15
     16    [general]
     17    storage = ZODB
     18    ...
     19
     20    Schemas to be stored in relational databases must be imported as:
     21
     22    [classes]
     23    importpath = Products.ATContentTypes.content.document.ATDocument
     24                 Products.ATContentTypes.content.newsitem.ATNewsItem
  • interlegis.sqlalchemystorage/trunk/interlegis/sqlalchemystorage/config.py

    r3813 r3814  
    2525#enable test database and setup needed to run tests
    2626#must be disable to use in production (True / False)
    27 TEST_MODE = True
    28 CLEAN_DB = True
     27TEST_MODE = False
     28CLEAN_DB = False
    2929
    3030storages = {}
  • interlegis.sqlalchemystorage/trunk/interlegis/sqlalchemystorage/storage.conf

    r3619 r3814  
    11[general]
    2 storage = SQL
     2storage = ZODB
    33
    44[classes]
  • interlegis.sqlalchemystorage/trunk/setup.py

    r3813 r3814  
    2121import os
    2222
    23 version = '0.1'
     23def _textOfModuleFile(filename):
     24    return open(filename, 'r').read().strip()
     25
     26version = _textOfModuleFile(os.path.join('interlegis', 'sqlalchemystorage', 'version.txt'))
    2427
    2528setup(name='interlegis.sqlalchemystorage',
    2629      version=version,
    27       description="Todas as definições de mapeamendo objeto-relacional para o Portal Modelo do Interlegis.",
     30      description="All definitions of object-relational mapping for Plone/Archetypes schema.",
    2831      long_description=open("README.txt").read() + "\n" +
    2932                       open(os.path.join("docs", "HISTORY.txt")).read(),
     
    3437        "Topic :: Software Development :: Libraries :: Python Modules",
    3538        ],
    36       keywords='sqlalchemy archetypes interlegis',
    37       author='Weimar Consultoria',
     39      keywords='sqlalchemy archetypes sql interlegis',
     40      author='Fabiano Weimar dos Santos',
    3841      author_email='xiru@xiru.org',
    39       url='http://svn.pytown.com/svn/interlegis.sqlalchemystorage/trunk',
     42      url='http://repositorio.interlegis.gov.br/interlegis.sqlalchemystorage/trunk',
    4043      license='GPL',
    4144      packages=find_packages(exclude=['ez_setup']),
Note: Veja TracChangeset para ajuda no uso do visualizador de conjunto de mudanças.
 

The contents and data of this website are published under license:
Creative Commons 4.0 Brasil - Atribuir Fonte - Compartilhar Igual.