allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject git commit: [#7309] fix installable check for bootstrap too
Date Tue, 15 Apr 2014 20:15:11 GMT
Repository: allura
Updated Branches:
  refs/heads/db/7309 60703ea1a -> 82228fd07


[#7309] fix installable check for bootstrap too


Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/82228fd0
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/82228fd0
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/82228fd0

Branch: refs/heads/db/7309
Commit: 82228fd07f95b77b530302571940a3c0d5e5f420
Parents: 60703ea
Author: Dave Brondsema <dave@brondsema.net>
Authored: Tue Apr 15 16:08:47 2014 -0400
Committer: Dave Brondsema <dave@brondsema.net>
Committed: Tue Apr 15 16:08:47 2014 -0400

----------------------------------------------------------------------
 Allura/allura/websetup/bootstrap.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/82228fd0/Allura/allura/websetup/bootstrap.py
----------------------------------------------------------------------
diff --git a/Allura/allura/websetup/bootstrap.py b/Allura/allura/websetup/bootstrap.py
index 87bc932..87fed58 100644
--- a/Allura/allura/websetup/bootstrap.py
+++ b/Allura/allura/websetup/bootstrap.py
@@ -251,7 +251,9 @@ def bootstrap(command, conf, vars):
         log.info('Registering initial apps')
         with h.push_config(c, user=u_admin):
             for ep_name, app in g.entry_points['tool'].iteritems():
-                if not app.installable:
+                if not app._installable(tool_name=ep_name,
+                                        nbhd=n_projects,
+                                        project_tools=[]):
                     continue
                 p0.install_app(ep_name)
 


Mime
View raw message