Commit Graph

224 Commits

Author SHA1 Message Date
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
Jeromy Johnson
4940c3e0ae Merge pull request #655 from jbenet/feat/dagseek
Implement io.Seeker on unixio.DAGReader
2015-01-26 19:33:41 -08:00
Juan Batiz-Benet
1eb0bfe834 Merge pull request #668 from jbenet/hack
misc user-friendliness fixes
2015-01-26 19:00:09 -08:00
Juan Batiz-Benet
2b0c89a5c7 commands/diag: switch clarity 2015-01-26 18:50:16 -08:00
Jeromy
26826bd55e implement seeking in the dagreader 2015-01-27 01:33:09 +00:00
Matt Bell
d666155a0a core/commands: get: Clean output path 2015-01-26 17:07:30 -08:00
Matt Bell
2c019b542e core/commands: Fixed net diag command not outputting in chosen format 2015-01-26 17:01:00 -08:00
Matt Bell
3799ad9023 core/commands: log tail: Return from goroutine when request context closes, resolves #659 2015-01-26 14:24:33 -08:00
Matt Bell
41d5c822d7 core/commands: get: Place files at root of TAR when using a multi-element ipfs path 2015-01-24 21:40:19 -08:00
Matt Bell
e6d6e9fed6 core/commands: Added 'get' to root command helptext 2015-01-24 21:40:18 -08:00
Jeromy
403940af42 print out correct object for dht findproviders command 2015-01-25 01:21:23 +00:00
Matt Bell
27c7ebdf48 core/commands: get: Changed option description 2015-01-24 07:28:43 -08:00
Matt Bell
3909905313 core/commands: get: Cleaned up option handling 2015-01-24 05:35:27 -08:00
Matt Bell
fe48ae2dd6 Extracted TAR archive building/reading code out of 'ipfs get' 2015-01-24 03:06:25 -08:00
Matt Bell
5efd99c1fe core/commands: get: Error if specified compression level is invalid 2015-01-24 03:06:25 -08:00
Matt Bell
816a047a12 core/commands: 'get' arguments shouldn't be variadic 2015-01-24 03:06:25 -08:00
Matt Bell
f034f3e13a core/commands: Show download progress in 'get' 2015-01-24 03:06:25 -08:00
Matt Bell
f3c4f87ec2 core/commands: Added GZIP compression to 'get' 2015-01-24 03:06:25 -08:00
Matt Bell
f433a95201 core/commands: Save 'get' output to disk
squash! core/commands: Save 'get' output to disk

core/commands: get: Fixed PostRun signature
2015-01-24 03:06:25 -08:00
Matt Bell
276a8d062c core/commands: Made 'get' copying thread-safe 2015-01-24 03:06:24 -08:00
Matt Bell
36249b9292 core/commands: Added 'get' command 2015-01-24 03:06:24 -08:00
Brian Tiger Chow
d738a02428 rename GarbageCollectAsync method
corerepo package name provides sufficient context (even if renamed by
caller)
2015-01-24 01:32:28 -08:00
Brian Tiger Chow
be41444a9e provide simple wrapper methods for AllKeysRange
@jbenet @whyrusleeping

was the 1<<16 intentional? replaced the raw methods with wrappers.
2015-01-24 01:32:28 -08:00
Brian Tiger Chow
d5e4c6a0bf move core/repo to core/corerepo 2015-01-24 01:32:27 -08:00