1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-08-06 11:31:54 +08:00

4020 Commits

Author SHA1 Message Date
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
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
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
v0.3.3 v0.3.3-buildfails
2015-04-28 02:13:36 -07:00
ea2375e8b4 let wantlist command show other peers wantlists 2015-04-28 01:51:30 -07:00
bdad3bae1e protocolEOF: demoted EOF to Debug, kept the else as Warning 2015-04-28 10:32:55 +02:00
ba9778131a only warn about io.EOF from mux.ReaderHeaders (fixes #1143) 2015-04-28 10:32:55 +02:00
29c6a53e43 Merge pull request #1139 from AtnNn/flags
Improve command line parsing
2015-04-27 16:21:39 -07:00
ff1e58a48a Merge pull request #1128 from Luzifer/dockerfile_expose
Improve Dockerfile
2015-04-27 14:51:43 -07:00
f168539030 Improve command line parsing 2015-04-27 17:19:38 +00:00
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
c9bf470302 Merge pull request #1140 from ipfs/flatfs-rides-again
Fix flatfs on Windows
2015-04-26 23:12:59 -07:00
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
6da12b5398 address comments from CR 2015-04-26 22:32:12 -07:00
2c1c48a165 Add iptb sharness test for multi-ipns name resolution 2015-04-26 22:32:12 -07:00
c1560befcd fix up core.Resolve a bit 2015-04-26 22:32:12 -07:00
e3255f46e1 address comments from CR 2015-04-26 22:32:12 -07:00
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
fcb559eb9d Merge pull request #1142 from ipfs/fix-iptb-tests
Fix iptb tests
2015-04-26 14:21:26 -07:00
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
ad67f18dc8 t0130: small improvements
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-04-26 17:26:51 +02:00
ce0b10a9d3 Vendor new go-datastore, with Windows fixes
fixes #1108
2015-04-25 19:13:43 -07:00
db2acd9b8d gofmt 2015-04-25 19:00:30 -07:00
cb6c743545 Merge pull request #1137 from AtnNn/init
Mention correct key size in help for init
2015-04-24 22:16:08 -07:00
930cd8ea5d Mention correct key size in help for init 2015-04-25 04:43:23 +00:00
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
93b06f3469 Add timeout to ipns resolution at startup 2015-04-24 11:47:56 -07:00
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
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
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
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
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
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
0c4da2d561 Merge pull request #1124 from ipfs/fix/logging-stack
fix log callstack for log messages
2015-04-22 19:33:56 -07:00
5aea206734 fix log callstack for log messages 2015-04-22 17:11:53 -07:00
b207672480 Merge pull request #1115 from dylanPowers/completion-doc
Instructions for installing command completion
2015-04-22 14:27:18 -07:00
e21bd8e877 docs: Probably helpful to link to the completion script 2015-04-22 11:39:42 -07:00
08c15e4349 docs: Add completion instructions that don't require go 2015-04-22 11:35:31 -07:00
380ee4a535 docs: Command-completion additional refs section 2015-04-22 11:35:31 -07:00
d6d038bf3a docs: Check if GOPATH exists before sourcing command-completion 2015-04-22 11:35:31 -07:00
71e8919101 Instructions for installing command completion in Linux bash 2015-04-22 11:35:31 -07:00
94df8f07f9 version bump to 0.3.2 after mdns v0.3.2 2015-04-22 02:14:48 -07:00
fe3459cd4f Merge pull request #1117 from ipfs/feat/mdns
implement basic peer discovery using mdns
2015-04-22 02:07:04 -07:00
cf478af971 cleanup changes from PR 2015-04-22 01:25:22 -07:00
001b7ab714 implement a config option for mdns 2015-04-22 00:55:31 -07:00
58d6d1e7b6 updated vendored mdns libs 2015-04-22 00:49:40 -07:00
73c3888812 vendored mdns deps 2015-04-21 23:57:48 -07:00
b223dc2d05 fix vendoring problems from migrations 2015-04-21 23:57:09 -07:00
960de83683 Merge pull request #1112 from ipfs/encapsulate_ipfs_mount
sharness: encapsulate ipfs mount
2015-04-21 22:24:49 -07:00
d881aab45b Merge pull request #1113 from ipfs/fix_umounting
test-lib.sh: fix umount calls
2015-04-21 22:22:49 -07:00
0917c1cb82 implement basic peer discovery using mdns 2015-04-21 21:34:54 -07:00