Skip to content

Commit

Permalink
WIP: Migrar VCGE 1 para 2
Browse files Browse the repository at this point in the history
  • Loading branch information
caduvieira committed Sep 1, 2015
1 parent 0b38068 commit 4ab9d49
Show file tree
Hide file tree
Showing 5 changed files with 1,053 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/brasil/gov/vcge/upgrades/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
<!-- Passos de atualizacao -->
<include package=".v1000" />
<include package=".v2000" />
<include package=".v2010" />

</configure>
1 change: 1 addition & 0 deletions src/brasil/gov/vcge/upgrades/v2010/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# -*- coding: utf-8 -*-
33 changes: 33 additions & 0 deletions src/brasil/gov/vcge/upgrades/v2010/configure.zcml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<configure
xmlns="http://namespaces.zope.org/zope"
xmlns:gs="http://namespaces.zope.org/genericsetup"
xmlns:i18n="http://namespaces.zope.org/i18n"
xmlns:zcml="http://namespaces.zope.org/zcml"
i18n_domain="brasil.gov.vcge">

<!-- Profile -->
<gs:registerProfile
name="default"
title="brasil.gov.vcge: Versao 2010"
directory="profile"
description="Atualiza o pacote brasil.gov.vcge para versao 2010"
provides="Products.GenericSetup.interfaces.EXTENSION"
i18n:attributes="title; description"
/>

<!-- Upgrade -->
<gs:upgradeSteps
source="2000"
destination="2010"
profile="brasil.gov.vcge:default">

<gs:upgradeStep
title="Atualiza portal para versao 2010"
description="Adiciona configuracao para VCGE em Colecoes"
handler=".handler.apply_profile"
/>

</gs:upgradeSteps>


</configure>
Loading

0 comments on commit 4ab9d49

Please sign in to comment.