Skip to content

Commit

Permalink
Move Gitea fetchers to the last entry
Browse files Browse the repository at this point in the history
Gitea fetchers tries to guess whether a host is a Gitea instance; so we
move them as the last fetcher to avoid colliding with the other fetchers.
  • Loading branch information
marsam committed Jun 11, 2024
1 parent e962e15 commit 32fe5a4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nix_update/version/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,20 +35,20 @@ def __call__(self, url: ParseResult, branch: str) -> list[Version]: ...
fetch_crate_versions,
fetch_npm_versions,
fetch_pypi_versions,
fetch_gitea_versions,
fetch_github_versions,
fetch_gitlab_versions,
fetch_rubygem_versions,
fetch_savannah_versions,
fetch_sourcehut_versions,
fetch_bitbucket_versions,
fetch_gitea_versions,
]

branch_snapshots_fetchers: list[SnapshotFetcher] = [
fetch_gitea_snapshots,
fetch_github_snapshots,
fetch_gitlab_snapshots,
fetch_bitbucket_snapshots,
fetch_gitea_snapshots,
]


Expand Down

0 comments on commit 32fe5a4

Please sign in to comment.