Skip to main content

A Zope 2 control panel that shows monkey patches applied by collective.monkeypatcher

Project description

Introduction

collective.monkeypatcherpanel is the Zope 2 companion of Martin Aspeli’s collective.monkeypatcher component.

It just add a ZMI control panel that shows what monkey patches have been applied in case you cannot see the logs or grep through the ZCML of your Zope instance. Open the control panel of your Zope instance and then the “Monkey Patches” control panel.

Requirements

collective.monkeypatcherpanel has been developed and tested with Zope 2.10, Zope 2.11 and Zope 2.12. It may run on Zope 2.9 but this is untested and not supported unless you provide a patch that keeps the tests smiling.

Of course, we require collective.monkeypatcher. If you installed collective.monkeypatcherpanel with easy_install or a zc.buildout, you’re done.

Installation

In your buildout.cfg file, add this:

[instance]
recipe = colective.recipe.zope2instance
...
eggs =
    ...
    collective.monkeypatcherpanel
    ...
zcml =
    ...
    collective.monkeypatcherpanel
    ...

Re-run your buildout then browse as Manager to http://<zope-root>/@@add-monkeypatcherpanel to add the control panel in your Zope 2 instance.

Uninstall

Browse as Manager to http://<zope-root>/@@remove-monkeypatcherpanel then remove collective.monkeypatcherpanel from your buildout configuration or file system. Otherwise you’ll keep a broken object in your Zope 2 control panel.

License

Copyright (c) 2009-2010 - Gilles Lenfant

This software is subject to the provisions of the GNU General Public License, Version 2.0 (GPL). A copy of the GPL should accompany this distribution. THIS SOFTWARE IS PROVIDED “AS IS” AND ANY AND ALL EXPRESS OR IMPLIED WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS FOR A PARTICULAR PURPOSE

The full text of the GPL v2 license is here.

Credits

The icon has been stolen to the Tango Desktop Project.

Changelog

1.0.3

  • added z3c.autoconfigure.plugin entry point [ajung]

1.0.2

  • Unified and simplified the way to install our control panel since it seems very different fom a Zope version to another one. See README.txt. [glenfant]

  • Registering the patch event handler as soon as possible in the Zope 2 start, otherwise we’re missing some monkey patches. [glenfant]

  • Test removed because the control panel is not added automatically.

1.0.1

  • Really fixing for Zope 2.12 [glenfant]

  • All (class init, icon, security, meta_type) done through ZCML [glenfant]

1.0.0

  • Version 1.0.0-rc1 stable enough to make a final release

  • Normalized indentation [glenfant]

1.0.0-rc1

  • Fix import for Zope 2.12 [maikroeder]

1.0.0-alpha1

  • Initial release

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.monkeypatcherpanel-1.0.3.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page