Commit Graph

382 Commits

Author SHA1 Message Date
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
Trent Mick
786ec9771c fix error in using a full UUID for 'triton inst UUID' and others 2015-08-31 11:14:14 -07:00
Trent Mick
92ad1af94e shuffle cmd order in 'triton help' output. 'info' is a nice one to have first 2015-08-31 11:14:07 -07:00
Trent Mick
da566100ab some clarifying help docs on 'triton wait' 2015-08-31 11:13:39 -07:00
Trent Mick
c63eb29600 update smartdc-auth to get ssh-agent fix for node 0.12 2015-08-31 10:08:31 -07:00
Trent Mick
6b16530c99 TODO udpates, MPL-2 license 2015-08-26 18:06:12 -07:00
Trent Mick
9e3df02a5e shortid support for instances; --url,--account et al top-level options 2015-08-26 17:22:02 -07:00
Dave Eddy
5b60fffc04 whoops 2015-08-26 20:08:52 -04:00
Dave Eddy
0ccda0af10 add listDatacenters 2015-08-26 19:59:28 -04:00
Dave Eddy
769e9bbe2b listServices 2015-08-26 19:56:18 -04:00
Dave Eddy
f1e46a7b21 attempting a simple completion file 2015-08-26 18:10:15 -04:00
Trent Mick
16c3747605 smooth bigspinner 2015-08-26 15:01:54 -07:00
Dave Eddy
83b1cf188f do_network 2015-08-26 17:09:50 -04:00
Dave Eddy
f11bf0c247 jsonStream should actually stream 2015-08-26 16:53:23 -04:00
Dave Eddy
ffb0a935a3 use wrapper functions 2015-08-26 16:44:11 -04:00
Dave Eddy
d2ce855a69 do_networks 2015-08-26 16:40:50 -04:00
Dave Eddy
835e1895bf output state changes with "wait" 2015-08-26 16:15:31 -04:00
Dave Eddy
255fff221b add docs 2015-08-26 16:09:40 -04:00
Dave Eddy
9b57df6962 add wait-instance 2015-08-26 15:16:01 -04:00
Trent Mick
4a82869e2e TODO 2015-08-26 12:06:23 -07:00
Dave Eddy
945b631878 triton bin in package.json 2015-08-26 14:57:19 -04:00
Dave Eddy
532cead66f allow multiple filters to instances and packages 2015-08-26 14:03:22 -04:00
Trent Mick
0cfa83dedc fix 'triton create -w' that I broke recently 2015-08-26 10:13:09 -07:00
Dave Eddy
20aea1de10 whoops 2015-08-26 13:05:50 -04:00
Trent Mick
d5e5b81ac3 shortid by default for 'triton packages' 2015-08-26 10:02:01 -07:00
Dave Eddy
83fbcc129c weeks and minutes cleanup 2015-08-26 13:00:01 -04:00
Dave Eddy
a5213658fa config, cache images 2015-08-26 12:59:12 -04:00
Trent Mick
d6ac9fed33 triton create --dry-run 2015-08-26 09:36:28 -07:00
Dave Eddy
e61c6099b3 combine delete with start/stop/reboot 2015-08-26 12:18:40 -04:00
Dave Eddy
e2edbb3215 better bessages for start/stop/reboot/delete 2015-08-26 12:18:24 -04:00
Trent Mick
1d0fa26633 shortid by default for 'triton images', works for 'triton image SHORTID', 'triton create ...' 2015-08-26 09:15:17 -07:00
Trent Mick
d0ee7f4153 TODO update 2015-08-25 23:57:18 -07:00
Trent Mick
ade64f48c6 TODO udpate 2015-08-25 23:30:43 -07:00
Trent Mick
e355693d8e an early start at bash completion (up to and including the subcommand) 2015-08-25 23:28:35 -07:00
Dave Eddy
1d6a8178bd style 2015-08-26 02:00:26 -04:00
Dave Eddy
40c710d601 add output to start/stop/reboot/delete 2015-08-26 01:57:27 -04:00
Dave Eddy
e9cf0b37eb keys stream 2015-08-26 01:32:05 -04:00
Dave Eddy
b0b9eb9249 add delete 2015-08-26 01:25:26 -04:00
Dave Eddy
b2105ca41f add triton keys 2015-08-26 00:40:32 -04:00
Trent Mick
ba5e4d0af4 line up 'triton' help output better 2015-08-25 21:34:47 -07:00
Trent Mick
61dbb174f4 really, go away 2015-08-25 21:30:40 -07:00
Trent Mick
d255a1c2a9 f*#k 250k from pretty-bytes 2015-08-25 21:27:59 -07:00
Trent Mick
788d5ff31b TODO updates 2015-08-25 21:19:44 -07:00
Dave Eddy
0c7899cff9 fix copy+paste 2015-08-26 00:19:22 -04:00
Dave Eddy
6bd918eb81 do_info 2015-08-26 00:16:41 -04:00
Trent Mick
3bd22281e1 'triton image NAME', 'triton package NAME' 2015-08-25 21:06:27 -07:00
Trent Mick
2c4b41d91b fix help for 'triton create --name' 2015-08-25 20:59:35 -07:00
Trent Mick
0d4e93208c first pass at 'triton create' 2015-08-25 20:53:53 -07:00
Dave Eddy
15ca8ecc32 add triton account and touch up instance 2015-08-25 23:44:08 -04:00
Dave Eddy
f9f9823525 bump cmdln 2015-08-25 23:26:10 -04:00