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

chore: export remaining + helpers #168

Merged
merged 1 commit into from
Apr 8, 2025
Merged

chore: export remaining + helpers #168

merged 1 commit into from
Apr 8, 2025

Conversation

SamMorrowDrums
Copy link
Collaborator

@SamMorrowDrums SamMorrowDrums commented Apr 7, 2025

Export the remaining tool funcs and helpers.

@Copilot Copilot bot review requested due to automatic review settings April 7, 2025 22:39
Copy link
Contributor

@Copilot Copilot AI 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 updates several functions and helpers to use exported (capitalized) names so they can be accessed externally. Key changes include renaming search functions and helper methods across multiple GitHub-related packages, and updating associated tests and resource handlers to reflect the new names.

Reviewed Changes

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

Show a summary per file
File Description
pkg/github/server_test.go Renamed getMe to GetMe in test cases.
pkg/github/server.go Updated tool and helper function names to exported names.
pkg/github/search_test.go Updated search function names to their exported versions.
pkg/github/search.go Renamed search functions and updated with exported WithPagination.
pkg/github/repository_resource_test.go Renamed resource handler functions to exported names.
pkg/github/repository_resource.go Updated repository resource functions to exported names.
pkg/github/repositories_test.go Renamed file-related functions to exported names in tests.
pkg/github/repositories.go Updated repository tool functions with exported naming conventions.
pkg/github/pullrequests_test.go Renamed pull request functions to exported names in tests.
pkg/github/pullrequests.go Updated pull request functions to their exported counterparts.
pkg/github/issues_test.go Renamed issue-related functions to exported names in tests.
pkg/github/issues.go Updated issue functions to exported names.
pkg/github/code_scanning_test.go Renamed code scanning alert functions to exported names in tests.
pkg/github/code_scanning.go Updated code scanning functions to exported names.

@SamMorrowDrums SamMorrowDrums changed the base branch from main to export-search April 7, 2025 22:43
@SamMorrowDrums SamMorrowDrums changed the title chore: export remaining search + helpers chore: export remaining + helpers Apr 7, 2025
juruen
juruen previously approved these changes Apr 8, 2025
Copy link
Collaborator

@juruen juruen left a comment

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-search to main April 8, 2025 07:39
@SamMorrowDrums SamMorrowDrums dismissed juruen’s stale review April 8, 2025 07:39

The base branch was changed.

@SamMorrowDrums SamMorrowDrums merged commit 519ed9e into main Apr 8, 2025
13 of 15 checks passed
@SamMorrowDrums SamMorrowDrums deleted the export-rest branch April 8, 2025 07:43
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