Commit Graph

13469 Commits

Author SHA1 Message Date
Marcin Rataj
d30e71fa5a fix: kubo in daemon and cli stdout 2022-07-20 16:26:49 +02:00
Steve Loeppky
639155c732
docs(readme): move content to docs website (#9102)
- point towards other implementations.
- add a link to a future ipfs-implementations doc
- link to IPFS in GO docs

Co-authored-by: Marcin Rataj <lidel@lidel.org>
2022-07-20 15:53:41 +02:00
Marcin Rataj
a6687744c7 fix(gw): no backlink when listing root dir
Closes #9071
2022-07-18 23:35:44 +00:00
Marcin Rataj
839b0848ae fix(ci): ipfs-webui test
- ipfs-webui requires node =16.12.0
  https://app.circleci.com/pipelines/github/ipfs/kubo/7228/workflows/528ee100-ccc9-4e9c-8bb4-46cdbbe4e306/jobs/78516
- use package-lock.json for deterministic build
2022-07-08 23:18:17 +02:00
Marcin Rataj
fbb496b623 docs(changelog): v0.14 rename and breaking changes 2022-07-08 22:11:10 +02:00
Antonio Navarro Perez
93847da2e7
fix: Add routing command to subcommands help list. 2022-07-08 17:51:03 +02:00
Marcin Rataj
506ecdf862 fix: kubo-source.tar.gz on dist.ipfs.io
Closes https://github.com/ipfs/distributions/issues/737
2022-07-08 15:23:07 +02:00
dependabot[bot]
5e9f2df0dd build(deps): bump github.com/fsnotify/fsnotify from 1.5.1 to 1.5.4
Bumps [github.com/fsnotify/fsnotify](https://github.com/fsnotify/fsnotify) from 1.5.1 to 1.5.4.
- [Release notes](https://github.com/fsnotify/fsnotify/releases)
- [Changelog](https://github.com/fsnotify/fsnotify/blob/main/CHANGELOG.md)
- [Commits](https://github.com/fsnotify/fsnotify/compare/v1.5.1...v1.5.4)

---
updated-dependencies:
- dependency-name: github.com/fsnotify/fsnotify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-07 23:36:42 +02:00
Jorropo
cbb9aeec49 chore: update go-multibase 🚀
This add supports for base256emoji.
2022-07-07 23:29:47 +02:00
Antonio Navarro Perez
92c4dc61a8
feat(routing): Delegated Routing (#8997)
* Delegated Routing.

Implementation of Reframe specs (https://github.com/ipfs/specs/blob/master/REFRAME.md) using go-delegated-routing library.

* Requested changes.

* Init using op string

* Separate possible ContentRouters for TopicDiscovery.

If we don't do this, we have a ciclic dependency creating TieredRouter.
Now we can create first all possible content routers, and after that,
create Routers.

* Set dht default routing type

* Add tests and remove uneeded code

* Add documentation.

* docs: Routing.Routers

* Requested changes.

Signed-off-by: Antonio Navarro Perez <antnavper@gmail.com>

* Add some documentation on new fx functions.

* Add changelog entry and integration tests

* test: sharness for 'dht' in 'routing' commands

Since 'routing' is currently the same as 'dht' (minus query command)
we need to test both, that way we won't have unnoticed divergence
in the default behavior.

* test(sharness): delegated routing via reframe URL

* Add more tests for delegated routing.

* If any put operation fails, the tiered router will fail.

* refactor: Routing.Routers: Parameters.Endpoint

As agreed  in https://github.com/ipfs/kubo/pull/8997#issuecomment-1175684716

* Try to improve CHANGELOG entry.

* chore: update reframe spec link

* Update go-delegated-routing dependency

* Fix config error test

* use new changelog format

* Remove port conflict

* go mod tidy

* ProviderManyWrapper to ProviderMany

* Update docs/changelogs/v0.14.md

Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>

Co-authored-by: Marcin Rataj <lidel@lidel.org>
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-07 17:10:25 -04:00
Jorropo
24b8dd5ab0 chore: changelogs split
Closes #8976
2022-07-07 19:44:01 +02:00
Marcin Rataj
58aaee00f8 feat(gw): Cache-Control: only-if-cached
This implements the only-if-cached behavior documented in specs:
https://github.com/ipfs/specs/blob/main/http-gateways/PATH_GATEWAY.md#cache-control-request-header
https://github.com/ipfs/specs/blob/main/http-gateways/PATH_GATEWAY.md#only-if-cached-head-behavior
2022-07-07 08:49:26 +02:00
Russell Dempsey
fbd65e0c8d chore(deps): webui v2.15.1
https://github.com/ipfs/ipfs-webui/releases/tag/v2.15.1
2022-07-07 01:45:19 +02:00
Marcin Rataj
9ce802f28c
Merge pull request #9098 from ipfs/fix/post-rename-papercuts
Follow-ups after repository rename
Context: https://github.com/ipfs/kubo/issues/8959
2022-07-06 23:59:41 +02:00
Marcin Rataj
8565bbb75c
refactor: kubo in ./docs 2022-07-06 23:45:25 +02:00
Marcin Rataj
91e6451419 refactor: kubo in snap docs 2022-07-06 23:44:38 +02:00
Marcin Rataj
7aced61a6e refactor: kubo in .github/workflows 2022-07-06 23:08:31 +02:00
Marcin Rataj
b3808a278c refactor: kubo in .github/ISSUE_TEMPLATE 2022-07-06 23:08:31 +02:00
Marcin Rataj
4c965fc603 fix: kubo in AgentVersion 2022-07-06 23:08:31 +02:00
Marcin Rataj
c9b8fbdbef chore: kubo in .circleci/main.yml 2022-07-06 23:08:31 +02:00
Marcin Rataj
9dbc9dfeb2 fix(cmds): use kubo in CheckVersionOption
Using both names to avoid dev problems during the transition from go-ipfs 0.13 to kubo 0.14
2022-07-06 23:08:31 +02:00
Daniel N
e5f63393ff docs: refine wording 2022-07-06 22:47:07 +02:00
Daniel N
d323189598 docs: refine the wording of provider strategies 2022-07-06 22:47:07 +02:00
Marcin Rataj
ab25bce1e7 fix(ci): run sharness on bigger box 2022-07-06 19:26:27 +02:00
Marcin Rataj
d82dec3248
Merge pull request #8958 from ipfs/chore/rename-to-kubo
refactor: rename to kubo

see: https://github.com/ipfs/kubo/issues/8959
2022-07-06 19:00:11 +02:00
Marcin Rataj
3417ed466f docs: kubo description from dist.ipfs.io
:-)
2022-07-06 18:40:39 +02:00
Marcin Rataj
b9240fe432 refactor(docker): publish images under both names
This ensures we keep publishing the same image under both names:

    $ ./bin/get-docker-tags.sh $(date -u +%F) 88d88158c master                                                                                                                                 ...chore/rename-to-banana
    ipfs/kubo:master-2022-06-21-88d8815
    ipfs/go-ipfs:master-2022-06-21-88d8815
    ipfs/kubo:master-latest
    ipfs/go-ipfs:master-latest
2022-07-06 18:40:39 +02:00
Marcin Rataj
5cb572660d docs(readme): rename to kubo
some things like third party package names, docker image etc need to
stay as go-ipfs for now
2022-07-06 18:40:39 +02:00
Marcin Rataj
82467bc936 refactor: rename to kubo 2022-07-06 18:40:37 +02:00
Marcin Rataj
289e465f05 fix: correct cache-control in car responses
Context: https://github.com/ipfs/specs/pull/295
2022-07-06 18:34:12 +02:00
Jorropo
90b48db172
Merge pull request #9094 from ipfs/Jorropo/temp-1
chore: merge v0.13.1 back into master (correctly this time)

#9093 but not squashed
2022-07-06 17:42:47 +02:00
Jorropo
df34bad3c7
docs: v0.13.1 (#9093)
Co-authored-by: Adin Schmahmann <adin.schmahmann@gmail.com>
2022-07-06 17:32:59 +02:00
Jorropo
db88daf584 chore: resolve go.mod conflicts with master 2022-07-06 17:20:25 +02:00
Jorropo
57d54624ea chore: reset version number back to v0.14.0-dev 2022-07-06 17:18:13 +02:00
Adin Schmahmann
8ffc7a8a6c
Merge pull request #9092 from ipfs/release-v0.13.1
Release v0.13.1
2022-07-06 09:57:25 -04:00
Jorropo
1b60d07d6c chore: bump version number to v0.13.1 2022-07-06 09:45:21 -04:00
Jorropo
af27e43632 chore: Add release notes for 0.13.1 2022-07-06 09:45:21 -04:00
Jorropo
bc4f854ade chore: update go-car
(cherry picked from commit cbf5fdae55)
2022-07-06 09:45:21 -04:00
Adin Schmahmann
1efa29d956
Merge pull request #9089 from Jorropo/chore/update-car
chore: update go-car
2022-07-06 09:41:53 -04:00
Jorropo
cbf5fdae55 chore: update go-car 2022-07-06 15:30:29 +02:00
Adin Schmahmann
123f1f61e0
Merge pull request #9038 from ipfs/update-libp2p-v020
update go-libp2p to v0.20.3
2022-06-30 15:21:23 -04:00
Marco Munizaga
d5a7552014 Go mod tidy 2022-06-28 21:21:12 -07:00
Marco Munizaga
9dcc4e224e Update go-libp2p and go-multistream 2022-06-28 14:46:33 -07:00
Marcin Rataj
b6ded334ec
docs: add SECURITY.md (#9062)
* docs: add SECURITY.md

This moves existing security policy from README to SECURITY.md
which has a special meaning on Github:
https://docs.github.com/en/code-security/getting-started/adding-a-security-policy-to-your-repository

* style: editoral fix

Co-authored-by: Steve Loeppky <biglep@protocol.ai>
2022-06-28 18:51:37 +02:00
GitHub
862ce6bb8f Update .github/workflows/stale.yml 2022-06-27 10:45:42 +00:00
Marcin Rataj
61f0710100
fix: remove mdns_legacy & Discovery.MDNS.Interval
* fix: remove mdns_legacy

We've been running both implementations for a long, long time.
It is time to remove legacy version and lower the number of LAN packets
IPFS node produces.

See https://github.com/ipfs/go-ipfs/pull/9048#discussion_r906814717
for the Interval removal rational.
2022-06-27 04:17:40 +02:00
Jorropo
6602dd704e
refactor: prealloc slices with known sizes (#8892)
Often those are small slices and that cuts down the number
of (small) allocations from 2~7 to 1. 
This is consistent too, always only gets 1.
2022-06-24 21:19:19 +01:00
Marten Seemann
ec61dd410d update go-libp2p to v0.20.2 2022-06-24 19:48:11 +02:00
Jorropo
a3a6a59dbb chore: update go-multihash
This remove github.com/minio/blake2b-simd and replace it with golang.org/x/crypto/blake2b which slightly faster and reduce the code surface.

See https://github.com/multiformats/go-multihash/pull/157 for more info.
2022-06-22 16:03:28 -04:00
siiky
058803f167 docs: fix typo in cid/base32 2022-06-21 22:42:46 +02:00