Commit Graph

10437 Commits

Author SHA1 Message Date
Steven Allen
43f4147d25 fix the urlstore tests
1. GC the intentionally broken files so we don't reuse their blocks.
2. Make sure we actually check the *new* output file instead of an old one.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 17:14:56 -07:00
Steven Allen
991ae7cda4 README: fix bitswap link
And clarify that it's a separate package.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 16:10:08 -07:00
David Dias
9cd3fca50f docs: apply CR
License: MIT
Signed-off-by: diasdavid <daviddias.p@gmail.com>
2018-08-22 16:09:51 -07:00
David Dias
dae6189bd8 docs: README refresh, add cli-http-api-core diagram
License: MIT
Signed-off-by: diasdavid <daviddias.p@gmail.com>
2018-08-22 16:09:51 -07:00
Steven Allen
4fd8a6ef6d
Merge pull request #5392 from ipfs/refactor/name-cmd-dir
name cmd: move subcommands to subdirectory
2018-08-22 19:17:53 +00:00
Steven Allen
faf7aac940 cmds: go fmt and minor cleanup
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-22 09:49:18 -07:00
Łukasz Magiera
b0c480acf5 name cmd: move subcommands to subdirectory
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-22 10:34:44 +02:00
Kevin Atkinson
08c96ba073 Add support for inlining via the id-hash to the add command.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-21 21:56:49 -04:00
Steven Allen
30fe06c020
Merge pull request #5394 from ipfs/gx/update-opgmw1
gx: update go-cid, go-libp2p-peer, go-ipfs-cmds, go-ipfs-cmdkit
2018-08-22 01:18:55 +00:00
Steven Allen
aef8eec279 fix cid-fmt import path
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-21 17:47:14 -07:00
Steven Allen
656d7cc1a6 gx: update go-cid, go-libp2p-peer, go-ipfs-cmds, go-ipfs-cmdkit
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-21 17:39:56 -07:00
Steven Allen
fcc96a3ae7
Merge pull request #4177 from Voker57/feat/gw-filename-option
Set filename in Content-Disposition if filename=x is passed in URI query
2018-08-21 16:49:53 +00:00
Steven Allen
b3585551c8
Merge pull request #5391 from ipfs/extract/go-mfs
Extract /mfs to github.com/ipfs/go-mfs
2018-08-21 00:17:03 +00:00
Steven Allen
1af6717eff add some basic gateway documentation
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-20 15:53:10 -07:00
Hector Sanjuan
39a87a0fb0 Extract /mfs
The /mfs module has been extracted to github.com/ipfs/go-mfs

All history has been retained in the new repository. README, LICENSE,
Makefiles and CI integration have been added to the new location.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-08-20 15:28:14 +02:00
Steven Allen
afda4ca04f
Merge pull request #5384 from ipfs/fix/ipns-mount
Fixed ipns address resolution in fuse unix mount
2018-08-16 00:04:33 +00:00
Steven Allen
c22cfbbf75 add test case for /ipns/QmId...
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 16:33:27 -07:00
Steven Allen
f6ba685428
Merge pull request #5356 from ipfs/feat/protobuf-2
update protobuf files in go-ipfs
2018-08-15 23:03:57 +00:00
Steven Allen
c80b418e4d remove old unused imports
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 12:04:06 -07:00
Steven Allen
5ae130dee2 update protobuf files in go-ipfs
Also:

* Switch to gogo for filestore for consistency.
* Use the "faster" codegen for fewer allocations.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 12:02:21 -07:00
Steven Allen
d586c34b8a fix go style
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 11:50:35 -07:00
kvm2116
bde04e3843 Fixed ipns address resolution in fuse unix mount
License: MIT
Signed-off-by: Kunal Mahajan <mkunal@cs.columbia.edu>
2018-08-15 11:50:35 -07:00
Steven Allen
3d1802fe64
Merge pull request #5345 from ipfs/fix/5335
return a json object from config show
2018-08-15 18:47:12 +00:00
Steven Allen
99df4636b8
Merge pull request #5373 from ipfs/feat/gossipsub
gossipsub
2018-08-15 18:45:18 +00:00
vyzo
f8725d8ec9 better documentation for gossipsub
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 20:30:21 +03:00
Steven Allen
9300997887 fix gx duplicate dep by updating iptb
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 10:02:32 -07:00
vyzo
42a9cdcbfb fix gossipsub test initialization
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
vyzo
643522e990 document Pubsub.Router option to enable gossipsub
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
vyzo
884df03320 gossipsub sharness test
just a copy of t0180-pubsub with gossipsub enabled for now

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
vyzo
8a7a26169d instantiate pubsub router based on configuration
in particular, this enabls gossipsub when configured so.

