Brian Tiger Chow
25c98e8e61
refactor(eventlog) elog -> eventlog
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
Signed-off-by: Brian Tiger Chow <brian.holderchow@gmail.com>
2014-11-16 07:01:00 -08:00
Brian Tiger Chow
ac69aba561
feat(2/main) configure event logger
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
Signed-off-by: Brian Tiger Chow <brian.holderchow@gmail.com>
2014-11-16 07:01:00 -08:00
Brian Tiger Chow
be62b76516
refactor(2/main) use debugerror
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
Signed-off-by: Brian Tiger Chow <brian.holderchow@gmail.com>
2014-11-16 07:01:00 -08:00
Brian Tiger Chow
3a927cbcec
feat(init) init logs upon config initialization
...
TODO allow user dir override
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
Signed-off-by: Brian Tiger Chow <brian.holderchow@gmail.com>
2014-11-16 07:01:00 -08:00
Brian Tiger Chow
183dd990b6
feat(eventlog) include timestamp in log
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
2014-11-16 07:01:00 -08:00
Brian Tiger Chow
bd51b82160
feat(eventlog) configuration/options
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
2014-11-16 07:01:00 -08:00
Brian Tiger Chow
d28c9cc7b4
refactor(init) extract initCheckDir function
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
# TYPES
# feat
# fix
# docs
# style (formatting, missing semi colons, etc; no code change):
# refactor
# test (adding missing tests, refactoring tests; no production code change)
# chore (updating grunt tasks etc; no production code change)
2014-11-16 07:01:00 -08:00
Brian Tiger Chow
2b72d9f14a
deps(logging) vendor lumberjack (MIT)
...
log rotation
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
d55dd16bf5
feat(elog) Option
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
395f8a6e50
style(errors) import as errors
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
9a38b28416
deps(logging) vendor logrus (MIT)
...
Experimenting with LD JSON logging
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
eb46fbed82
perform some swarm logging
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
4cadbc1673
style rename for clarity
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
15f850f08c
refactor(2/main) helper methods for details object
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
60af68bb99
rm dead code
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
a84ddcf932
docs(elog/Event)
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
6245f0c67e
fix(elog) Metadata implements Loggable
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
55896a86d6
logs(2/main) place log statements approppriately
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:59 -08:00
Brian Tiger Chow
4b1607819f
log(dht) log a couple events to demonstrate API
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:58 -08:00
Brian Tiger Chow
2c88e342db
feat(elog) implement event logger
...
a wrapper around the util.Logger
metadata is loggable
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:58 -08:00
Brian Tiger Chow
0108968eb9
feat(util/time) impl RFC3339Nano UTC utility Format/Parse functions
...
test(time)
expose time format var
rename time format
misc(util/time) don't need this anymore
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 07:00:58 -08:00
Brian Tiger Chow
a11c59dcac
feat(peer) add Type (Unspecified, Local, Remote)
2014-11-16 07:00:58 -08:00
Brian Tiger Chow
ac84515441
style(core_test) move test variable
2014-11-16 07:00:28 -08:00
Brian Tiger Chow
05346dd927
misc(core/identity) more specific function argument
...
to aid in testing
2014-11-16 07:00:28 -08:00
Brian Tiger Chow
1ed0850ce2
style(core) peer -> self
2014-11-16 07:00:28 -08:00
Brian Tiger Chow
027de2847a
feat(log) time
2014-11-16 07:00:28 -08:00
Brian Tiger Chow
079bdbacdf
doc(peer) question
2014-11-16 07:00:28 -08:00
Brian Tiger Chow
fba5db2070
Merge pull request #222 from jbenet/fix/peer-string-2014-10-28
...
fix(peer) String() bounds check
2014-11-16 06:59:51 -08:00
Brian Tiger Chow
2e0371c60a
doc(peer) add TODO
...
TODO ensure correctness at ID generation and enforce this by only exposing functions that generate IDs safely. Then any peer.ID type found in the codebase is known to be correct.
2014-11-16 03:43:23 -08:00
Brian Tiger Chow
0aff6873dd
fix(peer) perform bounds check on peer Id when printing String
2014-11-16 03:43:23 -08:00
Brian Tiger Chow
0c530bf5f1
tests(peer) ensure String() works when p created WithId
...
presently, fails
2014-11-16 03:43:23 -08:00
Juan Batiz-Benet
1840a01fdc
Merge branch 'feat/ipfs2-test_sharness'
2014-11-16 03:20:56 -08:00
Christian Couder
220e108ddd
Adapt mount tests to ipfs2 changes
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-16 03:20:11 -08:00
Christian Couder
b140c33839
Adapt t0010 to output from ipfs2
...
The ouput from "ipfs help" changed in ipfs2.
With the change in this commit, this output change doesn't
prevent the test to pass.
Test t0010 now passes on my Linux machine.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-16 03:20:11 -08:00
Christian Couder
68f7b50b5c
Adapt t0050 to output from ipfs2
...
The ouput from "ipfs block" changed in ipfs2.
With the change in this commit, this output change doesn't
prevent the test to pass.
Test t0050 now passes on my Linux machine.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-16 03:20:10 -08:00
Christian Couder
30f28c00ce
Adapt t0040 to output from ipfs2
...
The ouput from "ipfs add" changed in ipfs2.
With the changes in this commit, this output change doesn't
prevent the test to pass.
With TEST_NO_FUSE=1 test t0040 now passes on my Linux machine.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-16 03:20:10 -08:00
Brian Tiger Chow
57689ffc2b
fix(2/version) make it possible to execute before init
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 03:20:10 -08:00
Brian Tiger Chow
4678dea045
tests(sharness) attempt to execute sharness tests on ipfs2
...
@jbenet @chriscool
(not to be merged into master) This is a hack to run sharness tests on
th ipfs2 binary. Instead of compiling cmd/ipfs, it compiles cmd/ipfs2
and copies this into test/bin/ipfs.
I thought this would be enough to pass the `basic-commands` test, but
it's not.
Although the output is fairly similar, the `ipfs version` test fails.
```
test (feat/test2) λ. diff version1 version2
1c1
< ipfs version 0.1.7
---
> ipfs version 0.1.5
```
I'm not very experienced with `sh` scripting, so perhaps I'm missing a
key ingredient or maybe misunderstanding the the tests are meant to
work.
Would like to get input on this.
Thanks, @maybebtc
2014-11-16 03:20:10 -08:00
Juan Batiz-Benet
6f8569db7d
Merge pull request #296 from jbenet/consistency
...
Ipns Consistency
2014-11-16 02:51:12 -08:00
Jeromy
f45d575a96
address comments from PR
2014-11-16 02:45:20 -08:00
Brian Tiger Chow
f1ee23770d
feat(util/time) impl RFC3339Nano UTC utility Format/Parse functions
...
test(time)
expose time format var
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-16 02:45:20 -08:00
Jeromy
cd4e23bc2e
some comments
2014-11-16 02:45:20 -08:00
Jeromy
58b66f0ff7
make vendor
2014-11-16 02:45:19 -08:00
Jeromy
f21ec1923a
verify ipns records
2014-11-16 02:45:19 -08:00
Jeromy
0982597e35
make vendor
2014-11-16 02:45:19 -08:00
Jeromy
01451c214e
fix routing resolver
2014-11-16 02:45:19 -08:00
Jeromy
1cf7a1824a
validator functions and ipns completion
2014-11-16 02:45:19 -08:00
Jeromy
cb23d5b2ae
fix validators and key prefix
2014-11-16 02:45:19 -08:00
Jeromy
33985c530e
switch DHT entries over to be records, test currently fail
2014-11-16 02:45:19 -08:00
Juan Batiz-Benet
e290b54d9e
Merge pull request #351 from jbenet/mount-fixes
...
Mount, Daemon, and Signal Handler Fixes
2014-11-16 02:40:31 -08:00