Commit Graph

12597 Commits

Author SHA1 Message Date
guseggert
74633ca8a9 fix: fix bifrost typo in comment 2021-08-26 20:07:52 +00:00
guseggert
3e49bb16b4 ci: publish Docker images for bifrost-* branches 2021-08-26 20:07:52 +00:00
guseggert
ae09459e39 chore: add comments to peerlog plugin about being unsupported
and also about the ugly config semantics
2021-08-25 19:02:51 +00:00
guseggert
c3ac1b4282 test: add unit tests for peerlog config parsing 2021-08-25 19:02:51 +00:00
guseggert
a35dd2ea0d ci: preload peerlog plugin, disable by default
This preloads the peerlog plugin in the ipfs binary, but keeps it
disabled by default. To enabled it, set Enabled=true in its config.

The motivation is to simplify building and deploying gateways, and for
them to use binaries that are more similar to release bins.
2021-08-25 19:02:51 +00:00
Steven Allen
4e132af3ef fix(mkreleaselog): specify the parent commit when diffing
Specifically, if you specify a commit, you get only that commit. This
means you get _nothing_ if you specify a merge commit.

Now, we specify to diff between a commit and it's (merge) parent.
2021-08-23 17:04:51 -04:00
Adin Schmahmann
3dcf651428 update version to v0.11.0-dev 2021-08-23 11:21:54 -04:00
Adin Schmahmann
0bd3d068f6 chore: update deps 2021-08-19 16:50:59 -04:00
Adin Schmahmann
956c24856d
Merge pull request #8354 from ipfs/udpate-libp2p
update go-libp2p to v0.15.0-rc.1
2021-08-19 16:12:54 -04:00
Marten Seemann
c95d6ca08c update go-libp2p to v0.15.0-rc.1 2021-08-19 18:05:04 +02:00
Marten Seemann
b2b8f3866b use a ConnectionManager for filtering addresses 2021-08-19 18:04:48 +02:00
Cory Schwartz
7db27bf83a
feat: add 'ipfs multibase' commands (#8180)
* add multibase helper commands (encode, decode, list)

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-08-18 16:48:39 -04:00
Adin Schmahmann
7448340d20
support bitswap configurability (#8268)
* feat: extract Bitswap fx initialization to its own file
* chore: bump go-bitswap dependency
* feat: bump go-ipfs-config dependency and utilize the new Internal.Bitswap configuration options. Add documentation around the new OptionalInteger config type as well as the Internal.Bitswap options.
* docs(docs/config.md): move the table of contents towards the top of the document and update it

Co-authored-by: Petar Maymounkov <petarm@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Gus Eggert <877588+guseggert@users.noreply.github.com>
2021-08-18 14:15:16 -04:00
Gus Eggert
a7e2c23c2d ci: use Go 1.16.7 in .circleci/config.yml 2021-08-18 17:36:31 +00:00
Hannah Howard
f63a997c35
IPLD Prime In IPFS: Target Merge Branch (#7976)
* feat: switch to using go-ipld-prime for codecs, path resolution, and the `dag put/get` commands
* fix: `dag put/get` not roundtripping due to an extra new line being added (https://github.com/ipfs/go-ipfs/issues/3503)

More detailed information is in the CHANGELOG.md file. Very high level:
* IPLD codecs (and their plugins) must use go-ipld-prime
* Added support for the dag-json codec
* `dag get/put` use IPLD codec names from the multicodec table
* `dag get` defaults to dag-json output instead of json, but may output with other codecs
* Data model pathing can be achieved using the /ipld prefix. For example, you can use `/ipld/QmFoo/Links/0/Hash` to traverse through a DagPB node
* With `dag get/put` the DagPB field names have been changed to match the ones in the protobuf listed in the specification

Co-authored-by: hannahhoward <hannah@hannahhoward.net>
Co-authored-by: Daniel Martí <mvdan@mvdan.cc>
Co-authored-by: acruikshank <acruikshank@example.com>
Co-authored-by: Steven Allen <steven@stebalien.com>
Co-authored-by: Will Scott <will.scott@protocol.ai>
Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Rod Vagg <rod@vagg.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
Co-authored-by: Eric Myhre <hash@exultant.us>
2021-08-17 13:32:49 -04:00
Gus Eggert
360aff45a7
Merge pull request #8324 from ipfs/update-go-on-ci-guseggert
ci: upgrade to Go 1.16.7 on CI
2021-08-17 16:34:29 +00:00
Gus Eggert
70b3882e5a Use Go 1.16.7 2021-08-17 12:20:50 -04:00
Gus Eggert
679c004a46 Merge branch 'master' into update-go-on-ci-guseggert 2021-08-16 15:24:34 -04:00
Steven Allen
299fc0b725
Merge pull request #8340 from jbouwman/files-cp-parent
Add flag to create parent directories in files cp command
2021-08-14 10:29:05 -07:00
Jesse Bouwman
0af19abe6b Verify creation of file created by cp -p 2021-08-14 09:38:33 -07:00
Jesse Bouwman
ff3fff107b Clean up after cp -p test 2021-08-14 09:34:47 -07:00
Jesse Bouwman
148fe42ebb
Merge branch 'ipfs:master' into files-cp-parent 2021-08-14 07:51:24 -07:00
Gus Eggert
ef1703c07f Increase Make job parallelism to 10 2021-08-13 21:27:41 -04:00
Jesse Bouwman
0d87b474c1 Add test for ipfs files cp -p 2021-08-13 17:21:30 -07:00
Steven Allen
7c76118b0b
Merge pull request #8318 from ipfs/fix/path-panic
fix: avoid out of bounds error when rendering short hashes
2021-08-13 14:54:25 -07:00
Steven Allen
34be171765
Merge pull request #8296 from ipfs/fix/deprecated
fix: remove some deprecated calls
2021-08-13 14:43:58 -07:00
Steven Allen
a945a9d501
Merge pull request #8244 from Lasiar/perf/swarm/set-capacity
perf: set an appropriate capacity
2021-08-13 14:43:30 -07:00
Steven Allen
1156e2203b
Merge pull request #8338 from ipfs/dependabot/go_modules/go.uber.org/zap-1.19.0
build(deps): bump go.uber.org/zap from 1.16.0 to 1.19.0
2021-08-13 14:39:27 -07:00
Steven Allen
6e0f0847bb
Merge pull request #8331 from TakashiMatsuda/fix/node-peering
Fix: Use a pointer type on IpfsNode.Peering
2021-08-13 14:38:25 -07:00
Steven Allen
2138798ea5 fix: remove some deprecated calls 2021-08-13 14:09:43 -07:00
Gus Eggert
b3f1d65af4 Revert "Disable MAKE_SKIP_PATH"
This reverts commit f0ae6e3417.
2021-08-13 16:38:24 -04:00
Gus Eggert
e162f1afb3 Revert "Remove MAKE_SKIP_PATH test"
This reverts commit 98d2739f45.
2021-08-13 16:37:09 -04:00
Gus Eggert
c40f8d1c80 Update Docker Go version to 1.16.6 2021-08-13 16:33:55 -04:00
Gus Eggert
3a7eaaf7eb Revert "Remove MAKE_SKIP_PATH, update Dockerfile base image"
This reverts commit d3468407aa.
2021-08-13 16:33:31 -04:00
Gus Eggert
4ebec49985 use 2xlarge resource class 2021-08-13 16:02:44 -04:00
Gus Eggert
c1339c8321 save PATH to .bashrc instead of $BASH_ENV 2021-08-13 16:02:36 -04:00
Gus Eggert
5c0061e240 Fix space constant 2021-08-13 16:02:23 -04:00
Marcin Rataj
6e610066f6
fix: macos notarized fs-repo-migrations (#8333)
Uses: https://github.com/ipfs/distributions/pull/381
Closes #8240
2021-08-12 18:52:23 +02:00
Jesse Bouwman
c2e6a22bba Restore dropped error condition check 2021-08-12 09:40:24 -07:00
Jesse Bouwman
155435cb35 Add flag to create parent directories in files cp command
Closes #8289
2021-08-12 09:23:39 -07:00
dependabot[bot]
88367e38e7
build(deps): bump go.uber.org/zap from 1.16.0 to 1.19.0
Bumps [go.uber.org/zap](https://github.com/uber-go/zap) from 1.16.0 to 1.19.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.16.0...v1.19.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>
2021-08-12 11:26:26 +00:00
Steven Allen
9398d80878
Merge pull request #8220 from ShadSterling/patch-1
README.md: Add MacPorts to install section
2021-08-10 09:47:22 -07:00
Gus Eggert
0e73e23567
Merge pull request #8332 from ipfs/feat/first-block-metric
feat: register first block metric by default
2021-08-09 17:08:46 +00:00
Adrian Lanzafame
02823935aa feat: register first block metric by default 2021-08-07 15:48:22 -04:00
Takashi Matsuda
44f5b8b274 use a pointer type on node.Peering for mutex 2021-08-07 15:51:05 +09:00
Gus Eggert
64df3ea004
Merge pull request #8142 from ipfs/ci-build-docker-with-plugins
Build a go-ipfs:extras docker image
2021-08-05 20:46:12 +00:00
Gus Eggert
499b596efa Merge branch 'master' into ci-build-docker-with-plugins 2021-08-05 16:10:00 -04:00
Gus Eggert
d3468407aa Remove MAKE_SKIP_PATH, update Dockerfile base image 2021-08-03 14:23:58 -04:00
Steven Allen
e9b1e2d6fb
Merge pull request #8266 from Lasiar/fix/go-ipfs-as-a-library
fix/go-ipfs-as-a-library
2021-08-03 09:15:47 -07:00
lasiar
d00e9656ac refactor(as-a-library): change comment with default path repo 2021-08-03 08:46:16 -07:00