Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Add sentry.apps support to correct templating issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Jun 22, 2012
1 parent 23b513d commit 63cd76a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions sentry_phabricator/plugin.py
Expand Up @@ -35,6 +35,8 @@ class PhabricatorOptionsForm(forms.Form):

def clean(self):
config = self.cleaned_data
if not all(config.get(k) for k in ('host', 'username', 'certificate')):
raise forms.ValidationError('Missing required configuration value')
api = phabricator.Phabricator(
host=urlparse.urljoin(config['host'], 'api/'),
username=config['username'],
Expand Down
7 changes: 5 additions & 2 deletions setup.py
Expand Up @@ -17,13 +17,13 @@
]

install_requires = [
'sentry>=4.6.0',
'sentry>=4.7.8',
'phabricator>=0.1.1',
]

setup(
name='sentry-phabricator',
version='0.6.0',
version='0.6.1',
author='David Cramer',
author_email='dcramer@gmail.com',
url='http://github.com/dcramer/sentry-phabricator',
Expand All @@ -38,6 +38,9 @@
test_suite='runtests.runtests',
include_package_data=True,
entry_points={
'sentry.apps': [
'phabricator = sentry_phabricator',
],
'sentry.plugins': [
'phabricator = sentry_phabricator.plugin:PhabricatorPlugin'
],
Expand Down

0 comments on commit 63cd76a

Please sign in to comment.