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
Juan Batiz-Benet
4ac6db9a24
ipfs1/mount: text + unmounting
2014-11-16 02:35:13 -08:00
Juan Batiz-Benet
13c390b0b5
fix ipfs1 mount so it will compile
2014-11-16 02:30:29 -08:00
Juan Batiz-Benet
93ad2bd057
mount: if already mounted, unmount before new attempt
...
This is because if the user specifies that they want
to mount multiple times, something must be wrong. try
unmounting to reset things and then proceed.
2014-11-16 02:22:53 -08:00
Juan Batiz-Benet
705465db8b
main + daemon signal handlers
...
This commit changes the signal handler to be added once
the command is executing. this is because the daemon
has its own signal handler, that must try to shut down
the node gracefully first. You know, just in case.
2014-11-16 02:22:43 -08:00
Juan Batiz-Benet
6ff472be61
mount: move Mount func into mount obj
2014-11-16 01:56:34 -08:00
Juan Batiz-Benet
99f2378bac
mount: fixed mount init + teardown
...
This commit adds a Mount abstraction (which is really just
a wrapped context closer). It makes sure to bind the mount
to the fate of the Node (i.e. close it if the node ends).
This fixes #350
2014-11-16 01:42:42 -08:00
Juan Batiz-Benet
61c1e39a51
Merge pull request #266 from jbenet/defaulthash
...
add in a default file hash and cleaned up init function a bit
2014-11-16 00:21:18 -08:00
Juan Batiz-Benet
ab09c3649c
defaulthash: let's not ignore errors
...
@maybebtc fixed it. cc @whyrusleeping
2014-11-15 22:55:58 -08:00
Juan Batiz-Benet
7596bcce2d
cleaned up ipfs init
2014-11-15 22:50:42 -08:00
Juan Batiz-Benet
5a372f6996
vendor manners - for real this time
...
sorry everyone.
2014-11-15 22:24:13 -08:00
Juan Batiz-Benet
7806973e67
vendor manners
2014-11-15 22:21:52 -08:00
Juan Batiz-Benet
8cf765af33
daemon: listen for term signals
2014-11-15 22:11:11 -08:00
Jeromy
e857a5bc9f
move default hash into ipfs2, committed on freemont troll
2014-11-15 18:28:54 -08:00
Jeromy
ab805f3382
add in a default file hash and cleaned up init functiona bit
2014-11-15 17:50:05 -08:00
Juan Batiz-Benet
3df1513ea6
cmds: fixed help stdio use
2014-11-15 09:04:49 -08:00
Juan Batiz-Benet
589851fb4e
cmds: root: fix '--help' notice for subcmds
2014-11-15 09:04:49 -08:00
Juan Batiz-Benet
a4488cab4c
cmds: root help inc synopsis
2014-11-15 09:04:49 -08:00
Juan Batiz-Benet
7d448d9dab
cmds mount synopsis
2014-11-15 09:04:49 -08:00
Juan Batiz-Benet
1871d37f12
Merge pull request #333 from zignig/mount_fix
...
windows mount fix
2014-11-15 06:51:55 -08:00
Juan Batiz-Benet
8a284c9848
cmds: fix block output.
2014-11-15 06:43:02 -08:00
Juan Batiz-Benet
e8c51cd4b7
Merge pull request #294 from jbenet/maybebtc-november
...
miscellaneous fixes
2014-11-15 02:13:42 -08:00
Brian Tiger Chow
162169af77
fix(2/main) respect IPFS_LOGGING == debug behvaior
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 02:10:53 -08:00
Brian Tiger Chow
ed4a8eb782
chore(tests) add Short() -> SkipNow() to slowest tests
...
vanilla:
21.57 real 45.14 user 8.51 sys
short:
14.40 real 31.13 user 5.56 sys
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 02:10:53 -08:00
Brian Tiger Chow
25b3106e41
rm logger
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 02:10:53 -08:00
Brian Tiger Chow
3663eef5ac
refctor(bitswap/network) replace Network interface with Dialer interface
2014-11-15 02:10:53 -08:00
Brian Tiger Chow
0b42d77e13
refactor(core, bitswap) split bitswap init into two steps
...
@jbenet
2014-11-15 02:10:53 -08:00
Brian Tiger Chow
154cf4af75
refactor(bitswap/network) rename -> BitSwapNetwork
...
remove 'adapter' concept
instead, describe the component as the bitswap network
it's still an adapter, but it's just not necessary to describe it as
such
2014-11-15 02:10:53 -08:00
Brian Tiger Chow
cf1d463885
rename var
2014-11-15 02:10:53 -08:00
Brian Tiger Chow
2bc82adfae
style(bitswap) rename Adapter -> BitSwapNetwork for clarity
2014-11-15 02:10:52 -08:00
Brian Tiger Chow
919fb31a16
style(bitswap) rename variable to 'routing'
2014-11-15 02:10:52 -08:00
Christian Couder
4a2cb9605c
Update hashes in test/t0040-add-and-cat.sh
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2014-11-15 02:10:52 -08:00
Brian Tiger Chow
e9131df344
deps(go-random)
...
fixes #293
https://github.com/jbenet/go-ipfs/issues/293
2014-11-15 02:10:52 -08:00
Brian Tiger Chow
2cb4e59e6a
Merge pull request #336 from jbenet/feat/test2
...
fix update check when running ipfs init
2014-11-15 01:16:14 -08:00
Brian Tiger Chow
e940643f20
docs
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 01:00:09 -08:00
Brian Tiger Chow
9f798e86b2
fix(deps) transitive dependency was missing
...
programmer error
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 00:46:25 -08:00
Brian Tiger Chow
56d732f9b1
fix(2/main) s/preemptsUpdates/preemptsAutoUpdate
...
addresses...
https://github.com/jbenet/go-ipfs/pull/336#discussion_r20397834
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 00:39:28 -08:00
Brian Tiger Chow
408fadc8be
fix(2/main) don't check for updates when running init
...
@jbenet @mappum
Yeah, there's some duplicated work. But there's also a separation of
concerns. In one case, we check to determine where the command should
run. In the other case, we check to determine which hooks should run.
Having these actions separated reduces complexity in a nice way.
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 17:04:54 -08:00
Brian Tiger Chow
eb5bb1daa8
feat(debugerror)
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
impl errorf
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
return a debug error
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 17:04:48 -08:00
Simon Kirkby
43fb5d5d72
windows fix
2014-11-14 21:03:30 +08:00
Juan Batiz-Benet
7f31b0410c
Merge pull request #332 from jbenet/cmd-ref-part2-rebase
...
Commands Refactor Part 2 - rebased
2014-11-14 03:36:19 -08:00
Brian Tiger Chow
ee378e2fbd
fix(test) tour content struct now exists
...
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:31:06 -08:00