Commits

Matthew Schinckel  committed abc8d98

Initial import

  • Participants

Comments (0)

Files changed (3)

File request_data_plugin/__init__.py

+VERSION = "0.0.1"

File request_data_plugin/plugin.py

+import request_data_plugin
+from sentry.plugins import Plugin
+
+class RequestDataPlugin(Plugin):
+    title = "Request data Plugin"
+    slug = "request-data"
+    description = "Inject request data into display"
+    version = request_data_plugin.VERSION
+    
+    author = "Matthew Schinckel"
+    author_url = "https://bitbucket.org/schinckel/sentry-request-data-plugin"
+    
+    def widget(self, request, group, **kwargs):
+        return "<p>Foo</p>"
+from setuptools import setup
+
+setup(
+    name="sentry-request-data-plugin",
+    version="0.0.1",
+    description="",
+    url="https://bitbucket.org/schinckel/sentry-request-data-plugin",
+    author="Matthew Schinckel",
+    author_email="matt@schinckel.net",
+    packages=[
+        "request_data_plugin",
+    ],
+    entry_points={
+        'sentry.plugins': [
+            'request_data_plugin = request_data_plugin.plugin.RequestDataPlugin'
+        ],
+    },
+)