format patches

This commit is contained in:
zhouganqing 2023-02-17 11:33:41 +08:00
parent 37dd491806
commit 41cb0c591b
4 changed files with 57 additions and 22 deletions

View File

@ -1,9 +1,17 @@
Description: drop dependency to node-cross-spawn From: Xavier Guimard <yadd@debian.org>
Author: Xavier Guimard <yadd@debian.org> Date: Fri, 17 Feb 2023 11:33:41 +0800
Subject: drop dependency to node-cross-spawn
Bug-Debian: https://bugs.debian.org/959788 Bug-Debian: https://bugs.debian.org/959788
Forwarded: not-needed Forwarded: not-needed
Last-Update: 2020-05-05 Last-Update: 2020-05-05
---
package.json | 1 -
tools/utils.js | 2 +-
2 files changed, 1 insertion(+), 2 deletions(-)
diff --git a/package.json b/package.json
index 33f696c..29077d6 100644
--- a/package.json --- a/package.json
+++ b/package.json +++ b/package.json
@@ -48,7 +48,6 @@ @@ -48,7 +48,6 @@
@ -14,6 +22,8 @@ Last-Update: 2020-05-05
"glob": "^4.3.2", "glob": "^4.3.2",
"grunt-saucelabs": "~8.4.1", "grunt-saucelabs": "~8.4.1",
"highland": "^2.3.0", "highland": "^2.3.0",
diff --git a/tools/utils.js b/tools/utils.js
index d082a4f..fd313c9 100755
--- a/tools/utils.js --- a/tools/utils.js
+++ b/tools/utils.js +++ b/tools/utils.js
@@ -1,7 +1,7 @@ @@ -1,7 +1,7 @@

View File

@ -1,11 +1,19 @@
Description: fix for mkdirp ≥ 1 From: Xavier Guimard <yadd@debian.org>
Author: Xavier Guimard <yadd@debian.org> Date: Fri, 17 Feb 2023 11:33:41 +0800
Subject: =?utf-8?q?fix_for_mkdirp_=E2=89=A5_1?=
Forwarded: <no|not-needed|url proving that it has been forwarded> Forwarded: <no|not-needed|url proving that it has been forwarded>
Last-Update: 2020-10-23 Last-Update: 2020-10-23
---
tools/build.js | 4 ++--
tools/test.js | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/build.js b/tools/build.js
index d65375b..4c3ec6f 100644
--- a/tools/build.js --- a/tools/build.js
+++ b/tools/build.js +++ b/tools/build.js
@@ -5,7 +5,7 @@ @@ -5,7 +5,7 @@ Promise.longStackTraces();
var utils = require("./utils.js"); var utils = require("./utils.js");
var glob = Promise.promisify(require("glob")); var glob = Promise.promisify(require("glob"));
var fs = Promise.promisifyAll(require("fs")); var fs = Promise.promisifyAll(require("fs"));
@ -14,7 +22,7 @@ Last-Update: 2020-10-23
var rimraf = Promise.promisify(require("rimraf")); var rimraf = Promise.promisify(require("rimraf"));
jobRunner.init(path.join(__dirname, ".."), function() { jobRunner.init(path.join(__dirname, ".."), function() {
@@ -124,7 +124,7 @@ @@ -124,7 +124,7 @@ function getSourcePaths(features) {
function ensureDirectory(dir, isUsed, clean) { function ensureDirectory(dir, isUsed, clean) {
return (clean ? rimraf(dir) : Promise.resolve()).then(function() { return (clean ? rimraf(dir) : Promise.resolve()).then(function() {
if (!isUsed) return dir; if (!isUsed) return dir;
@ -23,9 +31,11 @@ Last-Update: 2020-10-23
}); });
} }
diff --git a/tools/test.js b/tools/test.js
index 27f5355..d4a303d 100644
--- a/tools/test.js --- a/tools/test.js
+++ b/tools/test.js +++ b/tools/test.js
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@ var tableLogger = utils.tableLogger;
var argv = require("optimist").argv; var argv = require("optimist").argv;
var glob = Promise.promisify(require("glob")); var glob = Promise.promisify(require("glob"));
var path = require("path"); var path = require("path");

View File

@ -1,11 +1,18 @@
Description: disable bad check for autopkgtest From: Xavier Guimard <yadd@debian.org>
Author: Xavier Guimard <yadd@debian.org> Date: Fri, 17 Feb 2023 11:33:41 +0800
Subject: disable bad check for autopkgtest
Forwarded: not-needed Forwarded: not-needed
Last-Update: 2020-01-09 Last-Update: 2020-01-09
---
tools/build.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/tools/build.js b/tools/build.js
index 97df510..d65375b 100644
--- a/tools/build.js --- a/tools/build.js
+++ b/tools/build.js +++ b/tools/build.js
@@ -254,10 +254,10 @@ @@ -254,10 +254,10 @@ function buildBrowser(sources, dir, tmpDir, depsRequireCode, minify, npmPackage,
var root = process.cwd(); var root = process.cwd();
// Since rm -rf is called, better be sure... // Since rm -rf is called, better be sure...

View File

@ -1,17 +1,25 @@
Description: Avoid error for incorrect root directory From: Ross Gammon <rossgammon@mail.dk>
Avoid error for incorrect root directory. Test/build.js expects Date: Fri, 17 Feb 2023 11:33:41 +0800
"bluebird". When building in Debian, the root directory Subject: Avoid error for incorrect root directory
changes (e.g. node-bluebird-3.4.6). Although this should not matter for
Debian (the check is probably just in case a developer tries to
run the tests outside of the root directory), this patch checks that
at least the first 13 characters of the root directory contain
"node-bluebird".
Author: Ross Gammon <rossgammon@mail.dk>
Forwarded: not-needed Forwarded: not-needed
--- node-bluebird.orig/tools/build.js Avoid error for incorrect root directory. Test/build.js expects
+++ node-bluebird/tools/build.js "bluebird". When building in Debian, the root directory
@@ -254,7 +254,7 @@ changes (e.g. node-bluebird-3.4.6). Although this should not matter for
Debian (the check is probably just in case a developer tries to
run the tests outside of the root directory), this patch checks that
at least the first 13 characters of the root directory contain
"node-bluebird".
---
tools/build.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/build.js b/tools/build.js
index 721f513..97df510 100644
--- a/tools/build.js
+++ b/tools/build.js
@@ -254,7 +254,7 @@ function buildBrowser(sources, dir, tmpDir, depsRequireCode, minify, npmPackage,
var root = process.cwd(); var root = process.cwd();
// Since rm -rf is called, better be sure... // Since rm -rf is called, better be sure...