Commit Graph

247 Commits

Author SHA1 Message Date
Henry
bc84ffafe3 enable stdin input for ipfs object put 2015-03-07 16:50:00 +01:00
anarcat
6a3578be84 explain what direct/indirect/recursive means
i couldn't understand what those meant. it was explain (at least partly) in #590 so let's share the goods!
2015-03-07 08:32:48 -05:00
Tonis Tiigi
0f69823077 Add nofuse build tag to darwin mounter 2015-03-05 18:00:45 +02:00
Tonis Tiigi
91ab1401ab Fix nofuse build tags syntax 2015-03-05 18:00:36 +02:00
Henry
e55aaf3f83 nofuse: better help description for 'ipfs mount' 2015-03-05 01:24:17 +01:00
Henry
66f1035d93 simple nofuse build tag to allow freebsd compilation and maybe pave the way towards windows as well 2015-03-05 01:24:17 +01:00
Henry
607468a96d beautify 'ipfs ls' and 'ipfs object links' (updates #799) 2015-03-01 14:03:51 +01:00
Jeromy
3c8a391fe4 dont put wantlist getter in exchange interface 2015-02-27 00:12:21 -08:00
Jeromy
98a183d53e fix output formatting on stat 2015-02-27 00:12:21 -08:00
Jeromy
b514478f32 rename wantlist to bitswap, add stat command 2015-02-27 00:12:21 -08:00
Jeromy
559a241566 implement a simple wantlist command to allow the user to view their wantlist 2015-02-27 00:12:21 -08:00
Jeromy
7fb63d7e43 move signing options into a validation checker struct 2015-02-26 22:05:03 -08:00
Jeromy
049b5ad945 make signing dht put records optional 2015-02-26 22:05:03 -08:00
Juan Batiz-Benet
88dea5771d Merge pull request #819 from jbenet/x_net_context_leeroy
update context imports to golang.org/x/net
2015-02-25 03:17:28 -08:00
Henry
92d08db7a5 rewrote import paths of go.net/context to use golang.org/x/context
- updated go-ctxgroup and goprocess
ctxgroup: AddChildGroup was changed to AddChild. Used in two files:
- p2p/net/mock/mock_net.go
- routing/dht/dht.go

- updated context from hg repo to git
prev. commit in hg was ad01a6fcc8a19d3a4478c836895ffe883bd2ceab. (context: make parentCancelCtx iterative)
represents commit 84f8955a887232b6308d79c68b8db44f64df455c in git repo

- updated context to master (b6fdb7d8a4ccefede406f8fe0f017fb58265054c)

Aaron Jacobs (2):
net/context: Don't accept a context in the DoSomethingSlow example.
context: Be clear that users must cancel the result of WithCancel.

Andrew Gerrand (1):
go.net: use golang.org/x/... import paths

Bryan C. Mills (1):
net/context: Don't leak goroutines in Done example.

Damien Neil (1):
context: fix removal of cancelled timer contexts from parent

David Symonds (2):
context: Fix WithValue example code.
net: add import comments.

Sameer Ajmani (1):
context: fix TestAllocs to account for ints in interfaces
2015-02-25 11:58:19 +01:00
Juan Batiz-Benet
f51e464a55 Merge pull request #801 from jbenet/feat/get-put-cmds
Implement dht put and get CLI commands
2015-02-25 01:35:38 -08:00
Jeromy
ff30558195 make it easier to create custom dag objects via the CLI 2015-02-23 21:33:38 -08:00
Jeromy
29fe7f03f8 remove unused case 2015-02-23 21:09:16 -08:00
Jeromy
7c0c3c4511 add put and get dht commands to cli 2015-02-23 21:09:16 -08:00
Jeromy
15b181ffe2 return early from add PostRun if error is set 2015-02-19 13:52:30 -08:00
Jeromy
3cda8ca685 teach ipfs refs -r how to use GetBlocks 2015-02-19 03:21:55 +00:00
Matt Bell
bbca9a1c37 Fixed 'ipfs block put' panic 2015-02-11 14:56:36 -08:00
Jeromy
140c70d772 document some packages 2015-02-10 22:59:10 +00:00
Juan Batiz-Benet
e384aec2a9 cmds/root: ipfs root text arrangement 2015-02-03 12:17:59 -08:00
Juan Batiz-Benet
10cd499a8b cmds/swarm connect had broken 2015-02-03 05:51:31 -08:00
Juan Batiz-Benet
581c4e558e cmds/id: show self addrs 2015-02-03 05:51:31 -08:00
Juan Batiz-Benet
58f39687cf logs: removed all log.Errors unhelpful to users
Let's save log.Error for things the user can take action on.
Moved all our diagnostics to log.Debug. We can ideally reduce them
even further.
2015-02-03 01:06:07 -08:00
Juan Batiz-Benet
d13876ffe9 commands/id: version was flipped 2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
b0a1cf0371 ipfs swarm addrs: print out known addresses
this will help us introspect what's going on.
2015-02-02 21:05:32 -08:00
Juan Batiz-Benet
e908effb4b AddrManager: use addr manager with smarter TTLs
This addr manager should seriously help with the addrsplosion
problem.
2015-02-02 21:04:14 -08:00
Matt Bell
1ad5b345b8 core/commands: add: Added -w/--wrap-with-directory option 2015-02-02 10:07:35 -08:00
Jeromy
061a866306 ensure dagreaders are cleaned up after 'cat' command finishes 2015-02-02 08:33:54 +00:00
Juan Batiz-Benet
c43f539f3d cmds/cat: fix length to use reader.Size()
unixfs file size != merkledag cumulative size
2015-02-01 19:24:36 -08:00
Juan Batiz-Benet
aff1d8bdcf ipfs swarm disconnect (opposite of connect) 2015-02-01 06:37:14 -08:00
Juan Batiz-Benet
3cd3424900 cmds/swarm: now speaks ipfsaddr (.../ipfs...) 2015-02-01 06:36:51 -08:00
Juan Batiz-Benet
bebc3ca0fd cmd/bootstrap: bugfix on add (dedup) 2015-02-01 06:07:21 -08:00
Juan Batiz-Benet
188d336204 cmds/bootstrap: fix marshalling + listing errors 2015-02-01 05:36:07 -08:00
Juan Batiz-Benet
29bf59dded bootstrap: use ipfsaddr for boostrap peers ⚠️
⚠️ this commit makes your current configs unusable, as the
default bootstrap peers. You may need to edit your config.

Go from:

```js
Bootstrap: [
  {
    "Address": "/ip4/104.131.131.82/tcp/4001",
    "PeerID": "QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
  }
]
```

To:
```js
Bootstrap: [
  "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"
]
```
2015-02-01 05:16:52 -08:00
Juan Batiz-Benet
4016d35a81 Merge pull request #617 from mildred/http-rest
HTTP: add handlers to allow object creation and modification
2015-01-31 18:07:56 -08:00
Jeromy
b57ba192e6 fix cast panic in ipfs name resolve when daemon is running
Addresses bug #689
2015-01-31 23:55:07 +00:00
Mildred Ki'Lya
c9ff778bd6 Added -bool option to ipfs config command 2015-01-31 23:36:46 +01:00
Jeromy
abb3c9c9c4 implement path type 2015-01-29 17:51:08 +00:00
Juan Batiz-Benet
17e542a559 Merge pull request #675 from jbenet/diag-helptext
add more help text for ipfs diag net
2015-01-28 17:14:35 -08:00
Juan Batiz-Benet
9959775ff7 Merge pull request #684 from jbenet/fuse-emancipation
fuse: no longer require fuse to compile ipfs
2015-01-28 13:25:23 -08:00
Jeromy
72a5902e12 address concerns from PR 2015-01-28 19:36:30 +00:00
Jeromy
f1267d0624 change ipns resolve/publish to store raw keys, not b58 encoded 2015-01-28 19:36:30 +00:00
Juan Batiz-Benet
7ae3706b6d fuse: no longer require fuse to compile ipfs
This commit removes the dependency on go-fuse-version, and thus the
fuse headers. It also introduces an elaborate troubleshooting process
that diagnoses whether fuse installed -- and which version -- with as
little requirements as possible (attept to use sysctl, fall-back on
the go-fuse-version binary, etc). It then nicely instructs the user
what to do next.
2015-01-28 05:18:41 -08:00
Brian Tiger Chow
1ea9481a63 move config.Init into config package 2015-01-27 16:23:58 -08:00
Jeromy
b456d476a3 updates from CR 2015-01-27 17:28:02 +00:00
Jeromy
c50d763727 add more help text for ipfs diag net 2015-01-27 09:05:06 +00:00