Commit Graph

1031 Commits

Author SHA1 Message Date
Hector Sanjuan
e7b1eacf83 Fix #543: Use only healthy peers when adding everywhere (+tests)
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-09-27 08:12:29 +02:00
Hector Sanjuan
638128d6a0
Merge pull request #547 from meiqimichelle/patch-3
Copyedit in README
2018-09-26 11:08:53 +02:00
Michelle Hertzfeld
89cd4b83bf
Copyedit in README
There was a slight grammar mistake. Now it is gone, and this sentence matches the one on our website.

I submitted this PR yesterday, but it wasn't signed properly. I'm opening a new PR to test where the signature should go in the GH web interface (clearly did not have it in the right place last time).

License: MIT
Signed-off-by: Michelle Hertzfeld mhertzfeld@gmail.com
2018-09-26 07:54:51 +10:00
Hector Sanjuan
275a8b2881
Merge pull request #544 from ipfs/fix/update-go-cid
update go-cid and go-libp2p
2018-09-24 13:54:30 +02:00
Hector Sanjuan
e751fbe25e
Merge pull request #529 from ipfs/feat/docker-gx-make
speed up building docker image
2018-09-24 13:51:26 +02:00
Hector Sanjuan
0bf9f4d2c0
Merge pull request #542 from kishansagathiya/issue_536
Issue #536 New make target for PR check
2018-09-24 13:48:41 +02:00
Adrian Lanzafame
31474f6490
update go-cid and go-libp2p
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-09-24 11:35:38 +10:00
Kishan Sagathiya
cd7c803772 Issue #536 New make target for PR check
A test target should not modify the running system. Safest to run
without test_sharness. Thus avoiding to install.

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-21 23:38:02 +05:30
Kishan Sagathiya
a6111908e9 Issue #539 Make make all update dependencies
`make all` assumes that your dependencies are re-written. This can lead
to unexpected failures/errors.
This commit changes `make all` to update dependencies as well.

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-21 23:37:42 +05:30
Kishan Sagathiya
69a11a8703 Issue #536 New make target for PR check
Fixes typo

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-20 07:31:27 +05:30
Kishan Sagathiya
20bd25399c Issue #536 New make target for PR check
This commit adds a single make target that can run and check if I am
ready to push my PR, i.e, `make prcheck`

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-19 10:05:43 +05:30
Hector Sanjuan
e4c5dc889d
Merge pull request #537 from ipfs/fix/update-go-dot
gx update go-dot
2018-09-13 11:34:54 +02:00
Adrian Lanzafame
a34154ff25
gx update go-dot
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-09-13 13:29:34 +10:00
Adrian Lanzafame
88f08e86b0
speed up building docker image
By using gx install --local, deps are copied into
the build context and therefore only stale deps
will get pulled from the network on image build.

