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

add Transocoder functionality #42

Merged
merged 2 commits into from
Dec 17, 2016
Merged

add Transocoder functionality #42

merged 2 commits into from
Dec 17, 2016

Conversation

Kubuxu
Copy link
Member

@Kubuxu Kubuxu commented Oct 14, 2016

Allowing multiaddr extensions to have data with

Allowing multiaddr extensions to have data with
@ghost
Copy link

ghost commented Oct 14, 2016

What is the goal of this PR, and how does it achieve it? Can't review 370 changed lines with only half a sentence of description ;)

@Kubuxu
Copy link
Member Author

Kubuxu commented Oct 14, 2016

166*2 lines of the is just code moved

Rest (50) is Transcoder interface that allows to have data in multiaddr without having your Protocol encoding and decoding inside this repo.

@ghost
Copy link

ghost commented Oct 14, 2016

Could you split the refactoring and added functionality into two commits?

@Kubuxu
Copy link
Member Author

Kubuxu commented Oct 14, 2016

No, it isn't possible as then commit won't build and/or pass tests.

@coveralls
Copy link

coveralls commented Oct 14, 2016

Coverage Status

Coverage increased (+0.2%) to 77.958% when pulling 1919305 on feat/transcoders into e50c11c on master.

@Kubuxu
Copy link
Member Author

Kubuxu commented Oct 20, 2016

//cc @whyrusleeping, @lgierth for CR

Copy link
Member

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

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

One small request, then LGTM

BytesToString([]byte) (string, error)
}

type twrp struct {
Copy link
Member

Choose a reason for hiding this comment

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

maybe provide a function that constructs one of these given two functions?

@Kubuxu
Copy link
Member Author

Kubuxu commented Nov 2, 2016

Updated.

@coveralls
Copy link

coveralls commented Nov 2, 2016

Coverage Status

Coverage decreased (-0.02%) to 77.701% when pulling 72b4a6c on feat/transcoders into e50c11c on master.

@Kubuxu
Copy link
Member Author

Kubuxu commented Nov 4, 2016

@whyrusleeping CR pls.

@whyrusleeping
Copy link
Member

i wish git diffs were smarter. All youre really doing here is moving code around, but git thinks youre rewriting EVERYTHING.

This LGTM, but would love @lgierth to also take a look.

@ghost
Copy link

ghost commented Nov 12, 2016

LGTM 👍

It'll also simplify potentially adding multiaddr protocols with more than one value.

@whyrusleeping
Copy link
Member

@Kubuxu coverage decreased. I'm very disapointed. (though this LGTM and i'm gonna merge it)

@whyrusleeping whyrusleeping merged commit 3fb0c32 into master Dec 17, 2016
@whyrusleeping whyrusleeping deleted the feat/transcoders branch December 17, 2016 21:17
Stebalien pushed a commit that referenced this pull request May 20, 2020
Add "ip6%" multiaddr support (IPv6 with zone ID)
marten-seemann pushed a commit to marten-seemann/go-multiaddr that referenced this pull request Feb 25, 2021
…github.com/onsi/gomega-1.9.0

Bump github.com/onsi/gomega from 1.8.1 to 1.9.0
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.

3 participants