Skip to content

fixes #450: adds missing support for federated repos in find_repository()#497

Open
axel-kah wants to merge 2 commits into
devopshq:masterfrom
axel-kah:fixes-issue-450
Open

fixes #450: adds missing support for federated repos in find_repository()#497
axel-kah wants to merge 2 commits into
devopshq:masterfrom
axel-kah:fixes-issue-450

Conversation

@axel-kah
Copy link
Copy Markdown

Fixes #450

Tested this on a productive instance. Without this patch the repositories property of an object of type RepositoryVirtual will return None when it hits a repository of type 'federated' because that repo type was not handled in find_repository() which then defaults to None.

tox came back clean for all python versions on linux but pre-commit:blacken-docs complained about syntax issues in a python snippet in the README.md. I added it as a bonus commit so it also comes back clean.

@axel-kah axel-kah changed the title fixex #450: adds missing support for federated repos in find_repository() fixes #450: adds missing support for federated repos in find_repository() Mar 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

The find_repository() method does not support federated repositories

2 participants