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

Refactor handling in HacsRepository to use the new API client#4902

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

Open
ludeeus wants to merge1 commit intomain
base:main
Choose a base branch
Loading
fromuse-new

Conversation

@ludeeus
Copy link
Member

No description provided.

CopilotAI review requested due to automatic review settingsNovember 2, 2025 19:45
@ludeeusludeeus changed the titleRefactor exception handling in HacsRepository to use the new API clientRefactor handling in HacsRepository to use the new API clientNov 2, 2025
Copy link
Contributor

CopilotAI 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 the GitHub API integration by replacing the legacyAIOGitHubAPINotModifiedException exception with the newerGitHubNotModifiedException, and modernizes theasync_get_legacy_repository_object method to use the newgithubapi interface instead of the deprecatedget_repo method.

Key changes:

  • Updated exception handling to useGitHubNotModifiedException instead ofAIOGitHubAPINotModifiedException
  • Refactoredasync_get_legacy_repository_object to use the newself.hacs.githubapi.repos.get() API
  • Simplified exception handling by removing redundant exception types from the catch block

💡Add Copilot custom instructions for smarter, more guided reviews.Learn how to get started.

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

Reviewers

Copilot code reviewCopilotCopilot left review comments

@coderabbitaicoderabbitai[bot]coderabbitai[bot] approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@ludeeus

[8]ページ先頭

©2009-2025 Movatter.jp