Skip to content

Commit

Permalink
take two at hiding the upgrade profiles from the quick installer
Browse files Browse the repository at this point in the history
svn path=/plone.app.upgrade/branches/1.0/; revision=29163
  • Loading branch information
davisagli committed Aug 19, 2009
1 parent e4c44da commit 1947aec
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGES.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ Changelog
1.0 - unreleased
----------------

- Added a INonInstallable utility to hide this package's profiles from the
quick installer.
[davisagli]

- Fixed a couple profiles that were not registered for IMigratingPloneSiteRoot.
[davisagli]

Expand Down
16 changes: 15 additions & 1 deletion plone/app/upgrade/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1,15 @@
#
from zope.interface import implements
from Products.CMFQuickInstallerTool.interfaces import INonInstallable

class HiddenProducts(object):
implements(INonInstallable)

def getNonInstallableProducts(self):
return [
'plone.app.upgrade.v25',
'plone.app.upgrade.v30',
'plone.app.upgrade.v31',
'plone.app.upgrade.v32',
'plone.app.upgrade.v33',
'plone.app.upgrade.v40',
]
5 changes: 5 additions & 0 deletions plone/app/upgrade/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,9 @@
<include package=".v33" />
<include package=".v40" />

<utility
factory=".HiddenProducts"
name="plone.app.upgrades"
/>

</configure>
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
zip_safe=False,
extras_require=dict(
test=[
'Products.CMFQuickInstallerTool',
'Products.PloneTestCase',
'plone.contentrules',
'plone.app.i18n',
Expand Down

0 comments on commit 1947aec

Please sign in to comment.