From eca7f573c587b65f3128c4f4bea870ec350f516e Mon Sep 17 00:00:00 2001 From: nevermind Date: Wed, 27 Mar 2013 00:14:36 +0800 Subject: [PATCH 1/5] modify the node-db from my own fork --- .gitmodules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitmodules b/.gitmodules index 558c319..96b9cd4 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "lib/node-db"] path = lib/node-db - url = git://github.com/mariano/node-db.git + url = git://github.com/lessmind/node-db.git From 3d91ead095ab52618272de6afd68111706c3988a Mon Sep 17 00:00:00 2001 From: nevermind Date: Wed, 27 Mar 2013 00:46:51 +0800 Subject: [PATCH 2/5] update node-db --- lib/node-db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/node-db b/lib/node-db index 806d7b4..be0652b 160000 --- a/lib/node-db +++ b/lib/node-db @@ -1 +1 @@ -Subproject commit 806d7b47fe036bdafb4eb3770ed3aea9abaa972b +Subproject commit be0652b1d9cae3b8f463d0e7e3a8b13e989418ee From d7cd4803e677de4ed23af8cbb01149943dccda7e Mon Sep 17 00:00:00 2001 From: nevermind Date: Tue, 20 Aug 2013 12:03:53 +0800 Subject: [PATCH 3/5] add submodule dependency --- package.json | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index b9826ff..0830b7c 100644 --- a/package.json +++ b/package.json @@ -13,18 +13,14 @@ , "licenses" : [ { "type" : "MIT" } ] , "repositories" : [ { "type" : "git" - , "url" : "https://github.com/mariano/node-db-mysql.git" + , "url" : "https://github.com/lessmind/node-db-mysql.git" } ] , "main" : "./db-mysql" , "scripts" : - { "install": "node-waf configure build" - , "preuninstall": "rm -rf build/*" - , "test" : "node-waf test" - , "doc" : "node-waf doc" - } -, "devDependencies" : - { "nodeunit" : "*" - , "nodelint" : "*" + { + "install": "node-gyp rebuild --release", + "preinstall": "git pull --recurse-submodules && git submodule update --init --recursive", + "preuninstall": "rm -rf build/*" } } From 38359d6ac42bbc9f8ec197f1e734daf41db9da38 Mon Sep 17 00:00:00 2001 From: nevermind Date: Tue, 20 Aug 2013 12:17:05 +0800 Subject: [PATCH 4/5] fix install script --- .gitmodules | 3 --- lib/node-db | 1 - package.json | 3 +-- 3 files changed, 1 insertion(+), 6 deletions(-) delete mode 100644 .gitmodules delete mode 160000 lib/node-db diff --git a/.gitmodules b/.gitmodules deleted file mode 100644 index 96b9cd4..0000000 --- a/.gitmodules +++ /dev/null @@ -1,3 +0,0 @@ -[submodule "lib/node-db"] - path = lib/node-db - url = git://github.com/lessmind/node-db.git diff --git a/lib/node-db b/lib/node-db deleted file mode 160000 index be0652b..0000000 --- a/lib/node-db +++ /dev/null @@ -1 +0,0 @@ -Subproject commit be0652b1d9cae3b8f463d0e7e3a8b13e989418ee diff --git a/package.json b/package.json index 0830b7c..7b47a86 100644 --- a/package.json +++ b/package.json @@ -20,7 +20,6 @@ , "scripts" : { "install": "node-gyp rebuild --release", - "preinstall": "git pull --recurse-submodules && git submodule update --init --recursive", - "preuninstall": "rm -rf build/*" + "preinstall": "git clone https://github.com/lessmind/node-db.git lib/node-db" } } From dec04362545ce5296bfe777888f876e12efd2c5d Mon Sep 17 00:00:00 2001 From: nevermind Date: Tue, 20 Aug 2013 12:25:26 +0800 Subject: [PATCH 5/5] fix db-mysql@0.7.6 'repositories' (plural) Not supported. --- package.json | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7b47a86..ab7fd55 100644 --- a/package.json +++ b/package.json @@ -11,11 +11,9 @@ ] , "bugs" : { "url" : "http://github.com/mariano/node-db-mysql/issues" } , "licenses" : [ { "type" : "MIT" } ] -, "repositories" : - [ { "type" : "git" +, "repository" : { "type" : "git" , "url" : "https://github.com/lessmind/node-db-mysql.git" - } - ] + } , "main" : "./db-mysql" , "scripts" : {