Commit Graph

10874 Commits

Author SHA1 Message Date
Jakub Sztandera
01b357a98a
Merge pull request #6701 from ipfs/feat/buzhash
Introduce buzhash chunker
2019-10-08 01:45:17 +02:00
Steven Allen
14a095258c
Merge pull request #6685 from aschmahmann/fix/6527
Pinning interop: Pin ls returns appropriate zero value
2019-10-08 08:43:08 +09:00
Steven Allen
4391ef92e5
fix(sharness): spelling 2019-10-08 08:34:55 +09:00
Steven Allen
f97ed7da47
Merge pull request #6700 from ipfs/fix/eth-link
fix(resolve): correctly handle .eth domains
2019-10-08 07:34:30 +09:00
Jakub Sztandera
76d2ad404d
Add buzhash to ipfs add docs
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-07 19:57:43 +02:00
Jakub Sztandera
6f4f9b4cbb
Add test for buzhash
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-07 18:17:01 +02:00
Jakub Sztandera
67f9837734
Introduce buzhash chunker
It has the same properties as Rabin but is much faster.
Benchmark results:

```
name             speed
Buzhash2/1K-4    1.71GB/s ± 4%
Buzhash2/1M-4    1.15GB/s ± 2%
Buzhash2/16M-4    892MB/s ± 1%
Buzhash2/100M-4   904MB/s ± 2%
Rabin/1K-4       13.8MB/s ± 3%
Rabin/1M-4        171MB/s ± 3%
Rabin/16M-4       182MB/s ± 4%
Rabin/100M-4      182MB/s ± 3%
Default/1K-4     1.74GB/s ± 4%
Default/1M-4     3.22GB/s ± 2%
Default/16M-4    3.88GB/s ± 2%
Default/100M-4   4.21GB/s ± 6%
```

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-07 18:06:02 +02:00
Adin Schmahmann
69bb57895a Pin LS command emits custom JSON to handle streaming case 2019-10-07 10:43:52 -04:00
Steven Allen
554155f609 test(namesys): add fixed eth.link test 2019-10-07 22:23:35 +09:00
Steven Allen
1ead3c8fd2 test(namesys): remove broken test 2019-10-07 17:33:38 +09:00
Steven Allen
d5f22c2ca4 fix(resolve): correctly handle .eth domains
This should have been handled down inside the DNSLink resolver. Otherwise, we'll
break any name happens to end in `.eth`.

also fixes #6699
2019-10-07 17:28:13 +09:00
Steven Allen
b15edf287d
Merge pull request #6697 from jessicaschilling/patch-2
Update README.md
2019-10-02 15:56:11 -07:00
Jessica Schilling
c24e7256c7
Update README.md
Change first link under "Getting Started" to more specific docs per https://github.com/ipfs/go-ipfs/pull/6692#issuecomment-537110811
Ref https://github.com/ipfs/go-ipfs/pull/6692
2019-10-02 16:48:12 -06:00
Steven Allen
be87862614
Merge pull request #6678 from ipfs/feat/api-over-unix
daemon: support unix domain sockets for the API/gateway
2019-10-01 11:31:45 -07:00
Steven Allen
ad541c8548
Merge pull request #6691 from ipfs/daviddias-patch-1
docs: guide users to the right locations for questions
2019-10-01 09:14:23 -07:00
Steven Allen
d688db8bc7
Merge pull request #6693 from ipfs/daviddias-patch-3
docs: readme improvements
2019-10-01 08:12:20 -07:00
David Dias
166b309606
Update README.md 2019-10-01 17:55:45 +03:00
David Dias
fe829d360b
Update README.md 2019-10-01 17:55:40 +03:00
David Dias
6ae8b86a62
Update README.md 2019-10-01 17:55:35 +03:00
David Dias
8d9e7df42b
Update README.md
Co-Authored-By: Eric Ronne <eric@protocol.ai>
2019-10-01 17:54:40 +03:00
David Dias
81878a5d30 docs: readme improvements 2019-10-01 17:52:54 +03:00
Steven Allen
949cac23ef
Merge pull request #6694 from ipfs/daviddias-patch-4
docs: link remaining docs available, guide people to the right locations
2019-10-01 07:44:22 -07:00
Steven Allen
61f1b74f70
Merge pull request #6692 from ipfs/daviddias-patch-2
docs: fix broken url
2019-10-01 07:34:56 -07:00
David Dias
04b1bda140
docs: link remaining docs available, guide people to the right locations 2019-10-01 17:23:47 +03:00
David Dias
382170b8b4
docs: add pointer to docs 2019-10-01 16:12:35 +03:00
David Dias
211fba776a
docs: fix broken url 2019-10-01 11:56:23 +03:00
David Dias
d434564a00
docs: guide users to the right locations for questions 2019-10-01 11:50:10 +03:00
Steven Allen
8e346a993e test(sharness): fix tests for commands lib update
We no longer spit out the annoying http error.
2019-09-30 18:47:55 -07:00
Steven Allen
460c2119e4 daemon: support unix domain sockets for the API/gateway
All the work was client-side. Unix domain socket multiaddrs already worked
server-side.

