Skip to content

chore: export search funcs - #167

Merged
SamMorrowDrums merged 6 commits into
mainfrom
export-search
Apr 8, 2025
Merged

chore: export search funcs#167
SamMorrowDrums merged 6 commits into
mainfrom
export-search

Conversation

@SamMorrowDrums

Copy link
Copy Markdown
Collaborator

Export search funcs to public interface.

CopilotAI review requested due to automatic review settings April 7, 2025 22:32

CopilotAI left a comment

Copy link
Copy Markdown
Contributor

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 exports several GitHub search and resource functions to the public interface by renaming them from unexported (lowercase) to exported (PascalCase) versions. The changes update function names and comments throughout the code as well as the corresponding test references to ensure consistency.

Reviewed Changes

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

Show a summary per file
FileDescription
pkg/github/server.goRenamed resource and tool functions to exported variants.
pkg/github/search_test.goUpdated test references for renamed search functions.
pkg/github/search.goExported search functions by renaming them.
pkg/github/repository_resource_test.goUpdated tests with exported resource handler functions.
pkg/github/repository_resource.goRenamed resource functions and their comments to be exported.
pkg/github/repositories_test.goUpdated test references for repository functions.
pkg/github/repositories.goExported repository functions by renaming them.
pkg/github/pullrequests_test.goUpdated test references for pull request functions.
pkg/github/pullrequests.goRenamed pull request functions to the exported naming convention.
pkg/github/issues_test.goUpdated test references for issue functions.
pkg/github/issues.goExported issue functions with updated naming and comments.
pkg/github/code_scanning_test.goUpdated test references for code scanning functions.
pkg/github/code_scanning.goRenamed code scanning functions to be exported.

@SamMorrowDrums
SamMorrowDrums changed the base branch from main to export-repositoriesApril 7, 2025 22:33
juruen
juruen previously approved these changes Apr 8, 2025

@juruenjuruen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

🚀

Base automatically changed from export-repositories to mainApril 8, 2025 07:34
@SamMorrowDrums
SamMorrowDrums dismissed juruen’s stale reviewApril 8, 2025 07:34

The base branch was changed.

@SamMorrowDrums
SamMorrowDrums merged commit 3dae8ab into mainApr 8, 2025
@SamMorrowDrums
SamMorrowDrums deleted the export-search branch April 8, 2025 07:39
DaleSeo pushed a commit to DaleSeo/github-mcp-server that referenced this pull request Oct 24, 2025
The secret provided via argument (`-e` flag) [1] was losing the value before
listing the tools. This caused failures to connect to the MCP server.
The strategy now is to replace the secret value only when encoding the object
to generate the template.
There was also a missing `--load` flag when executing `docker buildx build` to
correctly load the image into the memory.
[1] https://github.com/rafaeljusto/mcp-registry/blob/17fdb6eb0a4b47d4ac1a33535554a6fa7e2b2dd3/cmd/create/main.go#L177-L181
Sign up for freeto 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

@SamMorrowDrums@juruen