This is a re-report of https://github.com/fedora-infra/fmn/issues/905.
In base.PagureMessage, the get_base_url function hardcodes pagure.io or stg.pagure.io. There would be a way to avoid it using self.body["repo"]["full_url"] instead. I'll submit a PR soonish.
get_base_url
pagure.io
stg.pagure.io
self.body["repo"]["full_url"]
I wonder if the original idea wasn't to have a subclass of PagureMessage for dist-git that just overrides the __link__ and __stg_link__ variables
__link__
__stg_link__
Hmm, possible, but then how would subclasses, as they are instantiated by the Pagure code, select which PagureMessage variant to inherit from? It seems safer to just use full_url, as it's there already.
full_url
Fixed by #10
Metadata Update from @abompard: - Issue status updated to: Closed (was: Open)