Skip to content

Commit

Permalink
Add support for src.suse.de
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardobranco777 committed May 8, 2024
1 parent 9f4d172 commit e191a38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions creds-example.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@
"src.opensuse.org": {
"token": "GITEA_TOKEN"
},
"src.suse.de": {
"token": "GITEA_TOKEN"
},
"code.opensuse.org": {
"token": "PAGURE_TOKEN"
}
Expand Down
1 change: 1 addition & 0 deletions services/guess.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ def guess_service(server: str) -> Any:
"code.opensuse.org": MyPagure,
"progress.opensuse.org": MyRedmine,
"src.opensuse.org": MyGitea,
"src.suse.de": MyGitea,
}
for hostname, cls in servers.items():
if hostname == server:
Expand Down

0 comments on commit e191a38

Please sign in to comment.