Tommi Virtanen
24a32af3f1
fsrepo components simplification: directly use datastore
2015-03-11 12:55:13 -07:00
Tommi Virtanen
695b2c491a
Rename variable to avoid collision with the path package
2015-03-11 12:37:26 -07:00
Tommi Virtanen
fb39a30c14
fsrepo components simplification: directly use eventlog
2015-03-11 12:14:27 -07:00
Tommi Virtanen
1064d5e01f
Rename variable to avoid collision with the path package
2015-03-11 11:10:13 -07:00
Tommi Virtanen
22b6ee328b
fsrepo components simplification: directly use config
2015-03-11 11:04:33 -07:00
Tommi Virtanen
0d34b026d5
Ensure FSRepo implements Repo
2015-03-11 10:41:02 -07:00
Juan Batiz-Benet
90d2113f99
Merge pull request #896 from jbenet/t0060_reactivate_daemon_tests
...
t0060: reactivate daemon tests
2015-03-10 15:55:52 -07:00
Juan Batiz-Benet
c586b6e497
Merge pull request #914 from jbenet/fix/errOnBrokenObjectPut
...
ipfs object put: return error if object is empty
2015-03-10 15:53:48 -07:00
Henry
b688e72de0
ipfs object put: return error if object is empty ( fixes #883 )
2015-03-10 22:58:50 +01:00
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Christian Couder
37bfef884c
t0060: reactivate daemon tests
...
Tests in this script had been deactivated because
there was no good way to wait until the daemon was
ready. Now that we can use pollEndpoint for that
it's time to reactivate the tests.
License: MIT
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
2015-03-10 15:02:19 +01:00
Christian Couder
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
Christian Couder
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
Juan Batiz-Benet
ae35bd261c
updated authors file
2015-03-10 06:31:05 -07:00
Juan Batiz-Benet
1f1f9f954e
Merge pull request #912 from jbenet/fix/isDirOnObject
...
ls: introduce specific output types
2015-03-10 06:08:42 -07:00
Henry
759437e054
ls: introduce specific output types (removes IsDir from object plumbing commands)
2015-03-10 13:56:57 +01:00
Tommi Virtanen
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
Juan Batiz-Benet
e0cf24bfeb
Merge pull request #887 from jbenet/deadCode
...
dead code
2015-03-09 02:37:36 -07:00
Henry
70819671d3
cleaned up 'ipfs init'
2015-03-09 10:22:12 +01:00
Henry
d88ba19357
disabled 'ipfs update' command for now
2015-03-09 10:22:11 +01:00
Henry
e8403b1f11
removed dead code
...
- old http server (superseeded by core/corehttp)
- unused makeDatastore() helpers
2015-03-09 10:21:35 +01:00
Juan Batiz-Benet
92c827b50f
Merge pull request #891 from jbenet/t0110_remove_wget
...
t0110: replace wget with curl
2015-03-09 00:43:55 -07:00
Juan Batiz-Benet
1011067455
Merge pull request #867 from jbenet/ipns/trickle-append
...
Ipns/trickle append
2015-03-09 00:36:08 -07:00
Juan Batiz-Benet
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
Jeromy
5eb08c4473
add warning comment about possibly leaked goroutines
2015-03-09 00:22:14 -07:00
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Juan Batiz-Benet
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
Konstantin Koroviev
6e5217fd97
Move the comment back to where it belongs
2015-03-09 06:36:06 +02:00
anarcat
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
Jeromy
8ed0f4b854
respect contexts in a more timely manner
2015-03-08 14:10:02 -07:00
Henry
86b34a2af6
NewRequest() - export OptMap type
2015-03-08 12:14:41 +01:00
Christian Couder
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
Juan Batiz-Benet
1924586373
Merge pull request #885 from jbenet/t0045_cleanup
...
t0045: style cleanup and add missing &&
2015-03-07 20:11:14 -08:00
Jeromy
e539024ebb
some code cleanup
2015-03-07 15:58:57 -08:00
Jeromy
298305e457
implement append to trickledag
2015-03-07 15:58:57 -08:00
Christian Couder
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
Juan Batiz-Benet
bff7f73068
Merge pull request #878 from jbenet/dontIgnoreCancelFuncs
...
context: Always call returned cancel funcs
2015-03-07 09:49:19 -08:00
Juan Batiz-Benet
1d5b903611
added cancel func calls previously ignored
2015-03-07 09:31:46 -08:00
Juan Batiz-Benet
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
Juan Batiz-Benet
276f471ca8
Merge pull request #882 from jbenet/ipfsObject
...
Ipfs object put from stdin
2015-03-07 08:16:33 -08:00
Henry
2a0cd6d3d3
object: added sharness tests for get, put and stat
2015-03-07 16:50:30 +01:00
Henry
bc84ffafe3
enable stdin input for ipfs object put
2015-03-07 16:50:00 +01:00
Juan Batiz-Benet
5db973a210
Merge pull request #879 from anarcat/patch-1
...
document how to change daemon ports
2015-03-07 05:49:10 -08:00
Henry
aa55eebe7e
fixed two more
2015-03-07 14:47:07 +01:00
Henry
435e8188a3
don't ignore returned cancelFunc()
2015-03-07 14:47:07 +01:00
anarcat
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
Juan Batiz-Benet
006df7db0d
Merge pull request #880 from anarcat/patch-2
...
explain what direct/indirect/recursive means
2015-03-07 05:37:49 -08:00