Commit Graph

1070 Commits

Author SHA1 Message Date
Hector Sanjuan
d0bb79dbd5
Merge pull request #564 from ipfs/fix/client-ipfs
Fix IPFS() method missing in Client interface
2018-10-02 12:10:07 +02:00
Hector Sanjuan
89aaabd770
Merge pull request #565 from ipfs/fix/snaps-again2
Fix: snaps for tags
2018-10-02 12:09:27 +02:00
Hector Sanjuan
52397f0155 Fix: snaps for tags
It seems branch = master prevents building snaps for tags (?)

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 20:17:24 +02:00
Hector Sanjuan
b5631aeb8a Fix IPFS() method missing in Client interface
Seems we forgot about this one.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 20:09:26 +02:00
Hector Sanjuan
12e7695b1e
gx publish 0.6.0-rc1
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 16:35:35 +02:00
Hector Sanjuan
2e0f008dff
Release 0.6.0-rc1
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 16:34:58 +02:00
Hector Sanjuan
9907103508 Fix release script with new cmd/ folder
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 16:34:22 +02:00
Hector Sanjuan
29e582018a
Merge pull request #563 from ipfs/fix/552-stateless-test
Fix #552: test failing on travis on windows
2018-10-01 16:23:49 +02:00
Hector Sanjuan
d0f735b167
Merge pull request #562 from ipfs/fix/snaps-again
Snap build fixes. Re-enable multiarch builds.
2018-10-01 15:47:44 +02:00
Hector Sanjuan
ca50393100 Snap build fixes. Re-enable multiarch builds.
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 15:46:30 +02:00
Hector Sanjuan
fc5a6df3ad Fix #552: Pintracker tests were pinning in parallel
When we increased the default concurrency setting
we forgot the tests are for ConcurrentPins=1.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 15:27:50 +02:00
Hector Sanjuan
5cdff2abc3
Merge pull request #561 from ipfs/fix/client-cid-pointer
api/rest: change *cid.Cid to cid.Cid in client iface
2018-10-01 13:31:52 +02:00
Hector Sanjuan
ea4e3704b4
Merge pull request #558 from ipfs/fix/go-1.11
Update to go-1.11
2018-10-01 13:07:11 +02:00
Hector Sanjuan
e86fefb808 ctl: Make remaining changes from *cid.Cid to cid.Cid in ipfs-cluster-ctl
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 12:53:42 +02:00
Adrian Lanzafame
000f2b3f6e api/rest: change *cid.Cid to cid.Cid in client iface
License: MIT
Signed-off-by: Adrian Lanzafame <adrianlanzafame92@gmail.com>
2018-10-01 12:51:57 +02:00
Hector Sanjuan
0ee7ecf28e
Merge pull request #560 from ipfs/fix/548-keepalives
Fix #548: Re-enable keep-alives. Set Connection: Close when adding.
2018-10-01 12:11:35 +02:00
Hector Sanjuan
b27ae72ef0 Update to go-1.11
License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-10-01 12:03:08 +02:00
Hector Sanjuan
2d310455be
Merge pull request #559 from ipfs/fix/554-snap-deploy
Fix #544: Push Snaps to the right channel depending on tags
2018-10-01 12:01:01 +02:00
Hector Sanjuan
6e83ef5f24 Fix #548: Re-enable keep-alives. Set Connection: Close when adding.
This is a workaround to have clients behave properly with the /add
endpoint by asking them to close connections when done, effectively
disabling keep-alive for this.

This means we don't need to disable keep-alives fully on all servers,
since the rest of endpoints are not affected (they are not streaming
endpoints).

