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

Update to unified graphsync v0.9.0 #615

Merged
merged 4 commits into from
Sep 1, 2021

Conversation

hannahhoward
Copy link
Collaborator

@hannahhoward hannahhoward commented Aug 27, 2021

Goals

This is based on #552, but rebased on master and updated to go-graphsync v0.9.0 which incorporates all the changes from the v0.6.x branch. It is part of the effort to unify graphsync versions post M1

Blocked by:

@hannahhoward hannahhoward requested review from dirkmc and aarshkshah1992 and removed request for dirkmc August 27, 2021 05:43
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2021

Codecov Report

Merging #615 (79c52b7) into master (331faa5) will decrease coverage by 0.09%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #615      +/-   ##
==========================================
- Coverage   65.36%   65.27%   -0.08%     
==========================================
  Files          62       62              
  Lines        4459     4459              
==========================================
- Hits         2914     2910       -4     
- Misses       1264     1268       +4     
  Partials      281      281              
Impacted Files Coverage Δ
retrievalmarket/common.go 71.43% <100.00%> (ø)
retrievalmarket/impl/dtutils/dtutils.go 81.20% <100.00%> (ø)
...market/impl/requestvalidation/requestvalidation.go 88.10% <100.00%> (ø)
retrievalmarket/types.go 58.03% <100.00%> (ø)
storagemarket/impl/dtutils/dtutils.go 74.03% <100.00%> (ø)
storagemarket/events.go 0.00% <0.00%> (-40.00%) ⬇️

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 331faa5...79c52b7. Read the comment docs.

Copy link
Contributor

@ribasushi ribasushi left a comment

Choose a reason for hiding this comment

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

This is effectively a sed 's///' PR :shipit:

Copy link
Member

@raulk raulk left a comment

Choose a reason for hiding this comment

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

This seems like simple interface change adaptation. LGTM, but @aarshkshah1992 and @dirkmc should sign off too.

@@ -27,7 +27,7 @@ commands:
condition: << parameters.linux >>
steps:
- run: sudo apt-get update
- run: sudo apt-get install ocl-icd-opencl-dev
Copy link
Member

Choose a reason for hiding this comment

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

Why is this needed now? Is it due to the FFI upgrade?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

yea :(

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

turned out didn't need ffi update so removed

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

just kidding now I remember I had to do this in order to compile the FFI for M1 :(

go.mod Outdated
github.com/filecoin-project/go-ds-versioning v0.1.0
github.com/filecoin-project/go-fil-commcid v0.1.0
github.com/filecoin-project/go-fil-commp-hashhash v0.1.0
github.com/filecoin-project/go-multistore v0.0.3
github.com/filecoin-project/go-multistore v0.0.4-0.20210601185713-428a2691a567
Copy link
Member

Choose a reason for hiding this comment

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

Yeah we should definitely get rid of this.

go.mod Outdated
@@ -7,11 +7,11 @@ require (
github.com/filecoin-project/go-address v0.0.5
github.com/filecoin-project/go-cbor-util v0.0.0-20191219014500-08c40a1e63a2
github.com/filecoin-project/go-commp-utils v0.1.1-0.20210427191551-70bf140d31c7
github.com/filecoin-project/go-data-transfer v1.7.6
github.com/filecoin-project/go-data-transfer v1.7.8-0.20210827051445-c354689456a5
Copy link
Member

Choose a reason for hiding this comment

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

Flagging that this should change to go-data-transfer v1.8.0 when the corresponding PR is merged and released upstream.

@hannahhoward hannahhoward force-pushed the feat/update-graphsync-v0.9.0 branch 3 times, most recently from cae978c to 79056fd Compare August 31, 2021 03:41
Copy link
Contributor

@dirkmc dirkmc left a comment

Choose a reason for hiding this comment

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

Thanks! 👍

@hannahhoward hannahhoward force-pushed the feat/update-graphsync-v0.9.0 branch from 9cea3e7 to 79c52b7 Compare September 1, 2021 23:08
@hannahhoward hannahhoward merged commit d9b8b89 into master Sep 1, 2021
dirkmc added a commit that referenced this pull request Sep 2, 2021
dirkmc added a commit that referenced this pull request Sep 2, 2021
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.

5 participants