Jeromy
86fb07aed7
try harder to not send duplicate blocks
2015-04-29 01:36:47 -07:00
Juan Batiz-Benet
d047fe4fcb
Merge pull request #1154 from ipfs/feat/bench-hash
...
add a benchmark for our hash function
2015-04-28 17:05:12 -07:00
Juan Batiz-Benet
27ac0103f9
Merge pull request #1157 from ehd/patch-1
...
Fix docker $ipfs_data mount path in README
2015-04-28 16:59:49 -07:00
Juan Batiz-Benet
6cadf6987e
Merge pull request #1161 from ipfs/blocks-put-exists
...
blocks: Don't re-Put blocks we already have
2015-04-28 16:42:06 -07:00
Tommi Virtanen
e78305546c
gofmt
2015-04-28 16:18:26 -07:00
Tommi Virtanen
a0af9f5e8d
If ErrNoRepo is not an error value anymore, then make it an error type
2015-04-28 16:18:09 -07:00
Tommi Virtanen
a743290316
blocks: Don't re-Put blocks we already have
...
Commit 1192be196b tried to do this, but
had a simple mistake. Functions returning `bool, error` pretty much
never return `true, anError`, so that branch was never taken.
Also fix the partial sentence in the
2015-04-28 16:05:52 -07:00
Juan Batiz-Benet
1b51d9dbf5
Merge pull request #1138 from vitorbaptista/1134-display-types-on-pin-ls
...
core/commands: pin ls: display types by default
2015-04-28 11:53:53 -07:00
Vitor Baptista
5d1a25bbb9
core/commands: pin ls: display types by default
...
If you want to get only the hashes (i.e. the previous behaviour), you can use
the `--quiet` flag.
2015-04-28 19:15:15 +01:00
Stephan Seidt
0f1f549585
Fix docker $ipfs_data mount path in README
2015-04-28 16:43:23 +02:00
Juan Batiz-Benet
4c13369773
Merge pull request #1155 from ipfs/feat/peer-wantlist
...
let wantlist command show other peers wantlists
2015-04-28 02:18:29 -07:00
Juan Batiz-Benet
c7e3183d0f
Merge pull request #1148 from ipfs/warnOnProtocolEOF
...
only warn about io.EOF from mux.ReaderHeaders (fixes #1143 )
2015-04-28 02:14:34 -07:00
Juan Batiz-Benet
931a2db8cf
0.3.3 version
...
This patch update fixes various issues, in particular:
- windows support (0.3.0 had broken it)
- commandline parses spaces correctly.
* much improved commandline parsing by @AtnNn
* improved dockerfile by @luzifer
* add cmd cleanup by @wking
* fix flatfs windows support by @tv42 and @gatesvp
* test case improvements by @chriscool
* ipns resolution timeout bug fix by @whyrusleeping
* new cluster tests with iptb by @whyrusleeping
* fix log callstack printing bug by @whyrusleeping
* document bash completiong by @dylanPowers
2015-04-28 02:13:36 -07:00
Jeromy
ea2375e8b4
let wantlist command show other peers wantlists
2015-04-28 01:51:30 -07:00
Henry
bdad3bae1e
protocolEOF: demoted EOF to Debug, kept the else as Warning
2015-04-28 10:32:55 +02:00
Henry
ba9778131a
only warn about io.EOF from mux.ReaderHeaders ( fixes #1143 )
2015-04-28 10:32:55 +02:00
Jeromy
61b4734091
add a benchmark for our hash function
2015-04-28 01:30:54 -07:00
Juan Batiz-Benet
29c6a53e43
Merge pull request #1139 from AtnNn/flags
...
Improve command line parsing
2015-04-27 16:21:39 -07:00
Juan Batiz-Benet
ff1e58a48a
Merge pull request #1128 from Luzifer/dockerfile_expose
...
Improve Dockerfile
2015-04-27 14:51:43 -07:00
Etienne Laurin
f168539030
Improve command line parsing
2015-04-27 17:19:38 +00:00
Juan Batiz-Benet
196c6aa4a6
Merge pull request #1127 from wking/add-single-reader
...
core/commands/add: Change add() to only accept a single reader
2015-04-27 02:38:59 -07:00
Juan Batiz-Benet
c9bf470302
Merge pull request #1140 from ipfs/flatfs-rides-again
...
Fix flatfs on Windows
2015-04-26 23:12:59 -07:00
Juan Batiz-Benet
54cb80e44c
Merge pull request #1093 from ipfs/feat/ipns-paths
...
refactored ipns records to point to paths
2015-04-26 22:51:46 -07:00
Jeromy
6da12b5398
address comments from CR
2015-04-26 22:32:12 -07:00
Jeromy
2c1c48a165
Add iptb sharness test for multi-ipns name resolution
2015-04-26 22:32:12 -07:00
Jeromy
c1560befcd
fix up core.Resolve a bit
2015-04-26 22:32:12 -07:00
Jeromy
e3255f46e1
address comments from CR
2015-04-26 22:32:12 -07:00
Jeromy
3d80b9d27d
refactored ipns records to point to paths
...
Also changed the ipns dns resolution to use the "dnslink" format
2015-04-26 22:32:12 -07:00
Jeromy Johnson
fcb559eb9d
Merge pull request #1142 from ipfs/fix-iptb-tests
...
Fix iptb tests
2015-04-26 14:21:26 -07:00
Christian Couder
cfcc7c6839
test/Makefile: add bin/iptb into BINS
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-04-26 17:28:31 +02:00
Christian Couder
ad67f18dc8
t0130: small improvements
...
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-04-26 17:26:51 +02:00
Tommi Virtanen
ce0b10a9d3
Vendor new go-datastore, with Windows fixes
...
fixes #1108
2015-04-25 19:13:43 -07:00
Tommi Virtanen
db2acd9b8d
gofmt
2015-04-25 19:00:30 -07:00
Juan Batiz-Benet
cb6c743545
Merge pull request #1137 from AtnNn/init
...
Mention correct key size in help for init
2015-04-24 22:16:08 -07:00
Etienne Laurin
930cd8ea5d
Mention correct key size in help for init
2015-04-25 04:43:23 +00:00
Juan Batiz-Benet
31d64e6b26
Merge pull request #1133 from ipfs/fix/ipns-startup
...
Add timeout to ipns resolution at startup
2015-04-24 21:02:42 -07:00
Jeromy
93b06f3469
Add timeout to ipns resolution at startup
2015-04-24 11:47:56 -07:00
Knut Ahlers
3534b039f7
Improve Dockerfile
...
* Added VOLUME to enable users to keep a state of the repo outside the container
* Added ipfs user to let ipfs run as a normal user and not as root
* Set IPFS_PATH to push IPFS to use the exposed dir
* Improved start script to be more verbose about errors
2015-04-23 23:54:32 +02:00
Juan Batiz-Benet
1d5f68cdc6
godep: vendor correctly.
...
I'm so sick of this absolute crap. It goes wrong all the time.
I want to get off godeps soon. But for now, let's **please**
setup a test on travis that exercises all sorts of godep things
to avoid merging anything that will break.
Maybe we can fail the build if any library is NOT vendored.
2015-04-23 13:30:42 -07:00
W. Trevor King
641c20b9dd
core/coreunixs/add: Change add() to only accept a single reader
...
Catch up with core/commands/add.go.
2015-04-23 13:01:45 -07:00
W. Trevor King
c322a4eb0f
core/commands/add: Change add() to only accept a single reader
...
The change to an array of readers comes from e096060b
(refactor(core/commands2/add) split loop, 2014-11-06), where it's used
to setup readers for each path in the argument list. However, since
6faeee83 (cmds2/add: temp fix for -r. horrible hack, 2014-11-11) the
argument looping moved outside of add() and into Run(), so we can drop
the multiple-reader support from add().
Adding a file can create multiple nodes (e.g. the splitter can chunk
the file into several blocks), but:
1. we were only appending a single node per reader to our returned
list, and
2. we are only using the final node in that returned list,
so this commit also adjusts add() to return a single node reference
instead on an array of nodes.
2015-04-23 09:41:59 -07:00
Jeromy Johnson
83ca01540a
Merge pull request #1114 from ipfs/test/3node-sharness
...
add clone of 3node test using iptb instead of docker
2015-04-22 22:52:31 -07:00
Jeromy
89ff6dfdaa
add clone of 3node test using iptb instead of docker
...
rename directory and update vendored dep
cleanup
2015-04-22 21:25:52 -07:00
Juan Batiz-Benet
0c4da2d561
Merge pull request #1124 from ipfs/fix/logging-stack
...
fix log callstack for log messages
2015-04-22 19:33:56 -07:00
Jeromy
5aea206734
fix log callstack for log messages
2015-04-22 17:11:53 -07:00
Jeromy Johnson
b207672480
Merge pull request #1115 from dylanPowers/completion-doc
...
Instructions for installing command completion
2015-04-22 14:27:18 -07:00
Dylan Powers
e21bd8e877
docs: Probably helpful to link to the completion script
2015-04-22 11:39:42 -07:00
Dylan Powers
08c15e4349
docs: Add completion instructions that don't require go
2015-04-22 11:35:31 -07:00
Dylan Powers
380ee4a535
docs: Command-completion additional refs section
2015-04-22 11:35:31 -07:00
Dylan Powers
d6d038bf3a
docs: Check if GOPATH exists before sourcing command-completion
2015-04-22 11:35:31 -07:00