This repository has been archived on 2020-01-20. You can view files and clone it, but cannot push or open issues or pull requests.
node-spearhead/lib
Trent Mick 233e8ee784 reduce mkdir noise in log for every 'triton ...' run
E.g.:
    $ triton -v inst 1c7f40f6-a253-49f3-94d6-8f0656440696 2>&1 | bunyan
    [2015-08-31T17:57:02.682Z]  INFO: triton/24726 on danger0.local (/Users/trentm/joy/node-triton/lib/cli.js:188): failed to make dir /Users/trentm/.triton (err.code=EEXIST)
        Error: EEXIST, file already exists '/Users/trentm/.triton'
            at Object.fs.mkdirSync (fs.js:654:18)
            at /Users/trentm/joy/node-triton/lib/cli.js:186:24
            at Array.forEach (native)
            at CLI.triton (/Users/trentm/joy/node-triton/lib/cli.js:184:29)
            at CLI.do_instance (/Users/trentm/joy/node-triton/lib/do_instance.js:16:9)
            at CLI.dispatch (/Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:664:13)
            at /Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:425:18
            at CLI.init (/Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:477:5)
            at CLI.init (/Users/trentm/joy/node-triton/lib/cli.js:221:26)
            at CLI.main (/Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:404:10)
    [2015-08-31T17:57:02.684Z]  INFO: triton/24726 on danger0.local (/Users/trentm/joy/node-triton/lib/cli.js:188): failed to make dir /Users/trentm/.triton/cache (err.code=EEXIST)
        Error: EEXIST, file already exists '/Users/trentm/.triton/cache'
            at Object.fs.mkdirSync (fs.js:654:18)
            at /Users/trentm/joy/node-triton/lib/cli.js:186:24
            at Array.forEach (native)
            at CLI.triton (/Users/trentm/joy/node-triton/lib/cli.js:184:29)
            at CLI.do_instance (/Users/trentm/joy/node-triton/lib/do_instance.js:16:9)
            at CLI.dispatch (/Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:664:13)
            at /Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:425:18
            at CLI.init (/Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:477:5)
            at CLI.init (/Users/trentm/joy/node-triton/lib/cli.js:221:26)
            at CLI.main (/Users/trentm/joy/node-triton/node_modules/cmdln/lib/cmdln.js:404:10)
    ...
2015-08-31 11:16:58 -07:00
..
cli.js reduce mkdir noise in log for every 'triton ...' run 2015-08-31 11:16:58 -07:00
cloudapi2.js whoops 2015-08-26 20:08:52 -04:00
common.js shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
config.js shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
do_account.js add triton account and touch up instance 2015-08-25 23:44:08 -04:00
do_badger.js a quick 'triton package ID'; make 'cloudapi' command hidden from help output 2015-08-25 16:12:35 -07:00
do_cloudapi.js triton instances 2015-08-25 19:46:14 -04:00
do_create_instance.js smooth bigspinner 2015-08-26 15:01:54 -07:00
do_datacenters.js add listDatacenters 2015-08-26 19:59:28 -04:00
do_image.js 'triton image NAME', 'triton package NAME' 2015-08-25 21:06:27 -07:00
do_images.js jsonStream should actually stream 2015-08-26 16:53:23 -04:00
do_info.js f*#k 250k from pretty-bytes 2015-08-25 21:27:59 -07:00
do_instance_audit.js s/vms/instances/ 2015-08-25 15:15:02 -07:00
do_instance.js shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
do_instances.js shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
do_keys.js jsonStream should actually stream 2015-08-26 16:53:23 -04:00
do_network.js do_network 2015-08-26 17:09:50 -04:00
do_networks.js do_network 2015-08-26 17:09:50 -04:00
do_package.js 'triton image NAME', 'triton package NAME' 2015-08-25 21:06:27 -07:00
do_packages.js jsonStream should actually stream 2015-08-26 16:53:23 -04:00
do_profile.js forgot to add 2015-08-25 13:13:54 -07:00
do_services.js listServices 2015-08-26 19:56:18 -04:00
do_ssh.js shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
do_startstop_instance.js shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
do_wait_instance.js some clarifying help docs on 'triton wait' 2015-08-31 11:13:39 -07:00
errors.js triton images 2015-08-25 14:25:30 -07:00
triton.js fix error in using a full UUID for 'triton inst UUID' and others 2015-08-31 11:14:14 -07:00