prepwork
authorSteve Hackbarth <stephenhackbarth@gmail.com>
Wed, 30 Jul 2014 16:17:30 +0000 (12:17 -0400)
committerSteve Hackbarth <stephenhackbarth@gmail.com>
Wed, 30 Jul 2014 16:17:30 +0000 (12:17 -0400)
node-datasource/routes/install_extension.js
scripts/lib/build_all.js
scripts/lib/build_database_util.js

index 4f67983..d69d313 100644 (file)
@@ -63,8 +63,8 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
     async.series([
       validateInput,
       validateUser,
-      npmLoad,
-      npmInstall,
+      //npmLoad,
+      //npmInstall,
       buildExtension,
       useClientDir
     ], function (err, results) {
index 611107a..f663583 100644 (file)
@@ -72,6 +72,7 @@ var _ = require('underscore'),
             }
 
           },
+          /*
           function (done) {
             // step 1: npm install extension if necessary
             // an alternate approach would be only npm install these
@@ -101,6 +102,7 @@ var _ = require('underscore'),
               }, done);
             });
           },
+          */
           function (done) {
             // step 2: build the client
             buildClient(specs, done);
index c8f5ca5..8ce8b9c 100644 (file)
@@ -577,6 +577,9 @@ regexp:true, undef:true, strict:true, trailing:true, white:true */
       unregisterSql = ["delete from xt.usrext where usrext_id in " +
         "(select usrext_id from xt.usrext inner join xt.ext on usrext_ext_id = ext_id where ext_name = $1);",
 
+        "delete from xt.grpext where grpext_id in " +
+        "(select grpext_id from xt.grpext inner join xt.ext on grpext_ext_id = ext_id where ext_name = $1);",
+
         "delete from xt.clientcode where clientcode_id in " +
         "(select clientcode_id from xt.clientcode inner join xt.ext on clientcode_ext_id = ext_id where ext_name = $1);",