#5 [RFE] Allow configuring Anitya for Go packages
Opened 2 years ago by gotmax23. Modified 2 years ago

We should allow configuring Anitya for Go packages. Currently, fedora-sig-onboard only works for Rust. It's hardcoded to use crates.io specific options and has no way to specify alternative Anitya backends.

I'd not sure what would be the best way to implement this. Adding a --github-project option wouldn't work, as it's possible to pass multiple packages at once. Maybe we could just prompt the user and not add any CLI arguments? What do you think?


For Python support (#6) I basically just hardcode the Anitya config too (but added a flag to skip Anitya in case the package is not on PyPI, which is assumed).

Is there a similar assumption we can make for Golang packages? Since we already have to customize the rules somewhat for different groups (e.g. for Python we don't want to override the bugzilla assignee), adding a special case for Golang packages is probably reasonable, if there is a config that works for most.

Log in to comment on this ticket.

Metadata