Visiting https://pdc.fedoraproject.org/rest_api/v1/release-components/?name=lvm2 there are broken links to pkgs.example.com:
http://pkgs.example.com/cgit/rpms/lvm2?h=f25
This should be:
https://src.fedoraproject.org/rpms/lvm2/branch/f25
No idea if this is deployment or upstream issue. I guess missing configuration option somewhere.
-- Martian
@lsedlar We are setting:
DIST_GIT_WEB_ROOT_URL = 'https://src.fedoraproject.org/cgit/'
in settings_local.py... is this somehow not overriding the pkgs.example.com in the common settings?
Ah, this looks like a small bug: the option is not used on its own, but merged into another value. Thus the url you set is not really used. Can you try adding following line as a quick workaround?
DIST_GIT_REPO_FORMAT = DIST_GIT_WEB_ROOT_URL + DIST_GIT_RPM_PATH + "%s"
Potentially you might want the format to end with .git, depending on where you would like the link to point.
.git
https://github.com/product-definition-center/product-definition-center/issues/514
I had to also set DIST_GIT_RPM_PATH, but then it worked.
Thanks!
Metadata Update from @kevin: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)