Skip to content

Conversation

@rvagg
Copy link
Member

@rvagg rvagg commented Oct 7, 2021

Ref: ipld/go-car#254

Depends on getting null-padding added as an option to go-car master and getting a proper tag for this.

@codecov-commenter
Copy link

Codecov Report

Merging #639 (1bbb6e1) into master (36ed4dd) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #639   +/-   ##
=======================================
  Coverage   65.22%   65.22%           
=======================================
  Files          62       62           
  Lines        4467     4467           
=======================================
  Hits         2913     2913           
  Misses       1273     1273           
  Partials      281      281           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 36ed4dd...1bbb6e1. Read the comment docs.

@rvagg
Copy link
Member Author

rvagg commented Oct 8, 2021

I believe that we don't need the zero=eof for go-car v0 usage here anymore, so we just need an upstream v0.3.2 tag and to get that merged in here (along with a tagged go-commp-utils).

@rvagg rvagg marked this pull request as ready for review October 14, 2021 03:48
@rvagg
Copy link
Member Author

rvagg commented Oct 14, 2021

Now using the tagged, mainline v0.3.2 go-car, working just fine.
This is just blocked by filecoin-project/go-commp-utils#7 being merged and tidied up here.
I'm confident at this stage that the functionality provided by the custom branch of go-car is no longer required because the code paths involved all go through go-car/v2 now which has the functionality available in its mainline releases.

@rvagg rvagg force-pushed the rvagg/go-car-master branch from 454e31c to af8bdfc Compare October 15, 2021 02:41
@rvagg rvagg force-pushed the rvagg/go-car-master branch from af8bdfc to d80ceba Compare October 15, 2021 02:42
@rvagg rvagg requested review from dirkmc and hannahhoward October 15, 2021 05:47
@rvagg
Copy link
Member Author

rvagg commented Oct 15, 2021

We have a tagged go-car now and a new go-commp-utils, so this is now just a version bump and clean up of modules, I think this can be merged now (although I had to rerun CI a few times to pass the flakys).

@mvdan
Copy link
Contributor

mvdan commented Oct 15, 2021

Depends on getting null-padding added as an option to go-car master and getting a proper tag for this.

Just to clarify, this line from the original post is no longer relevant, right? As you no longer think "zero as EOF" is needed for the uses of the go-car v0 module.

Copy link
Contributor

@mvdan mvdan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming we're all in agreement the two unmerged go-car v0 commits aren't actually needed, the changes LGTM!

@rvagg
Copy link
Member Author

rvagg commented Oct 15, 2021

Just to clarify, this line from the original post is no longer relevant, right?

Correct, I believe that code paths that need the null=EOF handling (reading from a sector) are now handled by go-car/v2. Same with the Filestore change, or at least roughly similar functionality I think. So the uses of v0 are now very straightforward.

@rvagg
Copy link
Member Author

rvagg commented May 10, 2022

replaced with #709, this PR was made redundant by #653 anyway

@rvagg rvagg closed this May 10, 2022
@rvagg rvagg deleted the rvagg/go-car-master branch May 10, 2022 10:25
hannahhoward pushed a commit that referenced this pull request May 11, 2022
dirkmc pushed a commit that referenced this pull request May 12, 2022
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.

4 participants