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

update-check inherit type #2573

Open
nekopsykose opened this issue Jul 27, 2024 · 0 comments
Open

update-check inherit type #2573

nekopsykose opened this issue Jul 27, 2024 · 0 comments

Comments

@nekopsykose
Copy link
Member

currently we detect some some special hosts in expand_source, e.g. codeberg, gitlab

for the latter two (and technically also pagure, srht, ... but almost nobody hosts those), it would be nice if there was some way to basically just do

# in update.py
inherit = "codeberg" # or maybe gitea, or forgejo, whatever name

since every self-hosted version of those has the same kind of lookup but fails autodetection since the url= doesn't match

though since the update.py would have to be made anyway this only saves a few characters really

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant