Commit Graph

367 Commits

Author SHA1 Message Date
gammazero
0942e3be66 rebase and resolve conflicts 2021-01-29 14:03:29 -08:00
gammazero
e37d08f210 Migration downloads individual migration binaries
The code in this PR finds the necessary mirgations, downloads the latest version of them from the distribution site, unpacks the executables, and runs the migrations in order.

This code is also used to build the ipfs-update tool and the fs-repo-migrations tool.  Note: the fs-repo-migrations tool is only used to run stand-alone migrations now and is not used by either go-ipfs or ipfs-update.

Additional utility is provided by this PR, that is not specific to migrations:
- Find local ipfs directory
- Get current repo version
- Check for ipfs daemon availability
- Get version information about any distribution on distribution site
- Fetch and unpack any binary executable over ipfs or http
2021-01-29 13:10:44 -08:00
Adin Schmahmann
8ed9ffd3a6
Merge pull request #7862 from ipfs/dependabot/go_modules/github.com/stretchr/testify-1.7.0
chore(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
2021-01-28 19:07:00 -05:00
Adin Schmahmann
e5bf4e6c6b
Merge pull request #7861 from ipfs/dependabot/go_modules/github.com/gogo/protobuf-1.3.2
chore(deps): bump github.com/gogo/protobuf from 1.3.1 to 1.3.2
2021-01-28 18:59:33 -05:00
Petar Maymounkov
8794928c31
add remote pinning policy for mfs (#7798)
* remote pinning service MFS policy
* update go-ipfs-config
* hardening secret sanitization in `ipfs config` commands

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2021-01-28 18:58:44 -05:00
dependabot-preview[bot]
a2f960c12e chore(deps): bump github.com/stretchr/testify from 1.6.1 to 1.7.0
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 18:22:00 -05:00
dependabot-preview[bot]
eb894dca7b chore(deps): bump github.com/gogo/protobuf from 1.3.1 to 1.3.2
Bumps [github.com/gogo/protobuf](https://github.com/gogo/protobuf) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/gogo/protobuf/releases)
- [Commits](https://github.com/gogo/protobuf/compare/v1.3.1...v1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 18:14:16 -05:00
dependabot-preview[bot]
50f066f05e chore(deps): bump github.com/ipfs/go-graphsync from 0.5.2 to 0.6.0
Bumps [github.com/ipfs/go-graphsync](https://github.com/ipfs/go-graphsync) from 0.5.2 to 0.6.0.
- [Release notes](https://github.com/ipfs/go-graphsync/releases)
- [Changelog](https://github.com/ipfs/go-graphsync/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/go-graphsync/compare/v0.5.2...v0.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-28 15:33:05 -05:00
Adin Schmahmann
b0ff6dbd41
Merge pull request #7859 from ipfs/dependabot/go_modules/github.com/libp2p/go-libp2p-pubsub-0.4.1
chore(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.4.0 to 0.4.1
2021-01-27 15:49:54 -05:00
Adin Schmahmann
8f3ae679ba
Merge pull request #7884 from ipfs/chore/update-pinner-dep
chore: update go-ipfs-pinner dep
2021-01-27 15:49:10 -05:00
gammazero
d2442956a4 Update deps to latest pinner 2021-01-27 11:57:01 -08:00
dependabot-preview[bot]
1e260f2f9d chore(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.4.0 to 0.4.1
Bumps [github.com/libp2p/go-libp2p-pubsub](https://github.com/libp2p/go-libp2p-pubsub) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub/compare/v0.4.0...v0.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-27 14:51:25 -05:00
Adin Schmahmann
b9b15feebf
Merge pull request #7822 from ipfs/dependabot/go_modules/github.com/ipfs/go-graphsync-0.5.2
chore(deps): bump github.com/ipfs/go-graphsync from 0.5.1 to 0.5.2
2021-01-27 12:43:22 -05:00
Adin Schmahmann
a95a86ed54 feat: ipfs pin remote ls commands are comma delimited on the CLI only 2021-01-27 12:07:44 -05:00
Adin Schmahmann
651e3ccafd
Merge pull request #7807 from ipfs/fix/broken-cidv0-ux
fix: improved error message on broken CIDv0
2021-01-14 15:31:39 -05:00
dependabot-preview[bot]
26c569a0bc chore(deps): bump github.com/ipfs/go-graphsync from 0.5.1 to 0.5.2
Bumps [github.com/ipfs/go-graphsync](https://github.com/ipfs/go-graphsync) from 0.5.1 to 0.5.2.
- [Release notes](https://github.com/ipfs/go-graphsync/releases)
- [Changelog](https://github.com/ipfs/go-graphsync/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ipfs/go-graphsync/compare/v0.5.1...v0.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-13 16:35:37 -05:00
Marcin Rataj
f31d9b1e72
fix: improved error message on broken CIDv0
Closes #7792
2021-01-07 20:09:21 +01:00
Marten Seemann
fcdf77c9b0 update go-libp2p to v0.13.0 2020-12-19 16:16:00 +07:00
dependabot-preview[bot]
2ab79fa65b chore(deps): bump go.opencensus.io from 0.22.4 to 0.22.5
Bumps [go.opencensus.io](https://github.com/census-instrumentation/opencensus-go) from 0.22.4 to 0.22.5.
- [Release notes](https://github.com/census-instrumentation/opencensus-go/releases)
- [Commits](https://github.com/census-instrumentation/opencensus-go/compare/v0.22.4...v0.22.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 10:15:18 -05:00
Adin Schmahmann
828007531f
Merge pull request #7813 from ipfs/chore/update-deps
chore: update dht
2020-12-08 21:26:56 -05:00
Adin Schmahmann
78c6dba9cc
Merge pull request #7593 from lanzafame/register-oc-metrics
Register oc metrics
2020-12-08 21:10:36 -05:00
Adin Schmahmann
246ec027b6 chore: update dht 2020-12-08 20:40:45 -05:00
Petar Maymounkov
a8c7980721
add remote pinning to ipfs command (#7661)
Added support for remote pinning services

A pinning service is a service that accepts CIDs from a user in order to host the data associated with them.
The spec for these services is defined at https://github.com/ipfs/pinning-services-api-spec

Support is available via the `ipfs pin remote` CLI and the corresponding HTTP API

Co-authored-by: Petar Maymounkov <petarm@gmail.com>
Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2020-12-08 20:32:33 -05:00
lanzafame
3d9821260a register quic opencensus metrics 2020-12-08 20:22:38 -05:00
Adin Schmahmann
79d96815a8 chore: update deps 2020-12-08 16:57:01 -05:00
Adin Schmahmann
0b1276db59 Use datastore based pinner 2020-12-04 15:33:31 -05:00
Marten Seemann
9a1f4dd5cc update QUIC 2020-12-04 12:21:09 +07:00
Marten Seemann
59a90b4d49 update QUIC to quic-go v0.19.2 2020-11-20 11:58:43 +07:00
Steven Allen
5cd013ed38 update libp2p for stream closure refactor 2020-11-13 13:59:03 -08:00
Marten Seemann
9675c2fdd1 update QUIC 2020-10-08 20:24:24 +07:00
Fazlul Shahriar
cac753bb18
fix build on Plan 9
Fixes #7575
Fixes #7671
2020-09-23 22:27:01 -04:00
Adin Schmahmann
491b88a6eb chore: bump go-ipfs-cmds 2020-09-09 18:15:27 -04:00
Adin Schmahmann
ba1d225212 fix: ipfs dht put/get commands now work on keys encoded as peerIDs and fail early for namespaces other than /pk or /ipns 2020-08-30 02:16:15 -04:00
Adin Schmahmann
38da1cc991
Merge pull request #7625 from ipfs/fix/7624-do-not-fetch-on-pin-ls
Fix #7624: Do not fetch dag nodes when checking if a pin exists
2020-08-26 14:50:18 -04:00
Adin Schmahmann
077e3e0648 chore: bump go-path 2020-08-26 14:35:52 -04:00
dependabot-preview[bot]
b542da46f5
chore(deps): bump github.com/libp2p/go-libp2p-pubsub from 0.3.4 to 0.3.5
Bumps [github.com/libp2p/go-libp2p-pubsub](https://github.com/libp2p/go-libp2p-pubsub) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/libp2p/go-libp2p-pubsub/releases)
- [Commits](https://github.com/libp2p/go-libp2p-pubsub/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 11:27:48 +00:00
Adin Schmahmann
2ecde1a18c chore: update dht and kbucket 2020-08-25 21:13:18 -04:00
Adin Schmahmann
af90822262 chore: update quic 2020-08-25 20:07:54 -04:00
Adin Schmahmann
18013a3bfc chore: update deps 2020-08-25 20:07:51 -04:00
Adin Schmahmann
b88bdfeb9d chore: update go-multiaddr and go-multiaddr-net 2020-08-25 15:24:48 -04:00
Peter Rabbitson
90a573354a Upgrade graphsync deps 2020-08-17 12:23:59 +02:00
Adin Schmahmann
692e9f59ff refactor: get rid of cmdDetails awkwardness 2020-08-04 18:28:40 -04:00
Petar Maymounkov
e384b5964a IPNS format keys in b36cid 2020-08-04 00:18:29 -04:00
Petar Maymounkov
086ea33827 update libp2p deps 2020-08-03 17:53:19 -04:00
Marten Seemann
be171d5e3c update QUIC, enable the RetireBugBackwardsCompatibilityMode 2020-07-20 10:29:43 -04:00
Petar Maymounkov
4674f770b7 Choosable key types at initialization
* add support for choosing a peer key type (e.g. RSA or Ed25519) when initializing the repo
* test all variants of ipfs init: RSA, Ed25519 and default
* update subdomain gateway sharness test to publish IPNS using RSA and
Ed25519 keys
* use default identity bit lengths defined in config repo instead of
having separate defaults in go-ipfs
* update config repo dependency

Co-authored-by: Will Scott <will@cypherpunk.email>
Co-authored-by: Petar Maymounkov <petarm@gmail.com>
2020-07-14 14:42:49 -04:00
Petar Maymounkov
b3e5ffc41a
feat: add flag to ipfs key and list to output keys in b36/CIDv1 (#7531)
* add flag to "ipfs key gen" to output keys in b36 CIDv1
* add flag to "ipfs key list" to output keys in b36 CIDv1
* add and modify corresponding sharness tests
2020-07-13 12:08:34 -04:00
Marten Seemann
8b235cf47a update QUIC 2020-07-02 14:57:34 +07:00
Adin Schmahmann
19d6230cde Merge branch 'release' into master 2020-06-19 20:04:30 -04:00
Steven Allen
e164af1f2a feat: add a transport config section
This way, users can disable transports (especially QUIC), and set muxer/security
transport priorities.
2020-06-16 15:15:47 -07:00