Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: pass version through to server#155

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
SamMorrowDrums merged 1 commit intomainfromadd-version-to-server
Apr 7, 2025

Conversation

SamMorrowDrums
Copy link
Collaborator

Just noticed that this was not wired up, and it should be. The server has a version param that was still hard-coded.

@CopilotCopilotAI review requested due to automatic review settingsApril 7, 2025 15:52
Copy link
Contributor

@CopilotCopilotAI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

A chore PR to wire the version parameter through the server initialization.

  • Updated the server constructor in pkg/github/server.go to accept a version parameter instead of a hard-coded value.
  • Updated the instantiation call in cmd/github-mcp-server/main.go to pass the version received from configuration.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

FileDescription
pkg/github/server.goChanged the NewServer function signature to include a version parameter in place of "0.0.1".
cmd/github-mcp-server/main.goModified the call to NewServer to pass the version variable rather than a hard-coded value.

Tip: If you use Visual Studio Code, you can request a review from Copilot before you push from the "Source Control" tab.Learn more

@SamMorrowDrumsSamMorrowDrums merged commit7ab5d96 intomainApr 7, 2025
16 checks passed
@SamMorrowDrumsSamMorrowDrums deleted the add-version-to-server branchApril 7, 2025 15:56
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@tobytobytoby approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@SamMorrowDrums@toby

[8]ページ先頭

©2009-2025 Movatter.jp