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

add create_issue tool#18

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
juruen merged 2 commits intomainfromjuruen/create-issue
Mar 20, 2025
Merged

add create_issue tool#18

juruen merged 2 commits intomainfromjuruen/create-issue
Mar 20, 2025

Conversation

juruen
Copy link
Collaborator

@juruenjuruen commentedMar 18, 2025
edited
Loading

Context

This PR adds atool for creating an issue. We initially postponed this feature to wait formcp-go to support arrays for describing arguments.

The library finally added support for arrays a few days ago. However, my first implementation, which used them, caused issues in VS Code.

Since VS Code is my main test platform, I decided to implement the array using a comma-separated list instead. We can revisit this decision once the issue is resolved.

Screenshot 2025-03-18 at 15 41 26

@CopilotCopilotAI review requested due to automatic review settingsMarch 18, 2025 14:40
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

This PR adds a new tool called "create_issue" to enable creating issues in a GitHub repository using a comma-separated list for multi-value fields, along with associated tests and documentation updates.

  • Added unit tests for parseCommaSeparatedList and createIssue functionality.
  • Introduced the createIssue tool implementation and registered it in the server.
  • Updated README documentation to include the new create_issue tool and its parameters.

Reviewed Changes

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

Show a summary per file
FileDescription
pkg/github/server_test.goAdded tests for parseCommaSeparatedList functionality.
pkg/github/issues_test.goAdded tests for createIssue tool covering success and failure cases.
README.mdDocumentation updated for the new create_issue tool and its parameters.
pkg/github/issues.goAdded createIssue tool implementation using comma-separated list parsing.
pkg/github/server.goRegistered the createIssue tool and provided a local parseCommaSeparatedList.

Tip: Copilot code review supports C#, Go, Java, JavaScript, Markdown, Python, Ruby and TypeScript, with more languages coming soon.Learn more

Copy link
Collaborator

@SamMorrowDrumsSamMorrowDrums left a comment

Choose a reason for hiding this comment

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

OK@juruen can you make an issue to re-visit the CSV style, and use proper JSON RPC arrays once it works?

@juruen
Copy link
CollaboratorAuthor

OK@juruen can you make an issue to re-visit the CSV style, and use proper JSON RPC arrays once it works?

Done!#31

@juruenjuruen merged commit26e3c6c intomainMar 20, 2025
3 checks passed
@juruenjuruen deleted the juruen/create-issue branchMarch 20, 2025 17:17
manian0430 pushed a commit to ChrisLally/github-mcp-server that referenced this pull requestApr 12, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@SamMorrowDrumsSamMorrowDrumsSamMorrowDrums 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
@juruen@SamMorrowDrums

[8]ページ先頭

©2009-2025 Movatter.jp