1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-29 01:12:24 +08:00

1713 Commits

Author SHA1 Message Date
ab805f3382 add in a default file hash and cleaned up init functiona bit 2014-11-15 17:50:05 -08:00
3df1513ea6 cmds: fixed help stdio use 2014-11-15 09:04:49 -08:00
589851fb4e cmds: root: fix '--help' notice for subcmds 2014-11-15 09:04:49 -08:00
a4488cab4c cmds: root help inc synopsis 2014-11-15 09:04:49 -08:00
7d448d9dab cmds mount synopsis 2014-11-15 09:04:49 -08:00
1871d37f12 Merge pull request #333 from zignig/mount_fix
windows mount  fix
2014-11-15 06:51:55 -08:00
8a284c9848 cmds: fix block output. 2014-11-15 06:43:02 -08:00
e8c51cd4b7 Merge pull request #294 from jbenet/maybebtc-november
miscellaneous fixes
2014-11-15 02:13:42 -08:00
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
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
25b3106e41 rm logger
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 02:10:53 -08:00
3663eef5ac refctor(bitswap/network) replace Network interface with Dialer interface 2014-11-15 02:10:53 -08:00
0b42d77e13 refactor(core, bitswap) split bitswap init into two steps
@jbenet
2014-11-15 02:10:53 -08:00
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
cf1d463885 rename var 2014-11-15 02:10:53 -08:00
2bc82adfae style(bitswap) rename Adapter -> BitSwapNetwork for clarity 2014-11-15 02:10:52 -08:00
919fb31a16 style(bitswap) rename variable to 'routing' 2014-11-15 02:10:52 -08:00
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
e9131df344 deps(go-random)
fixes #293

https://github.com/jbenet/go-ipfs/issues/293
2014-11-15 02:10:52 -08:00
2cb4e59e6a Merge pull request #336 from jbenet/feat/test2
fix update check when running ipfs init
2014-11-15 01:16:14 -08:00
e940643f20 docs
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-15 01:00:09 -08:00
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
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
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
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
43fb5d5d72 windows fix 2014-11-14 21:03:30 +08:00
7f31b0410c Merge pull request #332 from jbenet/cmd-ref-part2-rebase
Commands Refactor Part 2 - rebased
2014-11-14 03:36:19 -08:00
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
a0dab3a29a docs(2/pin)
ipfs1 docs read:

```
btc λ. ipfs pin
ipfs pin -

Commands:

        add         pin an ipfs object to local storage.
        rm          unpin an ipfs object from local storage.

        Use "pin help <command>" for more information about a command.
```

License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:24:43 -08:00
f30161b063 cmds: nicer error on no mountpoint 2014-11-14 03:20:46 -08:00
fa8fc1aefc cmds2: check for updates 2014-11-14 03:20:46 -08:00
e4b630289a block put: Support stdin input on 'block put' 2014-11-14 03:20:11 -08:00
2b6b6fac00 commands: Added a flag to enable stdin arguments 2014-11-14 03:20:11 -08:00
9370740db0 commands/cli: Fixed bug when parsing args for a command that doesn't have any argument definitions 2014-11-14 03:20:11 -08:00
1abe97617e main: Pass Stdin to CLI request parser 2014-11-14 03:20:11 -08:00
00b19f8876 commands/cli: Take an optional Stdin value in Parse (read as a reader argument or string argument) 2014-11-14 03:20:11 -08:00
97d2f48b7c cmds2: change add arg name 2014-11-14 03:20:11 -08:00
231960e726 commands/http: Fixed client erroring on nil command output 2014-11-14 03:20:11 -08:00
d05661548c object links: Fixed description 2014-11-14 03:20:11 -08:00
5e598f9a52 cmds2: mount exmplae 2014-11-14 03:20:11 -08:00
b3da13a4af object links: Added text marshaling 2014-11-14 03:20:10 -08:00
7bd7624ccc object data: Moved some helptext into LongDescription 2014-11-14 03:20:10 -08:00
9d299636ad object put: Made output (almost) match original output
(The file path is omitted, but since only one object can be added at a time, I think this is ok)
2014-11-14 03:20:10 -08:00
fceb55ef1e object put: Added plaintext marshaler 2014-11-14 03:20:10 -08:00
b4de6cce9a object put: Fixed putting objects with JSON encoding 2014-11-14 03:20:10 -08:00
eb696d9ac7 object put: Formatted helptext 2014-11-14 03:20:10 -08:00
537f94a318 object get: Fixed protobuf marshaling 2014-11-14 03:20:10 -08:00
4eaf38c6ba object: Added a synopsis 2014-11-14 03:20:10 -08:00
d842c3c98f fix(2/update) insert line break
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:20:09 -08:00
92c168b03e fix(2/update) newlines
License: MIT
Signed-off-by: Brian Tiger Chow <brian@perfmode.com>
2014-11-14 03:20:09 -08:00