Commit Graph

12905 Commits

Author SHA1 Message Date
Will
bfa9d3db99
feat(cmd): add silent option for repo gc (#7147)
* feat(cmd): add silent option repo gc command

closes #7129

* test(cmd): add test case for silent option for command repo gc
* fix: no emit on server with --silent

This removes unnecessary send to the client that does not care

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-02-18 22:29:32 +01:00
Adin Schmahmann
9f6cd22ba4 docs(changelog): update v0.12.0 release notes
Add line to the breaking changes section indicating that there's a new version of ipfs-update needed to install go-ipfs v0.12.0
2022-02-18 14:38:09 -05:00
Adin Schmahmann
b565374f7e Merge branch 'release' 2022-02-18 14:20:14 -05:00
Piotr Galar
33423625c7
fix(ci): testground workflow hanging indefinitely (#8741)
* ci: set timeout on testground job
* ci: use testground action which exits early on scheduling failures

Note: this will be continued in https://github.com/ipfs/go-ipfs/issues/8731
2022-02-18 18:25:46 +01:00
Adin Schmahmann
06191dfef3
Merge pull request #8743 from ipfs/release-v0.12.0
Release v0.12.0
2022-02-17 22:24:46 -05:00
Adin Schmahmann
dd7737b931 Release v0.12.0 2022-02-17 21:24:42 -05:00
Adin Schmahmann
51773ac3db docs: v0.12.0 release notes 2022-02-17 21:24:42 -05:00
Adin Schmahmann
815e64f4a6 chore: bump migrations dist.ipfs.io CID to contain fs-repo-11-to-12 v1.0.2 2022-02-17 21:24:42 -05:00
Adin Schmahmann
bf76ebe667 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

(cherry picked from commit b1ffc870d5)
2022-02-17 21:24:42 -05:00
Gus Eggert
418bc6e709 feat: log multifetcher errors
This is to make it easier to understand why the multifetcher is
falling back to a different fetcher.

(cherry picked from commit 4f3eb4cdd4)
2022-02-17 21:24:42 -05:00
Marcin Rataj
db85387c67 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

(cherry picked from commit 14046d0002)
2022-02-17 21:24:42 -05:00
dependabot[bot]
5922eab08f
chore(deps): bump go.uber.org/fx from 1.15.0 to 1.16.0 (#8681)
Bumps [go.uber.org/fx](https://github.com/uber-go/fx) from 1.15.0 to 1.16.0.
- [Release notes](https://github.com/uber-go/fx/releases)
- [Changelog](https://github.com/uber-go/fx/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uber-go/fx/compare/v1.15.0...v1.16.0)

---
updated-dependencies:
- dependency-name: go.uber.org/fx
  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-16 09:16:30 -05:00
Volker Mische
a049ba9d17
fix: installation without sudo (#8715)
* fix: installation without sudo

I think it's good practice that users don't need to run `sudo`
to install something just to try it out. With this change, the
local bin directory is tried first, which usually is also in the
`PATH`. This way the installation script can be run without
`sudo` and should still work.

* fix: try local path last and support spaces in $HOME

Try the `$HOME/.local/bin` path last, so that the script is backwards
compatible. Also make sure that it works even if there are spaces in
the directory set by `$HOME`.
2022-02-16 08:54:29 -05:00
Dimitris Apostolou
b2efcf5ce3
Fix typos (#8726) 2022-02-15 18:50:09 -05:00
Nato Boram
ef63822ef0
fix(build): Recognize Go Beta versions in makefile (#8677)
* 🩹 Fix building with beta Go versions

* ✏️ Use `[:space:]` to be more canonical
2022-02-15 17:47:48 -05:00
Lucas Molas
898065e09c
chore(cmds): encapsulate ipfs rm logic in another function (#8574) 2022-02-15 17:30:47 -05:00
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
8a88718ea4 Release v0.12.0-rc1 2021-12-13 16:52:07 -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