1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-25 15:08:45 +08:00

3699 Commits

Author SHA1 Message Date
b688e72de0 ipfs object put: return error if object is empty (fixes #883) 2015-03-10 22:58:50 +01:00
e06016116d Merge pull request #895 from jbenet/sharness_check_curl_response
sharness: add function to test curl response
2015-03-10 08:39:55 -07:00
ce439133f3 Merge pull request #910 from tv42/config-mode
Config file is not executable, and must not be world accessible
2015-03-10 07:46:50 -07:00
adeb243afc Merge pull request #908 from jbenet/sharness_readme_improvements
sharness/README: add writing tests and debugging
2015-03-10 07:04:48 -07:00
c39b5a7430 sharness: add function to test curl response
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-10 14:56:09 +01:00
f67522e3f3 sharness/README: add writing tests and debugging
Add information from the discussion of PR #891.
While at it, suggest using -v and -i options to debug one test.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-10 14:51:44 +01:00
ae35bd261c updated authors file 2015-03-10 06:31:05 -07:00
1f1f9f954e Merge pull request #912 from jbenet/fix/isDirOnObject
ls: introduce specific output types
2015-03-10 06:08:42 -07:00
759437e054 ls: introduce specific output types (removes IsDir from object plumbing commands) 2015-03-10 13:56:57 +01:00
5baf3c7fc1 Config file is not executable, and must not be world accessible
It contains the private key.
2015-03-09 12:03:17 -07:00
e0cf24bfeb Merge pull request #887 from jbenet/deadCode
dead code
2015-03-09 02:37:36 -07:00
70819671d3 cleaned up 'ipfs init' 2015-03-09 10:22:12 +01:00
d88ba19357 disabled 'ipfs update' command for now 2015-03-09 10:22:11 +01:00
e8403b1f11 removed dead code
- old http server (superseeded by core/corehttp)
- unused makeDatastore() helpers
2015-03-09 10:21:35 +01:00
92c827b50f Merge pull request #891 from jbenet/t0110_remove_wget
t0110: replace wget with curl
2015-03-09 00:43:55 -07:00
1011067455 Merge pull request #867 from jbenet/ipns/trickle-append
Ipns/trickle append
2015-03-09 00:36:08 -07:00
bcbc268d42 Merge pull request #900 from jbenet/fix/bitswap-ctx-respect
respect contexts in a more timely manner
2015-03-09 00:35:22 -07:00
5eb08c4473 add warning comment about possibly leaked goroutines 2015-03-09 00:22:14 -07:00
2274b93afc Merge pull request #897 from anarcat/patch-1
`gc` is actually `repo gc`, reflect in docs
2015-03-08 23:27:37 -07:00
e015337d88 Merge pull request #890 from jbenet/fix/cmdsNewRequest
commands.NewRequest() has unexported type in it's arguments
2015-03-08 23:09:10 -07:00
f15b28d91f Merge pull request #903 from kkoroviev/comment-fix
Move the comment back to where it belongs
2015-03-08 23:01:43 -07:00
6e5217fd97 Move the comment back to where it belongs 2015-03-09 06:36:06 +02:00
451222cf1d gc is actually repo gc, reflect in docs
not exactly elegant, but fixes #871 in the short term. in the mid term, unless more `repo` commands show up, i suggest just replacing `repo gc` simply by `gc`.
2015-03-08 18:05:42 -04:00
8ed0f4b854 respect contexts in a more timely manner 2015-03-08 14:10:02 -07:00
86b34a2af6 NewRequest() - export OptMap type 2015-03-08 12:14:41 +01:00
60081ebc3b t0110: replace wget with curl
This removes the dependency on wget, and, while at it, cleanups a bit.

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-08 08:35:44 +01:00
1924586373 Merge pull request #885 from jbenet/t0045_cleanup
t0045: style cleanup and add missing &&
2015-03-07 20:11:14 -08:00
e539024ebb some code cleanup 2015-03-07 15:58:57 -08:00
298305e457 implement append to trickledag 2015-03-07 15:58:57 -08:00
e1a33a0e92 t0045: style cleanup and add missing &&
This makes the following changes:

- remove some superfluous \ at the end of some lines
- use `cat <<-\EOF >expected` to ignore the starting tabs
  in the here document
- add missing && after some `cat`
- use test_cmp to compare files

License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-07 20:26:45 +01:00
bff7f73068 Merge pull request #878 from jbenet/dontIgnoreCancelFuncs
context: Always call returned cancel funcs
2015-03-07 09:49:19 -08:00
1d5b903611 added cancel func calls previously ignored 2015-03-07 09:31:46 -08:00
dfe2b16763 cmds/id: use req context -- dont timeout unnecessarily
commands should last as long as the user keeps the cmd going
2015-03-07 09:24:15 -08:00
276f471ca8 Merge pull request #882 from jbenet/ipfsObject
Ipfs object put from stdin
2015-03-07 08:16:33 -08:00
2a0cd6d3d3 object: added sharness tests for get, put and stat 2015-03-07 16:50:30 +01:00
bc84ffafe3 enable stdin input for ipfs object put 2015-03-07 16:50:00 +01:00
5db973a210 Merge pull request #879 from anarcat/patch-1
document how to change daemon ports
2015-03-07 05:49:10 -08:00
aa55eebe7e fixed two more 2015-03-07 14:47:07 +01:00
435e8188a3 don't ignore returned cancelFunc() 2015-03-07 14:47:07 +01:00
5cdd8b5d61 expand the ports documentation
i took @jbenet's suggestion, but reorganised it a bit to *not* suggest what is actually warned against later. :)
2015-03-07 08:42:30 -05:00
006df7db0d Merge pull request #880 from anarcat/patch-2
explain what direct/indirect/recursive means
2015-03-07 05:37:49 -08:00
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
fb8a1ab161 document how to change daemon ports
this more clearly explains that the daemon is listening on the network. it also hints as to how to change the listening ports. this is also related to #874
2015-03-07 08:24:59 -05:00
b65a3cf85b Merge pull request #877 from jbenet/race-fix
query: fixed race condition
2015-03-07 04:19:24 -08:00
c2bbca0596 query: fix race condition: redux
this time just move to goprocess
2015-03-07 04:08:26 -08:00
7a03d677ff query: fixed race condition 2015-03-07 02:44:20 -08:00
f0a15b9e20 Merge pull request #876 from wagdav/patch-1
Correct link to paper
2015-03-07 01:29:53 -08:00
f117e8ae9b Correct link to paper 2015-03-07 10:26:07 +01:00
d0e69a04b1 Merge pull request #865 from jbenet/ipns/refactor-unixfs
Ipns/refactor unixfs
2015-03-06 22:34:37 -08:00
0e9772c57e refactoring unixfs node and importer/helpers to match 2015-03-06 22:12:03 -08:00