Skip to content

Implement installability check for Packit as a Fedora dist-git CI #2782

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

nforro
Copy link
Member

@nforro nforro commented Apr 23, 2025

Fixes #2712.

RELEASE NOTES BEGIN

Installability check is now being run as part of CI on dist-git pull requests.

RELEASE NOTES END

@nforro nforro requested review from mfocko and a team as code owners April 23, 2025 15:24
Copy link
Contributor

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

looks really good!

Copy link
Contributor

Copy link
Contributor

Comment on lines +68 to +72
method: Optional[str] = None,
params: Optional[dict] = None,
data: Optional[dict] = None,
) -> RequestResponse:
method = method or "GET"
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
method: Optional[str] = None,
params: Optional[dict] = None,
data: Optional[dict] = None,
) -> RequestResponse:
method = method or "GET"
method: str = "GET",
params: Optional[dict] = None,
data: Optional[dict] = None,
) -> RequestResponse:

We need to get more details ourselves."""
service_config = ServiceConfig.get_service_config()
self = cls(
api_url=service_config.testing_farm_api_url,
Copy link
Member

Choose a reason for hiding this comment

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

I guess it's coming from the original code, but could you add a comment here? It feels like we can't tell apart… oh never mind, the API is public for both public and RH ranch 🤦

guess it deserves a comment anyways :D

Copy link
Member

@lbarcziova lbarcziova left a comment

Choose a reason for hiding this comment

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

🚀

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.

Implement installability check for Packit as a Fedora dist-git CI
3 participants