source: products/quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/configure.zcml @ 2380

Last change on this file since 2380 was 2380, checked in by mylan, 11 years ago

#205: Added upgrade setup profile registrations

File size: 2.1 KB
Line 
1<configure
2    xmlns="http://namespaces.zope.org/zope"
3    xmlns:five="http://namespaces.zope.org/five"
4    xmlns:genericsetup="http://namespaces.zope.org/genericsetup"
5    xmlns:cmf="http://namespaces.zope.org/cmf"
6    i18n_domain="quintagroup.plonegooglesitemaps">
7
8    <!-- Include dependent packages -->
9    <include package="quintagroup.canonicalpath" />
10
11    <five:registerPackage package="." initialize=".initialize" />
12
13    <cmf:registerDirectory name="skins" directory="skins" recursive="True" />
14
15    <!-- Include the sub-packages that use their own configure.zcml files. -->
16    <include package=".browser" />
17    <include package=".content" />
18
19    <!-- Register the installation GenericSetup extension profile -->
20    <genericsetup:registerProfile
21      name="default"
22      title="Plone Google Sitemaps"
23      directory="profiles/default"
24      description=""
25      provides="Products.GenericSetup.interfaces.EXTENSION"
26      />
27
28    <genericsetup:registerProfile
29      name="upgrade_1_0_to_1_1"
30      title="Plone Google Sitemaps"
31      directory="profiles/upgrade_1_0_to_1_1"
32      description=""
33      provides="Products.GenericSetup.interfaces.EXTENSION"
34      />
35
36    <genericsetup:registerProfile
37      name="upgrade_1_1_to_1_2"
38      title="Plone Google Sitemaps"
39      directory="profiles/upgrade_1_1_to_1_2"
40      description=""
41      provides="Products.GenericSetup.interfaces.EXTENSION"
42      />
43
44    <genericsetup:upgradeStep
45      title="Upgrade Plone Google Sitemaps 1.0 to 1.1"
46      description="Upgrade quintagroup.plonegooglesitemaps 1.0 to 1.1"
47      source="*"
48      destination="1.1"
49      handler=".upgrades.upgrade_1_0_to_1_1"
50      sortkey="1"
51      profile="quintagroup.plonegooglesitemaps:default"
52      />
53
54    <genericsetup:upgradeStep
55      title="Upgrade Plone Google Sitemaps 1.1 to 1.2"
56      description="Upgrade quintagroup.plonegooglesitemaps 1.1 to 1.2"
57      source="*"
58      destination="1.2"
59      handler=".upgrades.upgrade_1_1_to_1_2"
60      sortkey="2"
61      profile="quintagroup.plonegooglesitemaps:default"
62      />
63
64    <!-- -*- extra stuff goes here -*- -->
65
66    <subscriber handler=".handlers.pingGoogle"/>
67
68</configure>
Note: See TracBrowser for help on using the repository browser.