mirror of
https://github.com/mother-of-all-self-hosting/mash-playbook
synced 2025-02-24 11:17:14 +00:00
Add support for codeberg.org and code.forgejo.org to bin/feeds.py
This commit is contained in:
parent
cb9b39aeb5
commit
2c7f1f1cf3
1 changed files with 4 additions and 0 deletions
|
@ -86,6 +86,10 @@ def format_feeds_from_git_repos(git_repos):
|
|||
atomFilePath = git_repo.replace('.git', '') + '.atom'
|
||||
elif 'dev.funkwhale.audio' in git_repo: # gitlab
|
||||
atomFilePath = git_repo.replace('.git', '') + '/-/tags?format=atom'
|
||||
elif 'codeberg.org' in git_repo:
|
||||
atomFilePath = git_repo.replace('.git', '') + '/releases.atom'
|
||||
elif 'code.forgejo.org' in git_repo:
|
||||
atomFilePath = git_repo.replace('.git', '') + '/releases.atom'
|
||||
else:
|
||||
print('Unrecognized git repository: %s' % git_repo)
|
||||
continue
|
||||
|
|
Loading…
Add table
Reference in a new issue