Changeset 2417 in products


Ignore:
Timestamp:
May 31, 2010 5:38:38 PM (10 years ago)
Author:
mylan
Message:

#131: Added upgrade step from 1.2 to 1.3 version

Location:
quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps
Files:
4 added
2 edited

Legend:

Unmodified
Added
Removed
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/configure.zcml

    r2413 r2417  
    5252      /> 
    5353 
     54    <genericsetup:registerProfile 
     55      name="upgrade_1_2_to_1_3" 
     56      title="Upgrade Plone Google Sitemaps from 1.2 to 1.3" 
     57      directory="profiles/upgrade_1_2_to_1_3" 
     58      description="" 
     59      provides="Products.GenericSetup.interfaces.EXTENSION" 
     60      /> 
     61 
    5462    <genericsetup:upgradeStep 
    5563      title="Upgrade Plone Google Sitemaps 1.0 to 1.1" 
     
    7280      /> 
    7381 
     82    <genericsetup:upgradeStep 
     83      title="Upgrade Plone Google Sitemaps 1.2 to 1.3" 
     84      description="Upgrade quintagroup.plonegooglesitemaps 1.2 to 1.3" 
     85      source="*" 
     86      destination="1.3" 
     87      handler=".upgrades.upgrade_1_2_to_1_3" 
     88      sortkey="3" 
     89      profile="quintagroup.plonegooglesitemaps:default" 
     90      /> 
     91 
    7492    <!-- -*- extra stuff goes here -*- --> 
    7593 
  • quintagroup.plonegooglesitemaps/trunk/quintagroup/plonegooglesitemaps/upgrades.py

    r2390 r2417  
    4040    setuptool.runAllImportStepsFromProfile('profile-quintagroup.plonegooglesitemaps:upgrade_1_0_to_1_1') 
    4141 
    42  
    4342def upgrade_1_1_to_1_2(setuptool): 
    4443    """ Upgrade quintagroup.plonegooglesitemaps from version 1.1 to 1.2. 
     
    4746    migrateCanonical(plone_tools) 
    4847    setuptool.runAllImportStepsFromProfile('profile-quintagroup.plonegooglesitemaps:upgrade_1_1_to_1_2') 
     48 
     49def upgrade_1_2_to_1_3(setuptool): 
     50    """ Upgrade quintagroup.plonegooglesitemaps from version 1.2 to 1.3. 
     51    """ 
     52    setuptool.runAllImportStepsFromProfile('profile-quintagroup.plonegooglesitemaps:upgrade_1_2_to_1_3') 
Note: See TracChangeset for help on using the changeset viewer.