Conjunto de mudanças 6097 no repositório publico


Ignorar:
Timestamp:
29/02/2012 16:47:48 (8 anos atrás)
Autor:
davilima6
Mensagem:

Adiciona e autoinstala novos produtos

Localização:
PortalInterlegis/produtos/il.portal.policy
Arquivos:
2 editados

Legenda:

Não Modificado
Adicionado
Removido
  • PortalInterlegis/produtos/il.portal.policy/il/portal/policy/upgrades/to1000.py

    r5423 r6097  
    11# -*- coding: utf-8 -*-
    2 from zope import component
    3 import logging
    42from Products.CMFCore.utils import getToolByName
    5 from Products.GenericSetup import interfaces as gsinterfaces
    6 from Products.GenericSetup.upgrade import listUpgradeSteps
     3from il.portal.policy.config import PRODUCTS
    74
    8 from Products.ZCatalog.ProgressHandler import ZLogHandler
    9 
    10 from il.portal.policy.config import PRODUCTS
    115
    126def upgrade0to1000(context):
    137    """Upgrade to version 1000
    148    """
    15     setup = getToolByName(context, 'portal_setup')
    16     migration = getToolByName(context,'portal_migration')
    17     catalog = getToolByName(context,'portal_catalog')
    18     portal_properties = getToolByName(context,'portal_properties')
    19     qi = getToolByName(context,'portal_quickinstaller')
    209
    2110    # Install dependencies for this upgrade
     
    3322      'collective.contentrules.mailtolocalrole',
    3423      'collective.googleanalytics',
    35       'collective.portlet.fblikebox',
    3624      'collective.portlet.keywordmatches',
     25      'collective.prettyphoto',
     26      'collective.quickupload',
    3727      'collective.recaptcha',
     28      'collective.simplesocial',
     29      'collective.twitter.accounts',
     30      'collective.twitter.action',
    3831      'collective.smartkeywordmanager',
    3932      'eea.facetednavigation',
    4033      'raptus.article.default',
    41       'raptus.article.media',
    4234      'sc.contentrules.groupbydate',
    4335      'sc.social.like',
    4436      'slc.stickystatusmessages',
    4537      'webcouturier.dropdownmenu',
    46                ]
     38    ]
    4739    # (name,locked,hidden,install,profile,runProfile)
    4840    dependencies = [(name,locked,hidden,profile) for name,locked,hidden,install,profile,runProfile in PRODUCTS if ((name in packages) and install)]
    49    
     41
    5042    for name, locked, hidden, profile in dependencies:
    5143        qi.installProduct(name, locked=locked, hidden=hidden, profile=profile)
    52    
     44
    5345    # If we have blob and imaging installed
    5446    # uncomment lines bellow
  • PortalInterlegis/produtos/il.portal.policy/setup.py

    r6085 r6097  
    4343        'collective.oembedtile',
    4444        'collective.portlet.keywordmatches==1.2',
     45        'collective.prettyphoto',
     46        'collective.quickupload',
    4547        'collective.recaptcha==1.1.3',
    4648        'collective.simplesocial==1.7',
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.