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

fix(pagure): raise for invalid URL in pagure #705

Merged

Conversation

mfocko
Copy link
Member

@mfocko mfocko commented Apr 27, 2022

When using PagureService.get_project_from_url test for correctly parsed
URL before accessing its attributes (resulting in AttributeError).

Fixes #698

Signed-off-by: Matej Focko [email protected]

RELEASE NOTES BEGIN
ogr now correctly raises OgrException when given invalid URL to PagureService.get_project_from_url.
RELEASE NOTES END

When using `PagureService.get_project_from_url` test for correctly parsed
URL before accessing its attributes (resulting in `AttributeError`).

Fixes packit#698

Signed-off-by: Matej Focko <[email protected]>
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded.

@mfocko mfocko added the mergeit When set, zuul wil gate and merge the PR. label Apr 27, 2022
@softwarefactory-project-zuul
Copy link
Contributor

Build succeeded (gate pipeline).

@softwarefactory-project-zuul softwarefactory-project-zuul bot merged commit 0ef457d into packit:main Apr 27, 2022
@mfocko mfocko deleted the fix-pagure-from-url branch July 11, 2023 11:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mergeit When set, zuul wil gate and merge the PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AttributeError: when repo_url.is_fork called as repo_url can return NoneType
2 participants