Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v0.12.0 #8743

Merged
merged 31 commits into from
Feb 18, 2022
Merged

Release v0.12.0 #8743

merged 31 commits into from
Feb 18, 2022

Conversation

aschmahmann
Copy link
Contributor

No description provided.

aschmahmann and others added 30 commits December 1, 2021 10:25
Not that they will ever happen in the current implementation, but it makes the
linter happy and covers our back for future.
This fixes some tests which expect "refs local" and "repo gc" outputs to match
the CIDs produced when adding data. These operations are now outputting CIDv1-raw
hashes, regardless of the original CIDs used to address those blocks, so some tests
fail.

The fix is usually:

* To use "block stat" to check if a block was correctly gc'ed
* To convert the CIDs to multihash (using cid-fmt) and compare those instead
This sharness test provides 2 datastore blocks directly.

One of them (corresponding to an "insecure block") is not a CIDv0 therefore it
needs to be migrated and stored with its raw-multihash ID.

The (raw) CID of the block used in the test remains the same.

The other block needs no changes.
tar.gz got mangled because of reasons known to github,
this does the correct upload every time by forcing github to interpret
payload as an opaque stream of bytes without anything fancy
* only copy files from dist.ipfs.io which have associated checksum files (also copy the checksum files)
* verify checksums before copying
* also, ignore path from sha512sum output, which sometimes has absolute path on dist.ipfs.io website

Co-authored-by: Marcin Rataj <[email protected]>
feat: switch to raw multihashes for blocks
This is to make it easier to understand why the multifetcher is
falling back to a different fetcher.

(cherry picked from commit 4f3eb4c)
* feat: refactor Fetcher interface used for downloading migrations
* feat: add RetryFetcher for migration downloads
* feat: 3 retries for each HTTP migration download

(cherry picked from commit b1ffc87)
@aschmahmann aschmahmann merged commit 06191df into release Feb 18, 2022
hacdias pushed a commit to ipfs/boxo that referenced this pull request Jan 27, 2023
gammazero pushed a commit to ipfs/boxo that referenced this pull request Sep 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants