mirror of
https://github.com/webinstall/webi-installers.git
synced 2026-08-19 12:06:25 +00:00
burn the logs and use 'install.bash'
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ if (module === require.main) {
|
||||
).then(
|
||||
//getAllReleases(require('@root/request'), 'root', 'serviceman', 'https://git.rootprojects.org').then(
|
||||
function (all) {
|
||||
console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all, null, 2));
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@ module.exports = getAllReleases;
|
||||
if (module === require.main) {
|
||||
getAllReleases(require('@root/request'), 'BurntSushi', 'ripgrep').then(
|
||||
function (all) {
|
||||
console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all, null, 2));
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
@@ -42,8 +42,7 @@ function normalize(all) {
|
||||
if (!rel.os) {
|
||||
rel.os =
|
||||
Object.keys(osMap).find(function (regKey) {
|
||||
/*
|
||||
console.log(
|
||||
/* console.log(
|
||||
'release os:',
|
||||
regKey,
|
||||
osMap[regKey],
|
||||
|
||||
+1
-1
@@ -16,6 +16,6 @@ module.exports = function (request) {
|
||||
|
||||
if (module === require.main) {
|
||||
module.exports(require('@root/request')).then(function (all) {
|
||||
console.log(JSON.stringify(all));
|
||||
console.info(JSON.stringify(all));
|
||||
});
|
||||
}
|
||||
|
||||
+1
-2
@@ -21,7 +21,6 @@ module.exports = function (request) {
|
||||
body.releases.forEach(function (asset) {
|
||||
if (!map[asset.channel]) {
|
||||
map[asset.channel] = true;
|
||||
console.log('a', asset.channel);
|
||||
}
|
||||
all.releases.push({
|
||||
// nix leading 'v'
|
||||
@@ -60,6 +59,6 @@ module.exports = function (request) {
|
||||
if (module === require.main) {
|
||||
module.exports(require('@root/request')).then(function (all) {
|
||||
all.releases = all.releases.slice(25);
|
||||
console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all, null, 2));
|
||||
});
|
||||
}
|
||||
|
||||
+1
-1
@@ -73,6 +73,6 @@ if (module === require.main) {
|
||||
getAllReleases(require('@root/request')).then(function (all) {
|
||||
all = require('../_common/normalize.js')(all);
|
||||
all.releases = all.releases.slice(0, 10);
|
||||
console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all, null, 2));
|
||||
});
|
||||
}
|
||||
|
||||
+1
-1
@@ -85,6 +85,6 @@ module.exports = function (request) {
|
||||
|
||||
if (module === require.main) {
|
||||
module.exports(require('@root/request')).then(function (all) {
|
||||
console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all, null, 2));
|
||||
});
|
||||
}
|
||||
|
||||
+2
-2
@@ -140,7 +140,7 @@ module.exports = getAllReleases;
|
||||
|
||||
if (module === require.main) {
|
||||
getAllReleases(require('@root/request')).then(function (all) {
|
||||
console.log(JSON.stringify(all));
|
||||
//console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all));
|
||||
//console.info(JSON.stringify(all, null, 2));
|
||||
});
|
||||
}
|
||||
|
||||
+1
-1
@@ -19,6 +19,6 @@ module.exports = function (request) {
|
||||
|
||||
if (module === require.main) {
|
||||
module.exports(require('@root/request')).then(function (all) {
|
||||
console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all, null, 2));
|
||||
});
|
||||
}
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ module.exports = function (request) {
|
||||
|
||||
if (module === require.main) {
|
||||
module.exports(require('@root/request')).then(function (all) {
|
||||
console.log(JSON.stringify(all));
|
||||
//console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all));
|
||||
//console.info(JSON.stringify(all, null, 2));
|
||||
});
|
||||
}
|
||||
|
||||
+2
-2
@@ -12,7 +12,7 @@ module.exports = function (request) {
|
||||
|
||||
if (module === require.main) {
|
||||
module.exports(require('@root/request')).then(function (all) {
|
||||
console.log(JSON.stringify(all));
|
||||
//console.log(JSON.stringify(all, null, 2));
|
||||
console.info(JSON.stringify(all));
|
||||
//console.info(JSON.stringify(all, null, 2));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user