From aca704f2d3b6f2ad94aa9e440e7dc9050821be5d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Wed, 6 May 2020 03:28:55 +0000 Subject: [PATCH] burn the logs and use 'install.bash' --- _common/gitea.js | 2 +- _common/github.js | 2 +- _common/normalize.js | 3 +-- brew/{brew.bash => install.bash} | 0 caddy/{caddy.bash => install.bash} | 0 caddy/releases.js | 2 +- flutter/{flutter.bash => install.bash} | 0 flutter/releases.js | 3 +-- go/{go.bash => install.bash} | 0 golang/{golang.bash => install.bash} | 0 golang/releases.js | 2 +- macos/{macos.bash => install.bash} | 0 macos/releases.js | 2 +- node/{node.bash => install.bash} | 0 node/releases.js | 4 ++-- pathman/{pathman.bash => install.bash} | 0 pathman/releases.js | 2 +- rg/{rg.bash => install.bash} | 0 rg/releases.js | 4 ++-- ripgrep/{ripgrep.bash => install.bash} | 0 ripgrep/releases.js | 4 ++-- rust/{rust.bash => install.bash} | 0 rustlang/{rustlang.bash => install.bash} | 0 serviceman/{serviceman.bash => install.bash} | 0 vim-sensible/{vim-sensible.bash => install.bash} | 0 webi/{webi.bash => install.bash} | 0 26 files changed, 14 insertions(+), 16 deletions(-) rename brew/{brew.bash => install.bash} (100%) rename caddy/{caddy.bash => install.bash} (100%) rename flutter/{flutter.bash => install.bash} (100%) rename go/{go.bash => install.bash} (100%) rename golang/{golang.bash => install.bash} (100%) rename macos/{macos.bash => install.bash} (100%) rename node/{node.bash => install.bash} (100%) rename pathman/{pathman.bash => install.bash} (100%) rename rg/{rg.bash => install.bash} (100%) rename ripgrep/{ripgrep.bash => install.bash} (100%) rename rust/{rust.bash => install.bash} (100%) rename rustlang/{rustlang.bash => install.bash} (100%) rename serviceman/{serviceman.bash => install.bash} (100%) rename vim-sensible/{vim-sensible.bash => install.bash} (100%) rename webi/{webi.bash => install.bash} (100%) diff --git a/_common/gitea.js b/_common/gitea.js index c0deae3..d6fe537 100644 --- a/_common/gitea.js +++ b/_common/gitea.js @@ -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)); } ); } diff --git a/_common/github.js b/_common/github.js index ef3a64f..442b16b 100644 --- a/_common/github.js +++ b/_common/github.js @@ -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)); } ); } diff --git a/_common/normalize.js b/_common/normalize.js index 0f28e23..dac0902 100644 --- a/_common/normalize.js +++ b/_common/normalize.js @@ -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], diff --git a/brew/brew.bash b/brew/install.bash similarity index 100% rename from brew/brew.bash rename to brew/install.bash diff --git a/caddy/caddy.bash b/caddy/install.bash similarity index 100% rename from caddy/caddy.bash rename to caddy/install.bash diff --git a/caddy/releases.js b/caddy/releases.js index 964f481..0b3c77d 100644 --- a/caddy/releases.js +++ b/caddy/releases.js @@ -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)); }); } diff --git a/flutter/flutter.bash b/flutter/install.bash similarity index 100% rename from flutter/flutter.bash rename to flutter/install.bash diff --git a/flutter/releases.js b/flutter/releases.js index 41a0be2..3a64938 100644 --- a/flutter/releases.js +++ b/flutter/releases.js @@ -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)); }); } diff --git a/go/go.bash b/go/install.bash similarity index 100% rename from go/go.bash rename to go/install.bash diff --git a/golang/golang.bash b/golang/install.bash similarity index 100% rename from golang/golang.bash rename to golang/install.bash diff --git a/golang/releases.js b/golang/releases.js index d7dd22a..133d8fd 100644 --- a/golang/releases.js +++ b/golang/releases.js @@ -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)); }); } diff --git a/macos/macos.bash b/macos/install.bash similarity index 100% rename from macos/macos.bash rename to macos/install.bash diff --git a/macos/releases.js b/macos/releases.js index 30ae31b..39f7c3f 100644 --- a/macos/releases.js +++ b/macos/releases.js @@ -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)); }); } diff --git a/node/node.bash b/node/install.bash similarity index 100% rename from node/node.bash rename to node/install.bash diff --git a/node/releases.js b/node/releases.js index 40afcf9..c2fc470 100644 --- a/node/releases.js +++ b/node/releases.js @@ -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)); }); } diff --git a/pathman/pathman.bash b/pathman/install.bash similarity index 100% rename from pathman/pathman.bash rename to pathman/install.bash diff --git a/pathman/releases.js b/pathman/releases.js index be23f13..141dcb4 100644 --- a/pathman/releases.js +++ b/pathman/releases.js @@ -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)); }); } diff --git a/rg/rg.bash b/rg/install.bash similarity index 100% rename from rg/rg.bash rename to rg/install.bash diff --git a/rg/releases.js b/rg/releases.js index 17c194f..6fd4f62 100644 --- a/rg/releases.js +++ b/rg/releases.js @@ -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)); }); } diff --git a/ripgrep/ripgrep.bash b/ripgrep/install.bash similarity index 100% rename from ripgrep/ripgrep.bash rename to ripgrep/install.bash diff --git a/ripgrep/releases.js b/ripgrep/releases.js index 17c194f..6fd4f62 100644 --- a/ripgrep/releases.js +++ b/ripgrep/releases.js @@ -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)); }); } diff --git a/rust/rust.bash b/rust/install.bash similarity index 100% rename from rust/rust.bash rename to rust/install.bash diff --git a/rustlang/rustlang.bash b/rustlang/install.bash similarity index 100% rename from rustlang/rustlang.bash rename to rustlang/install.bash diff --git a/serviceman/serviceman.bash b/serviceman/install.bash similarity index 100% rename from serviceman/serviceman.bash rename to serviceman/install.bash diff --git a/vim-sensible/vim-sensible.bash b/vim-sensible/install.bash similarity index 100% rename from vim-sensible/vim-sensible.bash rename to vim-sensible/install.bash diff --git a/webi/webi.bash b/webi/install.bash similarity index 100% rename from webi/webi.bash rename to webi/install.bash -- 2.25.1