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

set the agent version based on version string #3569

Merged
merged 1 commit into from
Jan 7, 2017

Conversation

whyrusleeping
Copy link
Member

License: MIT
Signed-off-by: Jeromy why@ipfs.io

@whyrusleeping whyrusleeping added the status/in-progress In progress label Jan 6, 2017
License: MIT
Signed-off-by: Jeromy <why@ipfs.io>
@@ -86,6 +87,10 @@ const (
onlineMode
)

func init() {
identify.ClientVersion = "go-ipfs/" + config.CurrentVersionNumber + "/" + config.CurrentCommit
Copy link
Member

Choose a reason for hiding this comment

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

Current commit might might not be there, are you ok with trailing slash there?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, I think thats fine. Makes it more apparent the code was built without a commit

@whyrusleeping
Copy link
Member Author

CHANGELOG:
Set libp2p AgentVersion to our current version and commit.

@whyrusleeping whyrusleeping merged commit 56058c1 into master Jan 7, 2017
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Jan 7, 2017
@whyrusleeping whyrusleeping deleted the feat/libp2p-agent-vers branch January 7, 2017 10:45
@ghost ghost mentioned this pull request Jan 27, 2017
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.

2 participants