Commit Graph

307 Commits

Author SHA1 Message Date
Henrique Dias
4e34e60af5 Merge pull request ipfs/boxo#505 from ipfs/release-v0.15.0
Release v0.15.0

This commit was moved from ipfs/boxo@521f8d49a3
2023-11-03 09:15:32 +01:00
Henrique Dias
1c21ccba5a Merge pull request ipfs/boxo#501 from ipfs/release
Merge Release v0.14.0

This commit was moved from ipfs/boxo@9c228122b7
2023-11-01 10:53:51 +01:00
Henrique Dias
04b27b2f75 Merge pull request ipfs/boxo#500 from ipfs/release-v0.14.0
Release v0.14.0

This commit was moved from ipfs/boxo@07c57196b1
2023-11-01 10:40:27 +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
Henrique Dias
4e0f9aa922 Merge pull request ipfs/boxo#470 from ipfs/release
Merge Back Release 0.13.1

This commit was moved from ipfs/boxo@b1c5b8d2ca
2023-09-21 17:01:53 +02:00
Henrique Dias
38ff3abadc Merge pull request ipfs/boxo#469 from ipfs/release-v0.13.1
Release v0.13.1

This commit was moved from ipfs/boxo@e0d4b3e9b9
2023-09-21 16:55:41 +02:00
Henrique Dias
e67c8bc8b9 Merge pull request ipfs/boxo#467 from ipfs/release
Merge Back Release 0.13.0

This commit was moved from ipfs/boxo@f93d563dda
2023-09-20 09:57:30 +02:00
Henrique Dias
f7be8b2963 Merge pull request ipfs/boxo#465 from ipfs/release-v0.13.0
Release v0.13.0

This commit was moved from ipfs/boxo@33ff5953c6
2023-09-20 09:06:27 +02:00
Henrique Dias
bffa3291a5 Merge pull request ipfs/boxo#448 from ipfs/merge-release-v0.12.0
Merge release v0.12.0

This commit was moved from ipfs/boxo@6a4bf9e12b
2023-08-22 14:21:34 +02:00
Henrique Dias
6cd69b1469 Merge pull request ipfs/boxo#446 from ipfs/release-v0.12
Release v0.12

This commit was moved from ipfs/boxo@c5407804d0
2023-08-22 13:06:32 +02:00
Jorropo
334308f532 style: run gofumpt
This commit was moved from ipfs/boxo@c5a805eed5
2023-08-21 10:24:37 +02:00
Jorropo
6df76cebe7 Merge pull request ipfs/boxo#418 from ipfs/release
Merge  release v0.11.0

This commit was moved from ipfs/boxo@6867652286
2023-07-27 07:49:43 +02:00
Jorropo
1d797fda64 Merge pull request ipfs/boxo#417 from ipfs/release-v0.11.0
Release v0.11.0

This commit was moved from ipfs/boxo@77fb8285de
2023-07-26 17:43:02 +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
a83f5e6df0 Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#76 from ipfs/fix/check-error-as-string
fix: check errors by string

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

This commit was moved from ipfs/boxo@9c1a747a2f
2021-08-17 13:37:04 -07: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
c2ffa45f56 Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#72 from ipfs/fix-staticcheck
fix staticcheck

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

This commit was moved from ipfs/boxo@ffb496699f
2021-06-02 09:17:47 -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
Adin Schmahmann
3826afdfcf Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#65 from ipfs/petar/namefmt
Add ID formatting functions, used by various IPFS cli commands

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

This commit was moved from ipfs/boxo@d15ee994ab
2020-07-29 14:08:58 -04: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
Steven Allen
d15c06691d Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#61 from ipfs/fix/dht-wait
extra time for dht spin-up

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

This commit was moved from ipfs/boxo@8f5e567906
2020-04-21 10:44:05 -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
Steven Allen
b5eaa64752 Merge pull request ipfs/boxoipfs/interface-go-ipfs-core#57 from MichaelMure/fatal-on-err
test: fail early on err to avoid an unrelated panic

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

This commit was moved from ipfs/boxo@093084efa5
2020-01-23 11:50:51 -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