[zopeorg-checkins] CVS: Products/ZopeOrg-NV - SoftwareProduct.py:1.27 ZopeOrgTypes.py:1.4 __init__.py:1.17

Sidnei da Silva sidnei at x3ng.com.br
Wed Dec 4 14:45:50 EST 2002


Update of /cvs-zopeorg/Products/ZopeOrg-NV
In directory cvs.zope.org:/tmp/cvs-serv17579

Modified Files:
	SoftwareProduct.py ZopeOrgTypes.py __init__.py 
Log Message:
Removed ZopeOrg Software Package for now. We will move it to a separate package later.

=== Products/ZopeOrg-NV/SoftwareProduct.py 1.26 => 1.27 ===
 RATE_PERMISSION = 'Rate software products'
 PLATFORMS = ('Unix/Linux', 'Windows', 'Other', 'All', 'Unspecified')
 MATURITIES = ('Development', 'Stable')
-ZOPE_VERSIONS=('NA', '1.X', '2.0', '2.1', '2.2', '2.3', '2.4')#get rid of this
+ZOPE_VERSIONS=('NA', '1.X', '2.0', '2.1', '2.2', '2.3', '2.4', '2.5', '2.6', '3')#get rid of this
 
 PUBLIC_PRODUCT_TYPES=( 'Commerce', 'Content Object', 'Examples', 'External Access',
                        'Feedback', 'Helpers', 'Internationalization',


=== Products/ZopeOrg-NV/ZopeOrgTypes.py 1.3 => 1.4 ===
 #
 
 from Products.CMFCore import CMFCorePermissions
-from SoftwareProduct import factory_type_information
 
-sp_ftis = tuple( map( lambda x: (x,), factory_type_information ) )
-
-ftis = sp_ftis + (
+ftis = (
 
 ( { 'id' : 'HowTo'
 , 'meta_type' : 'Document'


=== Products/ZopeOrg-NV/__init__.py 1.16 => 1.17 ===
 from Products.CMFCore.utils import registerIcon, ToolInit, ContentInit
 from Products.CMFCore.CMFCorePermissions import AddPortalContent
 from Products.CMFCore import PortalFolder
-import SoftwareProduct
+#import SoftwareProduct
 import NewsItemWorkflow
 import ZopeOrgWorkflow
 #import ZopeOrgMemberDataTool
@@ -23,7 +23,7 @@
 registerDirectory('skins/zopeorg', globals())
 registerDirectory('skins/zopeorg_membership', globals())
 
-ftis = SoftwareProduct.factory_type_information
+#ftis = SoftwareProduct.factory_type_information
 
 CL_CTORS = ( ( 'manage_addContentListForm', ContentList.addContentListForm )
            , ContentList.addContentList
@@ -54,15 +54,15 @@
     #    product_name='ZopeOrg',
     #    icon='tool.gif' ).initialize( context )
 
-    ContentInit(
-        'Zope.org Content',
-        content_types = ( SoftwareProduct.SoftwareProduct
-                        , SoftwareProduct.SoftwareRelease
-                        ),
-        permission = AddPortalContent,
-        extra_constructors = ( SoftwareProduct.addSoftwareProduct
-                             , SoftwareProduct.addSoftwareRelease
-                             , SoftwareProduct.addSoftwareReleaseFile
-                             ),
-        fti = ftis ,
-        ).initialize(context)
+    #ContentInit(
+    #    'Zope.org Content',
+    #    content_types = ( SoftwareProduct.SoftwareProduct
+    #                    , SoftwareProduct.SoftwareRelease
+    #                    ),
+    #    permission = AddPortalContent,
+    #    extra_constructors = ( SoftwareProduct.addSoftwareProduct
+    #                         , SoftwareProduct.addSoftwareRelease
+    #                         , SoftwareProduct.addSoftwareReleaseFile
+    #                         ),
+    #    fti = ftis ,
+    #    ).initialize(context)





More information about the zopeorg-checkins mailing list