Commit Graph

5432 Commits

Author SHA1 Message Date
Jeromy
0c7595b65b Use port zero for all ipfs daemon addresses in sharness testing
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-12 14:04:32 -08:00
Jeromy Johnson
7217637933 Merge pull request #2328 from ipfs/feat/parallel-pub
put pubkey and ipns entry to dht in parallel
2016-02-11 13:59:39 -08:00
Jeromy
abadc94e23 fix race conditions in tests
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-11 11:09:09 -08:00
Jeromy Johnson
9fbe3d1335 Merge pull request #2330 from ipfs/feature/capitalize-could
Capitalized could
2016-02-11 10:33:40 -08:00
Richard Littauer
59a98a838b Capitalized could
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-11 13:05:02 -05:00
Jeromy
58cba8af28 cleanup waitfunc
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-10 22:09:43 -08:00
Jeromy
e8f48f1a1e put pubkey and ipns entry to dht in parallel
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-10 17:03:22 -08:00
Jeromy Johnson
4acc7f0ffd Merge pull request #2327 from ipfs/fix/bump-kvalue
bump kvalue from 10 to 20
2016-02-10 16:41:52 -08:00
Jeromy
0396fb967a bump kvalue from 10 to 20
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-10 16:07:06 -08:00
Jeromy Johnson
c913105dd7 Merge pull request #2308 from ipfs/docker-auto-builds
Docker automatic builds
2016-02-10 09:23:23 -08:00
Jeromy Johnson
400a1aec7b Merge pull request #2316 from ipfs/fix/random-bstest-hangs
wait for peers in wantmanager to all appear
2016-02-09 14:02:21 -08:00
Jeromy Johnson
eaa4ff0ce9 Merge pull request #2318 from rwcarlsen/fix-closenotify-panic2
fix another panic where CloseNotify was called from wrong goroutine
2016-02-09 11:38:22 -08:00
Robert Carlsen
5367ee76d0 fix another panic where CloseNotify was called from wrong goroutine
panic: net/http: CloseNotify called after ServeHTTP finished

    goroutine 180 [running]:
    net/http.(*response).CloseNotify(0xc8220684e0, 0x0)
        /home/r/go/src/net/http/server.go:1535 +0x9d
    github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/prometheus/client_golang/
        /home/r/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/prome
    github.com/ipfs/go-ipfs/core/corehttp.(*gatewayHandler).getOrHeadHandler.func1(0x7
        /home/r/src/github.com/ipfs/go-ipfs/core/corehttp/gateway_handler.go:119 +
    created by github.com/ipfs/go-ipfs/core/corehttp.(*gatewayHandler).getOrHeadHandle
        /home/r/src/github.com/ipfs/go-ipfs/core/corehttp/gateway_handler.go:123 +

License: MIT
Signed-off-by: Robert Carlsen <rwcarlsen@gmail.com>
2016-02-09 11:09:43 -06:00
Jeromy Johnson
37258a262b Merge pull request #2196 from ipfs/feat/mfs-flush-cmd
Add flush command to ipfs files
2016-02-08 16:10:36 -08:00
Jeromy
c73da8486a wait for peers in wantmanager to all appear
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 15:59:22 -08:00
Jeromy Johnson
4c02c98227 Merge pull request #2315 from rwcarlsen/fix-closenotify-panic
fix go1.6rc2 panic where closenotify was called from wrong goroutine
2016-02-08 15:22:44 -08:00
Jeromy
c47e12ebb1 clear up comment about flush=false
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:47:54 -08:00
Jeromy
4b7e3282f1 introduce concept of filedescriptors to mfs, adjust fuse code to use them
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:45:44 -08:00
Jeromy
5474e15e93 blockstore locks return unlocker object now
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:42:07 -08:00
Jeromy
829606a9ed add note about flush flag
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:42:07 -08:00
Jeromy
b078915fb4 add context to files reading
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:42:07 -08:00
Jeromy
b4a47e35db sort ListNames output
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:42:07 -08:00
Jeromy
5fcd9a1f8e use correct context in pubfunc pinning
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:42:07 -08:00
Jeromy
d2e0d73bd5 flush pinning improvements
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:42:07 -08:00
Jeromy
1feea8bc5f flushing and shallow list names
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-08 14:42:07 -08:00
Robert Carlsen
ed23d99d6f fix panic where closenotify was called from wrong goroutine
Previously, this was the result when running a test with go1.6rc2:

    go test github.com/ipfs/go-ipfs/commands/http
    panic: net/http: CloseNotify called after ServeHTTP finished

    goroutine 19 [running]:
    net/http.(*response).CloseNotify(0xc8202ca1a0, 0x0)
        /home/r/go/src/net/http/server.go:1533 +0x9d
    github.com/ipfs/go-ipfs/commands/http.internalHandler.ServeHTTP.func2(0x7f42c9d1d180, 0xc8202ca1a0, 0x7f42c9d66e90, 0xc8200f0380, 0xc8201d40d0)
        /home/r/src/github.com/ipfs/go-ipfs/commands/http/handler.go:143 +0x39
    created by github.com/ipfs/go-ipfs/commands/http.internalHandler.ServeHTTP
        /home/r/src/github.com/ipfs/go-ipfs/commands/http/handler.go:147 +0x49d
    FAIL	github.com/ipfs/go-ipfs/commands/http	0.013s

I had also encountered this panic when trying to use the webui.

License: MIT
Signed-off-by: Robert Carlsen <rwcarlsen@gmail.com>
2016-02-08 15:49:58 -06:00
Stephen Whitmore
e9cc395ef2 Merge pull request #2296 from noffle/clean_unmount
Mounts detect unmounts and track mount state.
2016-02-08 13:22:45 -08:00
Jeromy Johnson
1aeec4a710 Merge pull request #2314 from ipfs/docs/publish-lifetime
Added note about time formatting
2016-02-08 12:07:36 -08:00
Jeromy Johnson
471d4d10eb Merge pull request #2311 from ipfs/feature/fix-up-ipfs-file-comments
Fixed spelling errors, added oxford comma
2016-02-08 12:07:20 -08:00
Jeromy Johnson
f3d754c8e0 Merge pull request #2307 from ipfs/feature/diag-net-comments
Formatted diag net comments
2016-02-08 09:15:43 -08:00
Richard Littauer
598ea5ed50 Added note about time formatting
This closes #2312

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-08 09:46:47 -05:00
Stephen Whitmore
40a49c8399 Mounts detect unmounts and track mount state.
This lets FUSE mounts to track whether they are active or not by
tracking when fs.Serve terminates.

License: MIT
Signed-off-by: Stephen Whitmore <noffle@ipfs.io>
2016-02-07 19:54:59 -08:00
Jeromy Johnson
537cd48337 Merge pull request #2310 from ipfs/docs/install-tips
add some tips for making dep installs go smoothly
2016-02-06 19:51:35 -08:00
Richard Littauer
93b6725220 Fixed spelling errors, added oxford comma
License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-06 18:11:17 -05:00
Richard Littauer
7b1aa49c75 Added quotes around make install,
reworded

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-06 17:27:52 -05:00
Jeromy
455a785865 add some tips for making dep installs go smoothly
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-06 04:48:01 -08:00
Lars Gierth
e59dc8e49d docker: move to ipfs/go-ipfs image name
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-02-06 04:28:45 +01:00
Jeromy Johnson
5a0b8023be Merge pull request #2256 from ipfs/feat/gx-libp2p
vendor libp2p with gx
2016-02-05 16:52:02 -08:00
Jeromy
337313845d add deps target to nofuse
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-05 16:00:57 -08:00
Jeromy
5c5ad7ad71 note in assets test
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-05 16:00:29 -08:00
Jeromy
c9b83c506c makefile fixes
License: MIT
Signed-off-by: Jeromy <jeromyj@gmail.com>
2016-02-05 15:50:40 -08:00
Richard Littauer
d3b1bb4e10 Formatted diag net comments
Also added default notice aboue plain text

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-05 18:21:48 -05:00
Jeromy Johnson
ffc4831bcc Merge pull request #2302 from ipfs/feature/gx-libp2p-readme-edits
Cleaned up README
2016-02-05 12:30:20 -08:00
Jeromy Johnson
546fabd9a9 Merge pull request #2300 from ipfs/feature/add-example-to-id
Added an example to `ipfs id`
2016-02-05 12:22:07 -08:00
Richard Littauer
9ade2109ed Cleaned up README
I did the following:
- Capitalized IPFS wherever it did not explicitely refer to the CLI command
- Moved Dev Dependencies into the Install section
- Added a Table of Contents
- Capitalised and added periods to various sentences
- Capitalised Go
- Removed double empty lines
- Reindented a few sections to make the flow more clear.
- Added a note to the Install section about how to canonically install.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-05 11:08:12 -05:00
Richard Littauer
062b3438a2 Added an example to ipfs id
I was super confused how to use the `-f` flag. This helped, but I had to go into
the test files to find it. Added it here.

License: MIT
Signed-off-by: Richard Littauer <richard.littauer@gmail.com>
2016-02-05 11:05:51 -05:00
Lars Gierth
ce0d62dca3 docker: save image space by excluding .git/
License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-02-05 04:03:30 +01:00
Lars Gierth
c103efc1a9 sharness: disable t0300-docker-image on Circle CI
The actual tests for the IPFS daemon within the image,
which were added in the previous commits, made Circle CI unhappy.

Circle CI runs an old version of Docker
which still uses LXC instead of libcontainer.
The existing lxc-attach hack is testament to that.

We might be able to get it work [1][2]
but it's really not worth it at the moment,
and Circle CI isn't a good option for Docker things, right now.

[1] https://jpetazzo.github.io/2014/03/23/lxc-attach-nsinit-nsenter-docker-0-9/
[2] https://github.com/jpetazzo/nsenter

License: MIT
Signed-off-by: Lars Gierth <larsg@systemli.org>
2016-02-05 03:11:50 +01:00
Jeromy Johnson
0de7104335 Merge pull request #2221 from rht/fix/gc-panic
Wire ctx to getdag operations in gc.GC
2016-02-04 16:13:06 -08:00
Jeromy Johnson
881ec275ae Merge pull request #2297 from ipfs/t0240-improvements
t0240 improvements
2016-02-04 16:10:26 -08:00