License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-09-07 12:35:32 +10:00
Hector Sanjuan
753322cdc1
gx publish 0.5.0
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-24 15:04:17 +02:00
Hector Sanjuan
2f417eb632
Release 0.5.0
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-24 15:03:22 +02:00
Hector Sanjuan
a78a0bd940
Merge pull request #510 from ipfs/0.5.0/changelog
Changelog for v0.5.0
2018-08-24 15:01:32 +02:00
Hector Sanjuan
2655bf47d2 Changelog for v0.5.0
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-24 15:00:28 +02:00
Hector Sanjuan
2d072d8b53
Merge pull request #519 from ipfs/godocs
Add/improve godoc descriptions for some modules.
2018-08-23 17:19:41 +02:00
Hector Sanjuan
0c5de3a849 Add/improve godoc descriptions for some modules.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-23 14:14:06 +02:00
Hector Sanjuan
b9485626d1
Merge pull request #517 from ipfs/update/gx-versions
Gx-go 1.8.0 it's WAY faster.
2018-08-23 10:18:03 +02:00
Hector Sanjuan
0764409a0a
Merge pull request #518 from ipfs/fix/status-output
Small adjustment to "pin ls" human output in ctl.
2018-08-23 10:17:51 +02:00
Hector Sanjuan
5c4ebe7554 Small adjustment to "pin ls" human output in ctl.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-22 13:06:10 +02:00
Hector Sanjuan
cc1af87243 Gx-go 1.8.0 it's WAY faster.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-22 12:03:40 +02:00
Hector Sanjuan
2559655c81
gx publish 0.5.0-rc1
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-21 20:51:49 +02:00
Hector Sanjuan
fa2ba13ae2
Release 0.5.0-rc1
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-21 20:50:59 +02:00
Hector Sanjuan
d6e516b84a
Merge pull request #513 from ipfs/remove-go-ipfs-dep
AddParams: support "cid-version" and "hash" function.
2018-08-21 20:49:02 +02:00
Hector Sanjuan
0b60e330a3 Fix duplicate dep
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-21 20:06:12 +02:00
Hector Sanjuan
b266ff2fbf
Merge pull request #514 from ipfs/fix/466-proxy-repo-stat
Fix #466: Hijack repo/stat in the proxy and return aggregates from the cluster
2018-08-21 19:39:03 +02:00
Hector Sanjuan
05102c13a0 AddParams: support "cid-version" and "hash" function.
Additionally, remove dependency to go-ipfs after extraction from
"go-mfs".

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-21 19:38:41 +02:00
Hector Sanjuan
f99c7933dd
Merge pull request #515 from ipfs/fix/webfile-gx
Use cmdkit WebFile.
2018-08-21 11:23:18 +02:00
Hector Sanjuan
9c3826fdc5 Use cmdkit WebFile.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-21 02:12:36 +02:00
Hector Sanjuan
2ffa3d80de Fix 466: Hijack repo/stat in the proxy and return aggregates from the cluster.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-20 20:43:27 +02:00
Hector Sanjuan
0b21a404e5
Merge pull request #511 from ipfs/fix/pin-ls-check
Fix PinLsCid and pins with maxdepth 0 after migration
2018-08-20 13:40:28 +02:00
Hector Sanjuan
d900ff8ff5
Merge pull request #509 from ipfs/feat/client-add
rest/client: Implement .Add(paths), which adds from local files and web files
2018-08-20 12:41:15 +02:00
Hector Sanjuan
2061029313 Fix hanging add in sharness.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-20 12:08:49 +02:00
Hector Sanjuan
6c28d6bf3e Fix PinLsCid and pins with maxdepth 0 after migration
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-20 11:39:34 +02:00
Hector Sanjuan
b6182e0621 rest/client: Implement .Add(paths), which adds from local files and web files
.Add(paths) will interpret http* paths as WebFiles. These are read performing
a GET request to the location. Otherwise, the path is interpreted as a local
disk file/folder, and read from disk. ipfs-cluster-ctl has been updated
accordingly.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-20 11:07:23 +02:00
Hector Sanjuan
63fa1ba213
Merge pull request #505 from ipfs/fix/495-proxy-add
Fix #495: Hijack proxy /add correctly. Disable keep-alives.
2018-08-20 10:29:20 +02:00
Hector Sanjuan
77df433c2d
Merge pull request #504 from ipfs/fix/pinls
IPFSPinLsCid should try to find pins in the direct pinset too.
2018-08-20 10:10:32 +02:00
Hector Sanjuan
8d3510e98a
Merge pull request #507 from ipfs/fix/fast-repo-stat
IPFSHttp: Add "size-only=true" flag to repo/stat calls
2018-08-20 10:10:05 +02:00
Hector Sanjuan
2f59eaf966
Merge pull request #503 from ipfs/fix/sharding-state-upgrade
State migrations for sharding
2018-08-20 10:09:49 +02:00
Hector Sanjuan
5d991d651b
Merge pull request #508 from ipfs/feat/fix-testclusterspeerrejoin
Fix: TestClustersPeerRejoin was failing a lot since DHT feature.
2018-08-20 10:09:34 +02:00
Hector Sanjuan
be651da0d0 Fix: disable KeepAlives in server
See discussion in https://github.com/ipfs/go-ipfs/issues/5168

We cannot stream responses with keep-alives enabled.

I prefer this to not be a client feature, as otherwise users might end up
shooting themselves in the foot.

Note, the price is a corrupted request body which gets added
normally and gives wrong hashes!

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-18 02:48:36 +02:00
Hector Sanjuan
0709652d38 Run sharness tests verbose
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-18 02:48:35 +02:00
Hector Sanjuan
ff8476e9b7 Fix: TestClustersPeerRejoin was failing a lot since DHT feature.
This uses Join rather than PeerAdd. Join ensures a DHT bootstrap
after successfully joining.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-18 02:48:35 +02:00
Hector Sanjuan
00a757fc0b Proxy/add: flush AddedOutput
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-18 02:48:35 +02:00
Hector Sanjuan
b2914c2516 Fix #495: Hijack proxy /add correctly.
No more hacks around /add. This uses the local adder when hijacking /add.
It supports the parameters and works pretty well with the ipfs CLI, showing
progress and everything.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-18 02:48:35 +02:00
Hector Sanjuan
eba96c3a26 Merge branch 'feat/fix-testclusterspeerrejoin' into fix/pinls
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-17 23:07:09 +02:00
Hector Sanjuan
5a0d4ed9a2 Merge branch 'feat/fix-testclusterspeerrejoin' into fix/fast-repo-stat
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-08-17 23:04:26 +02:00