Commit graph

45 commits

Author SHA1 Message Date
David M. Lee
8df86bccf0 Improved time formatting and conversion
Bunyan CLI was not handling timezone conversion properly when set to use
local time. This patch uses [Moment.js][] to fix those issues.

 * Timezone conversions work properly across DST conversions
 * The timezone, when shown, is correctly shown as `±hh:mm`
 * The timzeone is omitted on short output, since it isn't that short.
   Except when UTC is used, since that can be indicated by the single
   character `Z`

Fixes #245

 [Moment.js]: http://momentjs.com/
2016-02-10 22:03:35 -08:00
Trent Mick
3671c2c17c fix 'make test4' and 'make test5'. Add testing of node 5 to 'make testall' (working) 2016-01-29 06:47:30 +00:00
Trent Mick
2c9c83d4c3 update 'make testall' to test on node 4, 0.12, 0.10. Not node 5 yet because I get errors still 2016-01-27 22:04:34 -08:00
Trent Mick
3554d8076f fix 'make versioncheck' broken in prev commit 2015-09-07 14:44:52 -07:00
Trent Mick
2a078fec7a get 'make testall' to include node v4.0 (hacked up for my rc1 build in ~/src/node) 2015-09-06 22:56:37 -07:00
Trent Mick
3be145a72c drop 0.8 support; test with iojs3.0 (tho it is broken) 2015-08-16 17:51:30 -07:00
Trent Mick
5d666f49f1 update tests to run against some io.js versions. Minor test case fix for io.js slight diff to 0.12. 2015-06-07 11:06:50 -07:00
Trent Mick
a96a1d50b3 Make it more clear that you can run most of the test suite without root and how to skip the root-y parts. 2015-01-18 21:24:38 -08:00
Trent Mick
6fc941c9b4 Restore dtrace-provider in optionalDependencies
dtrace-provider v0.3.0 fixes build issues of yore. This fixes things
for node 0.11/0.12 usage.

Fixes #157
2014-10-15 22:18:11 -07:00
Trent Mick
660b706479 doc new -c CODE; drop dtrace-provider as optionalDependency (fixes #135); add 'bunyan -0' shortcut 2014-08-01 15:57:48 -07:00
Trent Mick
3c62838c38 fix 'make versioncheck' 2014-05-31 22:58:40 -07:00
Trent Mick
af6afa3c31 dump ver in 'make versioncheck' 2014-05-30 21:01:46 -07:00
Trent Mick
73b3c88477 require check to cut a release 2014-05-30 21:00:09 -07:00
Trent Mick
fc0150f9fb [issue #85] Ensure logging a non-object/non-string doesn't throw 2014-05-28 23:24:57 -07:00
Trent Mick
d98dffbce9 slightly diff output from diff git versions 2014-04-03 16:02:28 -07:00
Trent Mick
3a9859365e call this 0.21 2013-04-01 17:22:53 -07:00
Trent Mick
a111200a5a make check 2013-04-01 17:21:01 -07:00
Trent Mick
f616276dc6 style: 4-space indents 2013-03-28 17:42:32 -07:00
Trent Mick
cbfb9b010b fix the test suite for 0.10.0 2013-03-11 10:48:16 -07:00
Trent Mick
0f5baa728b get tests working better on Linux, no-dtracey plats 2013-01-23 00:52:28 +00:00
Trent Mick
bd4dec5bec move test suite to nodeunit 2013-01-07 11:18:12 -08:00
Trent Mick
da55eeee60 back to dtrace-provider dep 2012-11-02 13:36:46 -07:00
Trent Mick
b260bdb934 more reliable dtrace test, drop node0.9 testing (dtrace-provider doesn't work) 2012-11-01 20:05:56 +00:00
Trent Mick
bac8a57663 semi-reliable test case for dtrace support 2012-11-01 19:12:39 +00:00
Trent Mick
8732764c67 issue #48: changelog, add Bryan to AUTHORS, basic dtrace test suite
The test suite for this is a bit finnicky because root rights are
required to run dtrace. By default we run the dtrace.test.js file
with 'sudo'. Use this to skip the dtrace tests:
    SKIP_DTRACE=1 make test

Note taht 'make test09' is busted because dtrace-provider seems
busted with node 0.9.1 at least.
2012-10-31 23:52:53 -07:00
Trent Mick
432eec6f29 add a man page 2012-10-25 11:15:12 -07:00
Trent Mick
1844dfd062 don't allow cutting a release with uncommited/untracked files 2012-10-11 15:52:05 -07:00
Trent Mick
a8afc4c30e I don't keep around a recent node 'master' build anymore 2012-08-29 11:42:10 -07:00
Trent Mick
d4722a4172 this is fixed now in typical npm versions I use 2012-08-21 11:06:07 -07:00
Trent Mick
1a9e712dbc [issue #34] body et al in request/response output by bunyan CLI
Ensure `req.body`, `res.body` and other request/response
fields are emitted by the `bunyan` CLI (mostly by Rob Gulewich).
2012-08-21 11:04:33 -07:00
Trent Mick
c7e99876d4 rev to 0.12.0 and note the '-o short' change 2012-08-13 16:43:32 -07:00
Trent Mick
3303b3cb3d 'utils.puts is so old fashioned' -- isaacs (paraphrased) 2012-08-09 09:10:28 -07:00
Trent Mick
cd009b392c update version check for jsstyling (using single-quotes for stirngs now) 2012-06-04 23:22:39 -07:00
Trent Mick
bb8664a559 jsstyling of example files 2012-06-04 23:19:39 -07:00
Trent Mick
a1c3c17b84 jsstyle clean 2012-04-27 17:40:56 -07:00
Trent Mick
a442418f2d fix 'make check-jsstyle' 2012-04-27 17:21:36 -07:00
Trent Mick
6f1433c89b 'make testall' to test against multiple node versions
Change test to look for new ENOENT error message changed in recent
nodes:

      // Note: node v0.6.10:
      //   ENOENT, no such file or directory 'asdf.log'
      // but node v0.6.14:
      //   ENOENT, open 'asdf.log'
      // Somewhat annoying change.
2012-04-10 15:11:55 -07:00
Trent Mick
8b3bdef4a9 readme tweaks 2012-03-27 23:00:45 -07:00
Trent Mick
b187a48fab Guard on accidental tmp dot-file publishes 2012-02-10 21:50:37 -08:00
Trent Mick
d89444baed Some jsstyle cleaning. 2012-02-10 00:14:33 -08:00
Trent Mick
450e4eb434 start a test suite 2012-02-08 10:05:56 -08:00
Trent Mick
e75bbb11cc latest cutarelease has support for scripts 2012-02-02 15:49:23 -08:00
Trent Mick
2652de8220 tell cutarelease the proj name has no 'node-' 2012-02-02 14:59:40 -08:00
Trent Mick
07b2bbf6c4 cutarelease can't handle this file yet (type detection)? 2012-02-02 09:14:12 -08:00
Trent Mick
135163e3a9 VERSIONS, cutarelease prep 2012-02-02 09:11:45 -08:00