Commit Graph

12888 Commits

Author SHA1 Message Date
Feiran Yang
e93d6fbfb1
feat: warn user when 'pin remote add' while offline (#8621)
* feat: add warning message when the local node is offline for remote pinning

* feat: check is node is online

* feat: add test in t0700-remotepin.sh

* feat: use grep and fix the test

* fix: print to stdout only when --enc=text

This ensures we don't break JSON produced by --enc=json

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-02-15 17:19:53 -05:00
Manuel Alonso
edb32ac3d7
chore(gateway): debug logging for the http requests (#8518)
* chore(gateway): better logging for the http requests

* chore(gateway): removed defer and add more data to the final log

* chore(gateway): debug logging refactor

* chore(gateway): use debug w/o context when only msg

* doc: add cmd for log level

* chore: add more logs and address fedback

* chore(gateway): log subdomains and from=requestURI, refactor

* chore(gateway): fix debug redirect
2022-02-15 17:13:09 -05:00
odanado
0216bae307
docker: build for arm cpu (#8633)
ref: #4931
2022-02-15 16:54:47 -05:00
Steven Allen
62979db8f8
Merge pull request #8684 from ipfs/fix/faster-ci-gobuild
fix(ci): faster gobuild job
2022-02-11 17:17:40 -08:00
Adin Schmahmann
b1ffc870d5
feat: refactor Fetcher interface used for downloading migrations (#8728)
* feat: refactor Fetcher interface used for downloading migrations
* feat: add RetryFetcher for migration downloads
* feat: 3 retries for each HTTP migration download
2022-02-11 11:57:51 -08:00
Gus Eggert
4f3eb4cdd4 feat: log multifetcher errors
This is to make it easier to understand why the multifetcher is
falling back to a different fetcher.
2022-02-11 11:48:23 -05:00
Adin Schmahmann
ebf86718c8 chore: update go-path 2022-02-11 09:19:20 -05:00
Marcin Rataj
f9643a61d7
docs: optionalInteger|String|Duration (#8729) 2022-02-10 23:52:18 +01:00
Thibault Meunier
a93907a40f
feat: DNS.MaxCacheTTL for DNS-over-HTTPS resolvers (#8615)
* feat: Add MaxCacheTTL option for DNS-over-HTTPS resolvers
* Update libp2p/go-doh-resolver dependencies to support Options
* feat: Add `DNS.MaxCacheTTL` config documentation
* docs: DNS.MaxCacheTTL
* chore: go-ipfs-config@v0.19.0
Co-authored-by: Gus Eggert <gus@gus.dev>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-02-10 22:26:14 +01:00
Lucas Molas
a494f48a9d
feat(cmds): ipfs id: support --offline option (#8626)
* feat(cmds): ipfs id: add offline option
* docs: clarify why 'ipfs id <peer>' in offline mode

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-02-10 20:42:32 +01:00
dependabot[bot]
556c03848f
chore(deps): bump go.uber.org/zap from 1.19.1 to 1.21.0 (#8721)
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.19.1 to 1.21.0.
- [Release notes](https://github.com/uber-go/zap/releases)
- [Changelog](https://github.com/uber-go/zap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/zap/compare/v1.19.1...v1.21.0)

---
updated-dependencies:
- dependency-name: go.uber.org/zap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-10 11:54:23 -05:00
Lucas Molas
fe788cae98
feat(cmds): add cleartext PEM/PKCS8 for key import/export (#8616)
* feat(cmds): add PEM/PKCS8 for key import/export

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <gus@gus.dev>
2022-02-10 10:45:02 -05:00
Adin Schmahmann
cde79df140
Merge pull request #8713 from shushen/8700-example-updates
fix(docs/examples): update go.mod and CI tests
2022-02-03 01:59:00 -05:00
Shu Shen
012be8ae08 chore: bump to go-ipfs@0.11 in go-ipfs-as-a-library 2022-02-02 21:15:51 -08:00
Shu Shen
fcd3f4963f chore: test go-ipfs-as-a-library against both current and go.mod version 2022-02-02 21:15:51 -08:00
Marcin Rataj
4ad316803e
docs: update badger section in config.md (#8662)
This should fix the issue of users thinking badger
is "no-brainer faster choice" and then running into problems.

Co-authored-by: Johnny <9611008+johnnymatthews@users.noreply.github.com>
2022-01-28 23:22:26 +01:00
Marcin Rataj
32eb6e3176
fix(ci): faster gobuild job
this should make it take way less time without
the need for rewriting make cmd/ipfs-try-build
2022-01-19 19:23:05 +01:00
Marcin Rataj
bc7ddef8dc
fix(ci): interop test parallelism (#8674)
* fix(ci): interop test parallelism

It broke when require got replaced with modern import statement,
and CI run all tests four times.. every time.

* fix(ci): run interop with 2 vCPUs

We often have 3 processes (tests and 2 or more IPFS nodes)

* fix(ci): cache npm during interop

* fix(ci): run interop on 2xlarge

It is similar load as sharness, so let's use same beefy box

* fix(ci): enable ipfs-webui

it was skipping due to missing chromium binary

* fix(ci): force fresh npm cache during interop

Needed to pull-in @chainsafe/libp2p-noise@5.0.2
2022-01-17 19:14:23 +01:00
siiky
440394682a docs: fix typo 2022-01-14 11:36:03 -05:00
chblodg
562365f4fc Adding PowerShell to Minimal Go Installation
Separated CMD and PowerShell to add additional support.
2022-01-14 11:35:11 -05:00
Somajit
7e4fcbb324 Fixed typos in docs/config.md 2022-01-14 11:32:00 -05:00
Marcin Rataj
14046d0002
test: restore ipfs-interop (#8613)
* chore: ipfs@0.61.0

https://github.com/ipfs/js-ipfs/blob/master/packages/ipfs/CHANGELOG.md#0610-2021-12-15

* chore: ipfs-interop@8.0.0
2022-01-12 19:40:21 +01:00
Gus Eggert
2a871ef018
docs: add Snap note about customizing IPFS_PATH (#8584) 2022-01-06 08:58:33 -05:00
Steven Allen
91c5265716
Merge pull request #8625 from ipwhl/master
Fix typo
2021-12-26 20:35:07 -08:00
Nguyễn Gia Phong
6dfd2dafbf
Fix typo 2021-12-26 14:18:15 +07:00
Piotr Galar
4d94e19019
chore: use common ipfs/*-actions in sync-release-assets (#8609) 2021-12-15 15:56:50 +01:00
Adin Schmahmann
da35610c1c chore: update version to v0.13.0-dev 2021-12-13 17:53:22 -05:00
Adin Schmahmann
a04b68a641 chore: bump Go version to 1.16.12 2021-12-13 15:57:04 -05:00
Adin Schmahmann
1a040b016d
Merge pull request #6816 from ipfs/feat/mh-backed-datastore
feat: switch to raw multihashes for blocks
2021-12-13 15:37:16 -05:00
Adin Schmahmann
7fe56507b5 feat: bump repo version to 12 and update CID of the distributions 2021-12-13 14:48:02 -05:00
Gus Eggert
deb79a2587
chore: add release template snippet for fetching artifact tarball 2021-12-09 15:47:44 -05:00
Adin Schmahmann
949ebe3ddf chore: bump Go version to 1.16.11 2021-12-09 12:07:32 -05:00
Adin Schmahmann
9913183038 chore: update go-ipfs-blockstore 2021-12-09 12:07:09 -05:00
Gus Eggert
007921b900 chore: add release steps for upgrading Go 2021-12-09 11:24:02 -05:00
Gus Eggert
6fb73c45a2
Merge branch 'release' 2021-12-08 19:08:49 -05:00
Gus Eggert
4a44edc9fa
Merge branch 'master' into release 2021-12-08 19:08:42 -05:00
Adin Schmahmann
67220edaae
Merge pull request #8597 from ipfs/release-v0.11.0
Release v0.11.0
2021-12-08 16:32:58 -05:00
Adin Schmahmann
4ec7aecc0c Release v0.11.0 2021-12-08 15:17:24 -05:00
Adin Schmahmann
b49e328e6a docs: update changelog for v0.11.0 2021-12-08 15:17:24 -05:00
Adin Schmahmann
ebb7356266 chore: update go-ipld-prime
(cherry picked from commit 615fb80d37)
2021-12-08 15:17:24 -05:00
Adin Schmahmann
615fb80d37 chore: update go-ipld-prime 2021-12-08 12:46:03 -05:00
Petar Maymounkov
8cfc88961d
chore: verify checksums during dist.ipfs.io sync (#8587)
* only copy files from dist.ipfs.io which have associated checksum files (also copy the checksum files)
* verify checksums before copying
* also, ignore path from sha512sum output, which sometimes has absolute path on dist.ipfs.io website

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-12-07 16:45:42 -08:00
Steven Allen
cdb76adff7 test: fix CIDs in repo gc sharness tests 2021-12-07 13:00:39 -08:00
Adin Schmahmann
50abfad5cc fix: reenable some gc tests 2021-12-07 15:02:44 -05:00
Marcin Rataj
7026952c71 fix(ci): dist.ipfs.io sync preserving binaries
tar.gz got mangled because of reasons known to github,
this does the correct upload every time by forcing github to interpret
payload as an opaque stream of bytes without anything fancy
2021-12-06 15:00:44 -05:00
Adin Schmahmann
9a31ad51c4 Release v0.11.0-rc2 2021-12-03 15:47:56 -05:00
Gus Eggert
fc97cd02fb fix: update go-ds-flatfs to v0.5.1
Fixes #8579

(cherry picked from commit 024e84adec)
2021-12-03 15:47:56 -05:00
Lucas Molas
042efd3982 fix(corehttp): adjust peer counting metrics (#8577)
(cherry picked from commit 9d197ca732)
2021-12-03 15:47:56 -05:00
Gus Eggert
024e84adec fix: update go-ds-flatfs to v0.5.1
Fixes #8579
2021-12-03 15:08:41 -05:00
Lucas Molas
9d197ca732
fix(corehttp): adjust peer counting metrics (#8577) 2021-12-02 17:03:00 -08:00