projects
/
zzz-spline-forum.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e246966
)
Great Migration: spline.plugins => splinext
veekun-promotions/2010051501
author
Eevee
<git@veekun.com>
Sun, 16 May 2010 03:29:22 +0000
(20:29 -0700)
committer
Eevee
<git@veekun.com>
Sun, 16 May 2010 03:29:22 +0000
(20:29 -0700)
setup.py
patch
|
blob
|
history
spline/__init__.py
[deleted file]
patch
|
blob
|
history
splinext/__init__.py
[moved from
spline/plugins/__init__.py
with 100% similarity]
patch
|
blob
|
history
splinext/forum/__init__.py
[moved from
spline/plugins/forum/__init__.py
with 87% similarity]
patch
|
blob
|
history
splinext/forum/controllers/__init__.py
[moved from
spline/plugins/forum/controllers/__init__.py
with 100% similarity]
patch
|
blob
|
history
splinext/forum/controllers/forum.py
[moved from
spline/plugins/forum/controllers/forum.py
with 100% similarity]
patch
|
blob
|
history
splinext/forum/model/__init__.py
[moved from
spline/plugins/forum/model/__init__.py
with 100% similarity]
patch
|
blob
|
history
splinext/forum/templates/css/forum.mako
[moved from
spline/plugins/forum/templates/css/forum.mako
with 100% similarity]
patch
|
blob
|
history
splinext/forum/templates/forum/forums.mako
[moved from
spline/plugins/forum/templates/forum/forums.mako
with 100% similarity]
patch
|
blob
|
history
splinext/forum/templates/forum/posts.mako
[moved from
spline/plugins/forum/templates/forum/posts.mako
with 100% similarity]
patch
|
blob
|
history
splinext/forum/templates/forum/threads.mako
[moved from
spline/plugins/forum/templates/forum/threads.mako
with 100% similarity]
patch
|
blob
|
history
diff --git
a/setup.py
b/setup.py
index
5e736f3
..
1a4f1f7
100644
(file)
--- a/
setup.py
+++ b/
setup.py
@@
-13,7
+13,7
@@
setup(
zip_safe = False,
zip_safe = False,
- entry_points = {'spline.plugins': 'forum = spline
.plugins
.forum:ForumPlugin'},
+ entry_points = {'spline.plugins': 'forum = spline
xt
.forum:ForumPlugin'},
- namespace_packages = ['spline
', 'spline.plugins
'],
+ namespace_packages = ['spline
xt
'],
)
)
diff --git
a/spline/__init__.py
b/spline/__init__.py
deleted file mode 100644
(file)
index
de40ea7
..0000000
--- a/
spline/__init__.py
+++ /dev/null
@@
-1
+0,0 @@
-__import__('pkg_resources').declare_namespace(__name__)
diff --git
a/spline/plugins/__init__.py
b/splinext/__init__.py
similarity index 100%
rename from
spline/plugins/__init__.py
rename to
splinext/__init__.py
diff --git
a/spline/plugins/forum/__init__.py
b/splinext/forum/__init__.py
similarity index 87%
rename from
spline/plugins/forum/__init__.py
rename to
splinext/forum/__init__.py
index
bd48a20
..
55ffaa2
100644
(file)
--- a/
spline/plugins/forum/__init__.py
+++ b/
splinext/forum/__init__.py
@@
-7,8
+7,8
@@
from spline.lib.plugin import PluginBase, PluginLink, Priority
import spline.model as model
import spline.model.meta as meta
import spline.model as model
import spline.model.meta as meta
-import spline
.plugins
.forum.controllers.forum
-import spline
.plugins
.forum.model
+import spline
xt
.forum.controllers.forum
+import spline
xt
.forum.model
def add_routes_hook(map, *args, **kwargs):
"""Hook to inject some of our behavior into the routes configuration."""
def add_routes_hook(map, *args, **kwargs):
"""Hook to inject some of our behavior into the routes configuration."""
@@
-20,7
+20,7
@@
def add_routes_hook(map, *args, **kwargs):
class ForumPlugin(PluginBase):
def controllers(self):
return dict(
class ForumPlugin(PluginBase):
def controllers(self):
return dict(
- forum = spline
.plugins
.forum.controllers.forum.ForumController,
+ forum = spline
xt
.forum.controllers.forum.ForumController,
)
def model(self):
)
def model(self):
diff --git
a/spline/plugins/forum/controllers/__init__.py
b/splinext/forum/controllers/__init__.py
similarity index 100%
rename from
spline/plugins/forum/controllers/__init__.py
rename to
splinext/forum/controllers/__init__.py
diff --git
a/spline/plugins/forum/controllers/forum.py
b/splinext/forum/controllers/forum.py
similarity index 100%
rename from
spline/plugins/forum/controllers/forum.py
rename to
splinext/forum/controllers/forum.py
diff --git
a/spline/plugins/forum/model/__init__.py
b/splinext/forum/model/__init__.py
similarity index 100%
rename from
spline/plugins/forum/model/__init__.py
rename to
splinext/forum/model/__init__.py
diff --git
a/spline/plugins/forum/templates/css/forum.mako
b/splinext/forum/templates/css/forum.mako
similarity index 100%
rename from
spline/plugins/forum/templates/css/forum.mako
rename to
splinext/forum/templates/css/forum.mako
diff --git
a/spline/plugins/forum/templates/forum/forums.mako
b/splinext/forum/templates/forum/forums.mako
similarity index 100%
rename from
spline/plugins/forum/templates/forum/forums.mako
rename to
splinext/forum/templates/forum/forums.mako
diff --git
a/spline/plugins/forum/templates/forum/posts.mako
b/splinext/forum/templates/forum/posts.mako
similarity index 100%
rename from
spline/plugins/forum/templates/forum/posts.mako
rename to
splinext/forum/templates/forum/posts.mako
diff --git
a/spline/plugins/forum/templates/forum/threads.mako
b/splinext/forum/templates/forum/threads.mako
similarity index 100%
rename from
spline/plugins/forum/templates/forum/threads.mako
rename to
splinext/forum/templates/forum/threads.mako