Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install collective.gsqi

How to install collective.gsqi

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.gsqi
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.3 Available View build log
Windows (64-bit)
0.3 Available View build log
Mac OS X (10.5+)
0.3 Available View build log
Linux (32-bit)
0.3 Available View build log
Linux (64-bit)
0.3 Available View build log
 
License
GPL
Lastest release
version 0.3 on Jan 5th, 2011

This package is my grab bag of patches to GS and portal_quickinstaller I use in my client work. It is unstable, unpolished, subject to my whim, and really should be experimental.gsqi. If, however, the same GenericSetup and portal_quickinstaller quirks and bugs bother you, or the same conveniences are of value to you, you might want to look at whats in it.

  • Fix `import of group roles

    System Message: WARNING/2 (<string>, line 14); backlink

    Inline interpreted text or phrase reference start-string without end-string.

System Message: WARNING/2 (<string>, line 15)

Bullet list ends without a blank line; unexpected unindent.

<http://dev.plone.org/collective/browser/collective.gsqi/trunk/collective/gsqi/workflow/exportimport.py>`_ during workflow import

  • Fix `circular import handler dependencies

    System Message: WARNING/2 (<string>, line 18); backlink

    Inline interpreted text or phrase reference start-string without end-string.

System Message: WARNING/2 (<string>, line 19)

Bullet list ends without a blank line; unexpected unindent.

<http://dev.plone.org/plone/ticket/8350>`_ bug

  • Fix portal_quickinstaller so that `persistent data is not lost

    System Message: WARNING/2 (<string>, line 21); backlink

    Inline interpreted text or phrase reference start-string without end-string.

System Message: WARNING/2 (<string>, line 22)

Bullet list ends without a blank line; unexpected unindent.

<http://dev.plone.org/collective/browser/collective.gsqi/trunk/collective/gsqi/qi.py>`_ on reinstall

Also included are a number of perhaps naughty extensions to the CMF content import handler.

  • Permissive registrations of the StructureFolderWalkingAdapter so

System Message: WARNING/2 (<string>, line 29)

Bullet list ends without a blank line; unexpected unindent.

that folders under the profile's "structure" folder with the same name as in the container's .objects file can be used to import any kind of content object, not just folders. This allows, amongst other things, creating topics/collections and criteria on import.

  • Set arbitrary AT fields on import using the options under the

System Message: WARNING/2 (<string>, line 35)

Bullet list ends without a blank line; unexpected unindent.

[FIELDS] section of .properties as field names and the option values as field values. If field.multiValued is True, then the option value will be split on newlines and each value stripped.

  • Reindex imported objects so that imported titles, descriptions,

System Message: WARNING/2 (<string>, line 40)

Bullet list ends without a blank line; unexpected unindent.

and any other AT fields are reflected in the catalog and portal navigation after import.

  • Set local roles on import where each option under the [ROLES]

System Message: WARNING/2 (<string>, line 44)

Bullet list ends without a blank line; unexpected unindent.

section of .properties is the principal/user id and the roles assigned to that principal are taken from the option value split at newlines with each item stripped.

  • Do each workflow transition listed under the "transitions" option

System Message: WARNING/2 (<string>, line 49)

Bullet list ends without a blank line; unexpected unindent.

of the [DEFAULT] section of .properties. The option value is split at newlines with each item stripped.

  • Set display layout using the layout option in the [DEFAULT]

System Message: WARNING/2 (<string>, line 53)

Bullet list ends without a blank line; unexpected unindent.

section of .properties

Here's a sample .properties file demonstrating all these extensions:

[DEFAULT]

System Message: ERROR/3 (<string>, line 58)

Inconsistent literal block quoting.

title = News and Events description = Site News and Events transitions = publish layout = aggregator

[ROLES] Marketers = Contributor

[FIELDS] excludeFromNav = True constrainTypesMode = 1 locallyAllowedTypes = Event News Iem immediatelyAddableTypes = Event News Iem

Also included is GSML which allows implementing GS import handlers as you would implement ZCML directive handlers. Some import handlers are included in collective.gsqi that make use of GSML.

  • A `groups import handler

    System Message: WARNING/2 (<string>, line 81); backlink

    Inline interpreted text or phrase reference start-string without end-string.

System Message: WARNING/2 (<string>, line 82)

Bullet list ends without a blank line; unexpected unindent.

<http://dev.plone.org/collective/browser/collective.gsqi/trunk/collective/gsqi/group/README.txt>`_

  • A `references import handler

    System Message: WARNING/2 (<string>, line 84); backlink

    Inline interpreted text or phrase reference start-string without end-string.

System Message: WARNING/2 (<string>, line 85)

Bullet list ends without a blank line; unexpected unindent.

<http://dev.plone.org/collective/browser/collective.gsqi/trunk/collective/gsqi/refs/meta.py>`_

Changelog

0.3 - 2009-08-23
  • More permissive StructureFolderWalkingAdapter registration
  • Use AT field set method directly so that mode 'r' fields can still

System Message: WARNING/2 (<string>, line 95)

Bullet list ends without a blank line; unexpected unindent.

be imported * Add support for setting content display layout on GS content import

0.2 - 2009-06-27
  • Make the content properties importers apply even when the content

System Message: WARNING/2 (<string>, line 102)

Bullet list ends without a blank line; unexpected unindent.

already exists. IOW, hook into the importer rather than into makeInstance.

System Message: WARNING/2 (<string>, line 108)

Bullet list ends without a blank line; unexpected unindent.

b_mathieu.

  • Add support for importing groups
  • Fix handling of profiles with XML for a given step
  • Add support for ZCML based GenericSetup import handlers
  • Fix DCWokflow's exportimport handling of groups
0.1 - 2009-04-07
  • Initial release

Subscribe to package updates

Last updated Jan 5th, 2011

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.