fixes #4218
2019-09-30 17:21:28 -07:00
Steven Allen
164dd287be
Merge pull request #6675 from ipfs/feat/systemd-activation
add systemd support
2019-09-30 15:22:44 -07:00
Steven Allen
fdcdcb8258
Merge pull request #6684 from ipfs/update/go-libp2p-gostream-0.2.0
Update go-libp2p-http (and go-libp2p-gostream)
2019-09-30 10:09:29 -07:00
Steven Allen
03431482c7
Merge pull request #6688 from ipfs/ipfs-info-prometheus-metric
feat: add ipfs version info to prometheus metrics
2019-09-30 10:09:04 -07:00
Oli Evans
bbe2f5077e
feat: add ipfs version info to prometheus metrics
Adds `ipfs_info` prometheus metric with version and commit info

```prometheus
ipfs_info{commit="9ea7c6a11-dirty",version="0.5.0-dev"} 1
```

This follows the same pattern as go and other systems, adding a gauge metric that is set to 1, with the version info addeds as labels.

This is a common pattern for prometheus. It lets operators merge version info into other prometheus metrics by multiplying it with the other stat, as described in https://www.robustperception.io/exposing-the-software-version-to-prometheus

For example, we already expose the go version info as

```prometheus
go_info{version="go1.12.9"} 1
```

License: MIT
Signed-off-by: Oli Evans <oli@tableflip.io>
2019-09-30 15:41:29 +01:00
Steven Allen
208a340eb1
Merge pull request #6686 from kishansagathiya/fix/typo
Fix typo
2019-09-30 07:27:45 -07:00
Kishan Mohanbhai Sagathiya
f0253dd108 Fix typo 2019-09-28 15:15:41 +05:30
Hector Sanjuan
c45ec19f37 Update go-libp2p-http (and go-libp2p-gostream)
Manually removed some newly-appeared // indirect imports as
they seem to just pollute the go.mod.
2019-09-27 16:14:27 -07:00
Steven Allen
0d0b4fc857 feat(systemd): extract socket activation logic 2019-09-27 16:09:17 -07:00
Steven Allen
37c19cc630 lint(systemd): remove dead code 2019-09-27 16:08:30 -07:00
Steven Allen
87f2e38017 systemd: add notify support
That way, we can reliably know when the daemon is ready.
2019-09-27 16:08:30 -07:00
Steven Allen
a4914a4478 systemd: merge API/gateway addresses
Instead of letting systemd override the configured addresses, merge them. This
is likely the "expected" behavior.
2019-09-27 16:08:30 -07:00
Steven Allen
1b05265862 cr: fix copy/paste error
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
6eb84227c6 cr: group related variables
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
429c4b537c implement systemd socket activation
License: MIT
Signed-off-by: Steven Allen <steven@stebalien.com>
2019-09-27 16:08:30 -07:00
Steven Allen
9ea7c6a111
Merge pull request #6677 from ipfs/dep/update
chore(dep): update everything
2019-09-27 16:07:42 -07:00
Steven Allen
2147f50240 test(sharness): fix circuit tests 2019-09-27 15:50:47 -07:00
Adin Schmahmann
f1cd629e2b pin ls returns the appropriate zero value if no pins are found. 2019-09-27 18:42:29 -04:00
Steven Allen
853ed0be5d chore: fix deprecation warnings 2019-09-26 15:38:12 -07:00
Steven Allen
9ee4adfc7c chore(dep): update everything
* multiaddr (fixes issues when the latest go-multiaddr is imported)
* libp2p (lots of fixes)
* prometheus
* gogo/protobuf

fixes #6676
2019-09-26 14:50:02 -07:00
Steven Allen
b347695610
Merge pull request #6681 from ipfs/feat/migrate-actions
github: migrate actions
2019-09-26 14:48:17 -07:00
Steven Allen
bc20d08b0f github: migrate actions 2019-09-26 14:16:49 -07:00