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 go graphsync v0.9.0 #246

Merged
merged 3 commits into from
Sep 1, 2021

Conversation

hannahhoward
Copy link
Collaborator

Goals

This is based on #212, 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

Update to go-graphsync v0.8.0 with go-ipld-prime linksystem branch & trusted store.
@codecov-commenter
Copy link

codecov-commenter commented Aug 27, 2021

Codecov Report

Merging #246 (69789de) into master (5493514) will not change coverage.
The diff coverage is 72.72%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #246   +/-   ##
=======================================
  Coverage   67.97%   67.97%           
=======================================
  Files          24       24           
  Lines        3066     3066           
=======================================
  Hits         2084     2084           
  Misses        627      627           
  Partials      355      355           
Impacted Files Coverage Δ
message/message1_1/transfer_message_cbor_gen.go 36.78% <0.00%> (ø)
message/message1_1/transfer_request_cbor_gen.go 28.28% <0.00%> (ø)
message/message1_1/transfer_response_cbor_gen.go 31.29% <0.00%> (ø)
channels/channel_state.go 77.41% <100.00%> (ø)
encoding/encoding.go 63.63% <100.00%> (ø)
message/message1_1/transfer_request.go 78.37% <100.00%> (ø)
transport/graphsync/graphsync.go 77.85% <100.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 5493514...69789de. Read the comment docs.

Copy link

@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.

The entire PR is effectively just cosmetic changes
Left a single comment in the codegen that surprised me, but that's for TIL-purposes only

Good to go as-is
:shipit: it's been far too long

peer "github.com/libp2p/go-libp2p-core/peer"
cbg "github.com/whyrusleeping/cbor-gen"
xerrors "golang.org/x/xerrors"
)

var _ = xerrors.Errorf
var _ = cid.Undef
var _ = sort.Sort

Choose a reason for hiding this comment

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

Really surprised this is needed... ( the .Sort specifically, not the cid.Undef )

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.

@hannahhoward hannahhoward merged commit 11f7314 into master Sep 1, 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