[ckan-changes] commit/ckanext-helloworld: 2 new changesets
Bitbucket
commits-noreply at bitbucket.org
Tue Jun 28 19:09:15 UTC 2011
2 new changesets in ckanext-helloworld:
http://bitbucket.org/okfn/ckanext-helloworld/changeset/5b25deff363a/
changeset: 5b25deff363a
user: rgrp
date: 2011-06-28 21:08:33
summary: [plugin][s]: basic plugin (does nothing yet) created and used by setup.py.
affected #: 2 files (165 bytes)
--- a/ckanext/helloworld/__init__.py Tue Jun 28 20:06:11 2011 +0100
+++ b/ckanext/helloworld/__init__.py Tue Jun 28 20:08:33 2011 +0100
@@ -5,3 +5,13 @@
except ImportError:
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)
+
+from logging import getLogger
+log = getLogger(__name__)
+
+from ckan.plugins import implements, SingletonPlugin
+
+
+class HelloworldPlugin(SingletonPlugin):
+ pass
+
--- a/setup.py Tue Jun 28 20:06:11 2011 +0100
+++ b/setup.py Tue Jun 28 20:08:33 2011 +0100
@@ -24,8 +24,8 @@
],
entry_points=\
"""
- [ckan.plugins]
+ [ckan.plugins]
# Add plugins here, eg
- # myplugin=ckanext.helloworld:PluginClass
+ helloworld=ckanext.helloworld:HelloworldPlugin
""",
)
http://bitbucket.org/okfn/ckanext-helloworld/changeset/759534e0319d/
changeset: 759534e0319d
user: rgrp
date: 2011-06-28 21:09:05
summary: Added tag tutorial-step-2 for changeset 5b25deff363a
affected #: 1 file (57 bytes)
--- a/.hgtags Tue Jun 28 20:08:33 2011 +0100
+++ b/.hgtags Tue Jun 28 20:09:05 2011 +0100
@@ -1,1 +1,2 @@
c121c4afe7126acc7d284848b0884f7a60908e35 tutorial-step-1
+5b25deff363abf4d040baa429e632d10aafa512b tutorial-step-2
Repository URL: https://bitbucket.org/okfn/ckanext-helloworld/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the ckan-changes
mailing list