Reference https://github.com/ipfs/go-ipfs/issues/5168

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-09-29 02:07:57 +02:00
Hector Sanjuan
c8c003a208 Fix #544: Push Snaps to the right channel depending on tags
Also, make sure they are only built on master builds of the original
repo.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-09-28 21:44:05 +02:00
Hector Sanjuan
ef31db6548
Merge pull request #523 from jglukasik/master
First pass at creating a client interface ClientIface
2018-09-28 21:07:16 +02:00
Hector Sanjuan
61aa83fcc2
Merge pull request #555 from ipfs/fix/make-test
fix make test: the make test rule should not pass the -loglevel flag
2018-09-28 19:51:45 +02:00
Joseph Lukasik
b98e549d92 Add Client interface, implemented by defaultClient
License: MIT
Signed-off-by: Joseph Lukasik <joseph@jgl.me>
2018-09-27 16:51:34 -07:00
Hector Sanjuan
9ed41bbd21
Merge pull request #556 from ipfs/issue_485
Move `ipfs-cluster-service` and `ipfs-cluster-ctl` to `cmd/`
2018-09-27 21:53:39 +02:00
Kishan Sagathiya
79481f83dc Move ipfs-cluster-service and ipfs-cluster-ctl to cmd/
This commit moves `ipfs-cluster-service` and `ipfs-cluster-ctl` to
`cmd/` directory to follow "standard" project structure.

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-27 20:56:09 +02:00
Hector Sanjuan
b78f9881c1 fix make test: the make test rule should not pass the -loglevel flag
It's not supported in all subpackages. Make test is not really used
in our CI that's why we didn't see this before.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-09-27 20:27:51 +02:00
Hector Sanjuan
398cdaa957
Merge pull request #549 from ipfs/fix/543-add-unhealthy
Fix #543: Use only healthy peers when adding everywhere (+tests)
2018-09-27 16:52:12 +02:00
Hector Sanjuan
cbdd075bb2
Merge pull request #551 from ipfs/fix/minor-version-compat
Allow running peers with different cluster versions in the same cluster
2018-09-27 08:13:53 +02:00
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
2279856dfb
Merge pull request #550 from ipfs/fix/520-snapcraft-stages
Fix #520 snapcraft stages
2018-09-27 08:11:44 +02:00
Hector Sanjuan
59714f69d4 Allow running peers with different cluster versions in the same cluster
This patch modifies the RPC protocol tag to use Major and Minor parts of the
version and not all of it.

This means all peers on the 0.5.x can run in the same cluster.

As cluster has become more mature and I see less risks in letting peers from
similar versions run together. This is useful when upgrading too.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-09-27 07:35:57 +02:00
Hector Sanjuan
997fb939f8 Fix #520: Re-work travis CI file.
- Only push snapcraft file once
- Give names to stages

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
2018-09-26 16:54:17 +02:00
Hector Sanjuan
e941d6b4bc
Merge pull request #531 from kishansagathiya/issue_446
Issue #446 Adding peername to PinInfo
2018-09-26 13:26:46 +02:00
Hector Sanjuan
638128d6a0
Merge pull request #547 from meiqimichelle/patch-3
Copyedit in README
2018-09-26 11:08:53 +02:00
Kishan Sagathiya
c62c922e87 Issue #446 Adding peername to PinInfo
Avoid typecasting

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-26 08:35:56 +05:30
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
Kishan Sagathiya
2cd4420ee8 Issue #446 Adding peername to PinInfo
Fixing errors and better code placement

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-24 23:20:37 +05:30
Kishan Sagathiya
61c03e2160 Issue #446 Adding peername to PinInfo
Formatted output

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-24 23:04:16 +05:30
Kishan Sagathiya
b76b65e446 Issue #446 Adding peername to PinInfo
Removed unnecessary peername assignment
Modified tests according to the changes made to add peername to PinInfo

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-24 23:04:16 +05:30
Kishan Sagathiya
773b4de1f0 Issue #446 Adding peername to PinInfo
Removed comments and code used for debugging

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-24 23:04:16 +05:30
Kishan Sagathiya
ef85ba8780 Issue #446 Adding peername to PinInfo
This commit adds peername to PinInfo and GlobalPinInfo so that we have
a nicer and more meaningfull output for `ipfs-cluster-ctl` queries like
`status`, `sync` and `recover`

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-24 23:04:16 +05:30
Kishan Sagathiya
ff48fb319a Issue #446 Adding peername to PinInfo
This commit adds peername to PinInfo and GlobalPinInfo so that we have
a nicer and more meaningfull output for queries like
`ipfs-cluster-ctl status`

License: MIT
Signed-off-by: Kishan Mohanbhai Sagathiya <kishansagathiya@gmail.com>
2018-09-24 23:04:16 +05:30
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