Commit Graph

285 Commits

Author SHA1 Message Date
Andrew Gillis
26bb4ca276
Upgrade to Boxo v0.28.0 (#10725)
Some checks failed
Docker Build / docker-build (push) Waiting to run
Gateway Conformance / gateway-conformance (push) Waiting to run
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Waiting to run
Go Build / go-build (push) Waiting to run
Go Check / go-check (push) Waiting to run
Go Lint / go-lint (push) Waiting to run
Go Test / go-test (push) Waiting to run
Interop / interop-prep (push) Waiting to run
Interop / helia-interop (push) Blocked by required conditions
Interop / ipfs-webui (push) Blocked by required conditions
Sharness / sharness-test (push) Waiting to run
Spell Check / spellcheck (push) Waiting to run
CodeQL / codeql (push) Has been cancelled
* Upgrade to Boxo v0.28.0
2025-02-24 16:54:14 -08:00
Andrew Gillis
9425421114
collection of typo fixes (#10647)
Some checks failed
CodeQL / codeql (push) Has been cancelled
Docker Build / docker-build (push) Has been cancelled
Gateway Conformance / gateway-conformance (push) Has been cancelled
Gateway Conformance / gateway-conformance-libp2p-experiment (push) Has been cancelled
Go Build / go-build (push) Has been cancelled
Go Check / go-check (push) Has been cancelled
Go Lint / go-lint (push) Has been cancelled
Go Test / go-test (push) Has been cancelled
Interop / interop-prep (push) Has been cancelled
Sharness / sharness-test (push) Has been cancelled
Interop / helia-interop (push) Has been cancelled
Interop / ipfs-webui (push) Has been cancelled
2024-12-29 21:27:41 -08:00
Andrew Gillis
224d6a3ba4
refactor(cmds): do not return errors embedded in result type (#10527)
incl. https://github.com/ipfs/boxo/pull/738
2024-12-03 20:15:33 +01:00
Andrew Gillis
263edb251e
feat: Support storing UnixFS 1.5 Mode and ModTime (#10478)
Co-authored-by: Marcin Rataj <lidel@lidel.org>
2024-08-21 02:02:46 +02:00
IGP
ae05085644
feat: enables searching pins by name (#10412)
Co-authored-by: Henrique Dias <mail@hacdias.com>
2024-05-14 11:05:35 +00:00
crazehang
efceaec7da
core: fix some typos (#10382)
Signed-off-by: crazehang <zhangrenzhong@outlook.com>
2024-04-03 13:29:32 +02:00
Henrique Dias
9047fed8d5
core/commands!: remove deprecated object APIs (#10375) 2024-03-22 09:32:30 +01:00
Henrique Dias
d77a9e69f7 client/rpc!: remove deprecated DHT commands 2024-03-05 09:01:00 +01:00
Henrique Dias
80973d87cc core: deprecate CoreAPI.Dht, introduce CoreAPI.Routing 2024-02-07 10:47:30 +01:00
Henrique Dias
a8a6bbe929
feat: support optional pin names (#10261) 2024-01-04 14:25:06 +01:00
Henrique Dias
8ab2de5ff0
feat: ipfs key sign|verify (#10235) 2023-12-04 09:51:26 +01:00
Henrique Dias
58c29399cf
chore: clean migration 2023-11-29 12:29:59 +01:00
Henrique Dias
faac7c1835 feat!: namesys refactor, ipns TTL bubbled up to gateway (#459)
This commit was moved from ipfs/boxo@a50f784985
2023-10-18 10:12:37 +02:00
Jorropo
dafdce8983 path: replace ImmutablePath interface with struct
Let's not repeat https://github.com/ipfs/go-block-format/issues/45 interface for struct with one implementation and no value added.


This commit was moved from ipfs/boxo@45c797e0cc
2023-10-09 09:35:59 +02:00
Henrique Dias
5bac37c735 feat(path)!: consolidated path libraries (#334)
This commit was moved from ipfs/boxo@85c180e266
2023-10-06 16:04:23 +02:00
Jorropo
334308f532 style: run gofumpt
This commit was moved from ipfs/boxo@c5a805eed5
2023-08-21 10:24:37 +02:00
Henrique Dias
d6464864cb feat(ipns): refactored IPNS package with lean records (#339)
This commit was moved from ipfs/boxo@417c5f7d61
2023-06-20 14:08:22 +02:00
Michael Muré
0134124cdd pinner: change the interface to have async pin listing
The rational is that if the pin list get big, a synchronous call to get the complete list can delay handling unnecessarily. For example, when listing indirect pins, you can start walking the DAGs immediately with the first recursive pin instead of waiting for the full list.

This matters even more on low power device, of if the pin list is stored remotely.

* coreiface: allow to return an error not linked to a specific Cid
* merkledag/test: add a DAG generator

Rationale is that generating a test DAG is quite difficult, and anything that helps writing better tests is helpful.

This commit was moved from ipfs/boxo@e2fc7f2fd0
2023-06-02 16:49:03 +02:00
Jorropo
18143e2bb3 coreiface: add a testing.T argument to the provider
This is usefull because it allows the Provider to use t.Cleanup for cleaning up the nodes.


This commit was moved from ipfs/boxo@c23df3837f
2023-05-30 19:54:01 +02:00
Laurent Senta
1b154e2456 feat(routing): allow-offline with routing put (#278)
This commit was moved from ipfs/boxo@8059f183d8
2023-05-03 12:59:07 +02:00
Jorropo
8c2ae9cf22 feat: Über Migration (and Boxo rename)
Include rename from:
  github.com/ipfs/go-libipfs => github.com/ipfs/boxo

This migration was reverted:
  ./blocks => github.com/ipfs/go-block-format

Migrated repos:
- github.com/ipfs/interface-go-ipfs-core         => ./coreiface
- github.com/ipfs/go-pinning-service-http-client => ./pinning/remote/client
- github.com/ipfs/go-path                        => ./path
- github.com/ipfs/go-namesys                     => ./namesys
- github.com/ipfs/go-mfs                         => ./mfs
- github.com/ipfs/go-ipfs-provider               => ./provider
- github.com/ipfs/go-ipfs-pinner                 => ./pinning/pinner
- github.com/ipfs/go-ipfs-keystore               => ./keystore
- github.com/ipfs/go-filestore                   => ./filestore
- github.com/ipfs/go-ipns                        => ./ipns
- github.com/ipfs/go-blockservice                => ./blockservice
- github.com/ipfs/go-ipfs-chunker                => ./chunker
- github.com/ipfs/go-fetcher                     => ./fetcher
- github.com/ipfs/go-ipfs-blockstore             => ./blockstore
- github.com/ipfs/go-ipfs-posinfo                => ./filestore/posinfo
- github.com/ipfs/go-ipfs-util                   => ./util
- github.com/ipfs/go-ipfs-ds-help                => ./datastore/dshelp
- github.com/ipfs/go-verifcid                    => ./verifcid
- github.com/ipfs/go-ipfs-exchange-offline       => ./exchange/offline
- github.com/ipfs/go-ipfs-routing                => ./routing
- github.com/ipfs/go-ipfs-exchange-interface     => ./exchange
- github.com/ipfs/go-unixfs                      => ./ipld/unixfs
- github.com/ipfs/go-merkledag                   => ./ipld/merkledag
- github.com/ipld/go-car                         => ./ipld/car

Fixes #215
Updates #202


This commit was moved from ipfs/boxo@038bdd291d
2023-03-27 19:29:40 +02:00
Jorropo
3b6647ffdc test: use two nodes in publish
This spin up online nodes instead of offline ones.


This commit was moved from ipfs/interface-go-ipfs-core@a8d2741bbe

This commit was moved from ipfs/boxo@54d20f0173
2023-02-10 03:31:30 +01:00
Henrique Dias
3f7c35bdb9 test: basic routing interface test
This commit was moved from ipfs/interface-go-ipfs-core@d069f41be1

This commit was moved from ipfs/boxo@48f8c69a90
2023-02-09 07:52:38 +01:00
Henrique Dias
132206b573 feat: add RoutingAPI to CoreAPI
This commit was moved from ipfs/interface-go-ipfs-core@177d25ba92

This commit was moved from ipfs/boxo@b3ab888345
2023-01-27 02:08:32 +01:00
Henrique Dias
b3cc938630 feat: add namesys publish options (#94)
* feat: add namesys publish options
* feat: export DefaultIPNSRecordEOL
* feat: export DefaultIPNSRecordTTL

This commit was moved from ipfs/interface-go-ipfs-core@468dea4bb4

This commit was moved from ipfs/boxo@bcb9190c2b
2023-01-24 23:44:55 +01:00
Henrique Dias
587075204d chore: migrate files (#97)
This commit was moved from ipfs/interface-go-ipfs-core@f7b346b76c

This commit was moved from ipfs/boxo@01de18ff3f
2023-01-12 11:45:13 +01:00
Henrique Dias
d2edb2ea78 feat: add UseCumulativeSize UnixfsLs option (#95)
This commit was moved from ipfs/interface-go-ipfs-core@b1299abda0

This commit was moved from ipfs/boxo@ff2eb2bff2
2022-12-12 21:09:45 +01:00
Marten Seemann
46577b15b7 chore: update go-libp2p to v0.23.4
This commit was moved from ipfs/interface-go-ipfs-core@96e9f23333

This commit was moved from ipfs/boxo@90ca296f80
2022-12-09 13:46:13 +01:00
web3-bot
f2614d979e sync: update CI config files (#87)
This commit was moved from ipfs/interface-go-ipfs-core@de3410bbe2

This commit was moved from ipfs/boxo@ea6ac8cb6a
2022-08-25 13:07:58 +00:00
Lucas Molas
caa42b5634 refactor(block): CIDv1 and BlockPutSettings CidPrefix (#80)
* feat(block options): add store codec
* refactor: BlockPutSettings.CidPrefix

Removes duplicated fields and replaces them with cid.Prefix

Codec, MhType and MhLength were  already in prefix, and we already return
prefix. A lot of duplicated values and code responsible for syncing them
did not really need to exist.

* test: CIDv1 raw and dag-pb cases
* chore: release 0.7.0

Co-authored-by: Marcin Rataj <lidel@lidel.org>

This commit was moved from ipfs/interface-go-ipfs-core@a3374d9902

This commit was moved from ipfs/boxo@aca3a1839f
2022-04-21 17:41:58 +02:00
Jorropo
9120e3f1f9 fix: use IPLD.ErrNotFound instead of string comparison in tests
This commit was moved from ipfs/interface-go-ipfs-core@03f4e9cca1

This commit was moved from ipfs/boxo@548e3d4298
2022-04-02 03:28:57 +02:00
godcong
29d037909b fix: document error (#74)
This commit was moved from ipfs/interface-go-ipfs-core@e9a2991668

This commit was moved from ipfs/boxo@f9d0ad972c
2022-03-25 07:32:10 -07:00
Hector Sanjuan
49e2b34be5 Update tests to use ipld.IsNotFound to check for notfound errors
This commit was moved from ipfs/interface-go-ipfs-core@01ee9419a2

This commit was moved from ipfs/boxo@2263eca4a4
2022-03-18 00:25:08 +01:00
Steven Allen
f909368aa0 fix: check errors by string
Unfortunately, we return errors over the HTTP API and lose the type.


This commit was moved from ipfs/interface-go-ipfs-core@98e72571bc

This commit was moved from ipfs/boxo@b722930c08
2021-08-17 13:32:26 -07:00
Hannah Howard
58c9824ce4 IPLD In IPFS: Target Merge Branch (#67)
* update go-path and error message
* add node api for prime interactions
* use go-unixfsnode
* update against fetcher

Co-authored-by: acruikshank <acruikshank@example.com>

This commit was moved from ipfs/interface-go-ipfs-core@49cdff8024

This commit was moved from ipfs/boxo@8f0db8f184
2021-08-12 09:35:49 -07:00
Marten Seemann
fb0a7edf12 fix staticcheck
This commit was moved from ipfs/interface-go-ipfs-core@08bd316e61

This commit was moved from ipfs/boxo@5df09f8425
2021-06-02 09:11:14 -07:00
Petar Maymounkov
2517d0b9d4 add id and key formatting utils; format keys as b36cid by default; update tests
This commit was moved from ipfs/interface-go-ipfs-core@c604c5b033

This commit was moved from ipfs/boxo@7bcd643738
2020-07-29 13:58:18 -04:00
Steven Allen
1babbda938 Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#50 from MichaelMure/pinispinned
add Pin.IsPinned(..)

This commit was moved from ipfs/interface-go-ipfs-core@ee0d435cd1

This commit was moved from ipfs/boxo@150e1b6bea
2020-05-04 17:28:17 -07:00
Will Scott
3a48c52719 extra time for dht spin-up
This commit was moved from ipfs/interface-go-ipfs-core@9160e64532

This commit was moved from ipfs/boxo@0ed0b6f39d
2020-04-21 08:40:13 -07:00
Michael Muré
7f07bf0996 pin: better doc, small cleaning
This commit was moved from ipfs/interface-go-ipfs-core@478caf05ab

This commit was moved from ipfs/boxo@bffa011f0a
2020-03-30 16:20:15 +02:00
Michael Muré
b52034068c pin: add a IsPinned method
This commit was moved from ipfs/interface-go-ipfs-core@c82db2ef22

This commit was moved from ipfs/boxo@e84cc05698
2020-03-02 11:40:26 +01:00
Steven Allen
cdd7cc4776 Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#49 from MichaelMure/pinls
feat: make the CoreAPI expose a streaming pin interface

This commit was moved from ipfs/interface-go-ipfs-core@292d906e7e

This commit was moved from ipfs/boxo@a06d5541a4
2020-02-28 14:01:18 -08:00
Michael Muré
80a898dd55 test: fail early on err to avoid an unrelated panic
This commit was moved from ipfs/interface-go-ipfs-core@df21c57e0f

This commit was moved from ipfs/boxo@7a2fc1b816
2020-01-22 17:11:19 +01:00
Steven Allen
e5059d9e1d fix(tests): put valid blocks
This commit was moved from ipfs/interface-go-ipfs-core@16127b2917

This commit was moved from ipfs/boxo@b1c5044d15
2019-12-02 15:04:28 -05:00
Michael Muré
8eff544241 fix some tests
This commit was moved from ipfs/interface-go-ipfs-core@48dcedecd4

This commit was moved from ipfs/boxo@689e92b560
2019-11-29 22:29:47 +01:00
Michael Muré
e3b5686710 feat: make the CoreAPI expose a streaming pin interface
This commit was moved from ipfs/interface-go-ipfs-core@f976af7ba6

This commit was moved from ipfs/boxo@6eb5c9791b
2019-11-29 22:29:42 +01:00
Adin Schmahmann
c23fa6e2f1 test(pinning): add pin ls tests for indirect pin traversal and pin type precedence
This commit was moved from ipfs/interface-go-ipfs-core@cd7be61c71

This commit was moved from ipfs/boxo@30eb9c7c43
2019-10-11 11:14:39 -04:00
Steven Allen
58df273d66 fix(test): fix a flaky pubsub test
This commit was moved from ipfs/interface-go-ipfs-core@00de46e290

This commit was moved from ipfs/boxo@125f06e6af
2019-09-27 16:21:44 -07:00
Steven Allen
5168b591dc test: test ReadAt if implemented
(I plan on adding support to the http client, at least)


This commit was moved from ipfs/interface-go-ipfs-core@ae83868617

This commit was moved from ipfs/boxo@a8c5ec6062
2019-09-10 18:53:39 -07:00
Steven Allen
09a4311db7 test: fix put with hash test
We just changed ID/"id" to IDENTITY/"identity" to match the multicodec table and
avoid confusion with peer IDs, CIDs, etc.

Unfortunately, this breaks the `--hash=id` flag. Luckily, I'm pretty sure
nobody's actually using this. As putting a block with an identity hash is
useless. If they are users, we can go about adding in backwards compatibility
hacks later.


This commit was moved from ipfs/interface-go-ipfs-core@6ebdbe7ef3

This commit was moved from ipfs/boxo@3b9a723861
2019-08-23 16:22:22 -07:00