-
Notifications
You must be signed in to change notification settings - Fork 44
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
Implement a CARv2 SelectiveCARAPI when clients have upgraded to go-ipld-prime v0.9.0 #104
Labels
P3
Low: Not priority right now
Comments
aarshkshah1992
changed the title
Implement a CARv2 Selective CAR API when clients have upgraded to go-ipld-prime v0.9.0
Implement a CARv2 SelectiveCARAPI when clients have upgraded to go-ipld-prime v0.9.0
Jun 24, 2021
This was referenced Jul 9, 2021
masih
added a commit
that referenced
this issue
Jul 23, 2021
The CARv2 implementation uses an internal fork of CARv1 due to upstream dependency issues captured in #104. Propagate the options set in CARv2 APIs for treatment of zero-lenth sections onto internal packages so that APIs using the internal CARv1 reader behave consistently. Use a `bool` for setting the option, since it is the only option needed in CARv1. Update tests to reflect changes. Add additional tests to internal CARv1 package and ReadOnly blockstore that assert option is propagated. Fixes #190
masih
added a commit
that referenced
this issue
Jul 23, 2021
The CARv2 implementation uses an internal fork of CARv1 due to upstream dependency issues captured in #104. Propagate the options set in CARv2 APIs for treatment of zero-lenth sections onto internal packages so that APIs using the internal CARv1 reader behave consistently. Use a `bool` for setting the option, since it is the only option needed in CARv1. Update tests to reflect changes. Add additional tests to internal CARv1 package and ReadOnly blockstore that assert option is propagated. Fixes #190
Fixed by #269 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#102 removes the CARv1 dependency from the WIP CARv2 library and states the motivation for doing so i.e. to not force clients to upgrade to the breaking
go-ipld-prime v0.9.0
release because the latest CARv1 release depends ongo-ipld-prime v0.9.0
.Towards that goal, the CARv2 library also holds back from implementing a
SelectiveCAR
API for v2 as theSelectiveCAR
implementation would needgo-ipld-prime
and we should be using the latest ipld prime release i.e.go-ipld-prime v0.9.0
to implement it rather than using an older IPLD prime release.This issue is meant to capture the fact that we should implementing a CARv2
SelectiveCAR
API when clients have upgraded togo-ipld-prime v0.9.0
.The text was updated successfully, but these errors were encountered: