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

feat: Add list_branches tool to view repository branches#151

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

Closed
aryasoni98 wants to merge0 commits intogithub:mainfromaryasoni98:main

Conversation

aryasoni98
Copy link
Contributor

Closes:#141

@CopilotCopilotAI review requested due to automatic review settingsApril 7, 2025 10:59
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.

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

Copy link
Collaborator

@juruenjuruen left a comment
edited
Loading

Choose a reason for hiding this comment

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

Thank so much for opening this PR! 🚀

A couple of things if you don't mind:

  • Could you please update the README with the new supported tool
  • Re: pagination, please take a look atpkg/github: fix use of per page parameter #137 which we have just merged and changed a bit how we handle pagination. If you could adopt that way of handling pagination in this PR, it'd be really great.

Thank you!

@aryasoni98
Copy link
ContributorAuthor

Thank so much for opening this PR! 🚀

A couple of things if you don't mind:

  • Could you please update the README with the new supported tool
  • Re: pagination, please take a look atpkg/github: fix use of per page parameter #137 which we have just merged and changed a bit how we handle pagination. If you could adopt that way of handling pagination in this PR, it'd be really great.

Thank you!

Thank you for the review! I've addressed both points:

  1. Added thelist_branches tool documentation to the README under the Repository section, including all parameters and their descriptions.

  2. Updated the pagination handling to usewithPagination() helper function instead of direct parameter definitions, matching the approach used in PRpkg/github: fix use of per page parameter #137. The changes include:

    • Removed explicitpage andperPage parameter definitions
    • AddedwithPagination() to the tool definition
    • Updated the handler to useoptionalPaginationParams for parameter extraction

All tests are passing and the code is now consistent with the project's pagination handling standards. Let me know if you'd like me to make any additional adjustments!

@aryasoni98aryasoni98 requested a review fromjuruenApril 7, 2025 21:50
Copy link
Collaborator

@juruenjuruen left a comment

Choose a reason for hiding this comment

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

I apologize for the back and forth! But would you capitalizing the new tool to be consistent with themain?

Thanks!

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

Copilot code reviewCopilotCopilot left review comments

@juruenjuruenjuruen requested changes

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

Successfully merging this pull request may close these issues.

Add ability to view "branches" for a repo
2 participants
@aryasoni98@juruen

[8]ページ先頭

©2009-2025 Movatter.jp