License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
vyzo
e002de9571 update go-ipfs-config
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
vyzo
ca0c3ba47f update go-floodsub to 0.9.24
License: MIT
Signed-off-by: vyzo <vyzo@hackzen.org>
2018-08-15 10:02:32 -07:00
Steven Allen
f351386de4
Merge pull request #5382 from ipfs/feat/update-go-cid
gx: update go-cid
2018-08-15 17:00:12 +00:00
Steven Allen
2450ddde81 gx: update go-cid
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-15 08:30:22 -07:00
Steven Allen
56ba44e3b7
Merge pull request #5354 from ipfs/fix/coreunix/add/improvs
Fix some weird code in core/coreunix/add.go
2018-08-14 18:43:36 +00:00
Hector Sanjuan
de72087df3 Fix some weird code in core/coreunix/add.go
Code was just weird. I think it looks better now.

License: MIT
Signed-off-by: Hector Sanjuan <hector@protocol.ai>
2018-08-14 13:15:53 +02:00
achingbrain
c97c44e8a4 Allow mfs files.write command to create parent directories
Adds support for a `-p/--parents` flag to the `files.write` command
similar to the one supported by the `files.mkdir` command. If this
is true and the directory for the file is not `"/"`, try to create
the containing directory before writing to the file.

License: MIT
Signed-off-by: Alex Potsides <alex@achingbrain.net>
2018-08-14 07:59:36 +01:00
Steven Allen
672591972c Merge branch 'feat/ds-bytes'
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-13 15:25:38 -07:00
Steven Allen
79e7d5e542 update go-datastore to use []byte values instead of {}interface values
* Most of our datastores barf on non []byte values.
* We have to have a bunch of "is this a []byte" checks.
* Saves some allocations.

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-13 14:42:55 -07:00
Steven Allen
0e5ed59400
Merge pull request #5364 from ipfs/fix/1515
add correct test for 1515
2018-08-13 17:01:58 +00:00
Steven Allen
95d53bfc30
Merge pull request #5375 from ipfs/kevina/cid-builder
Gx updates and fixes to use new cid.Builder interface.
2018-08-13 16:02:09 +00:00
Steven Allen
fd6f78edf8
Merge pull request #5374 from ipfs/ci/cleanup-ws
ci: call cleanWs after each step
2018-08-13 02:15:16 +00:00
Kevin Atkinson
fda3d88245 Rename prefix to CidBuilder in names when a cid.Builder is used.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-12 20:49:49 -04:00
Kevin Atkinson
075ecb09d0 Gx updates and fixes to use new cid.Builder interface.
License: MIT
Signed-off-by: Kevin Atkinson <k@kevina.org>
2018-08-12 19:15:07 -04:00
Łukasz Magiera
d6ac920feb ci: call cleanWs after each step
License: MIT
Signed-off-by: Łukasz Magiera <magik6k@gmail.com>
2018-08-12 15:50:54 +02:00
Steven Allen
6899b1f151
Merge pull request #5371 from ipfs/diasdavid-patch-1
docs: add url to dev weekly sync to the README
2018-08-11 16:57:50 +00:00
Steven Allen
c1e10dbc4e add correct test for 1515
When checking to see if GC fully reverses an `ipfs add`, we should check the
size of the actual files, not the directory sizes. A bunch of empty directories
won't use *that* much space and really shouldn't count against GC.

closes #1515

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-11 09:53:52 -07:00
David Dias
eaad8e6a3f
docs: add url to dev weekly sync to the README
License: MIT
Signed-off-by: diasdavid <daviddias.p@gmail.com>
2018-08-11 13:15:27 +02:00
Steven Allen
b75c53866a
Merge pull request #5365 from ipfs/fix/5288
update cmdkit to fix the progress bar
2018-08-11 01:45:28 +00:00
Steven Allen
f0769366f1 update cmdkit to fix the progress bar
The progressbar should now correctly calculate the size of a directory (by
ignoring the directory sizes).

fixes #5288

License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2018-08-10 17:21:28 -07:00