From 99ce2eed06961da87fa13d0fadd4dc8d963540b7 Mon Sep 17 00:00:00 2001 From: Laura Barcziova Date: Fri, 29 Nov 2024 10:35:01 +0100 Subject: [PATCH] Change default URL for Pagure status reporting For now let's stick with our contacts info URL, we could link some relevant docs later, once created. The previous link was outdated. --- packit_service/worker/reporting/reporters/pagure.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packit_service/worker/reporting/reporters/pagure.py b/packit_service/worker/reporting/reporters/pagure.py index 29ccf06dd..dc1a74de2 100644 --- a/packit_service/worker/reporting/reporters/pagure.py +++ b/packit_service/worker/reporting/reporters/pagure.py @@ -5,8 +5,8 @@ from typing import Optional from ogr.abstract import CommitStatus -from ogr.services.pagure import PagurePullRequest +from packit_service.constants import CONTACTS_URL from packit_service.worker.reporting.enums import BaseCommitStatus from .base import StatusReporter @@ -44,7 +44,7 @@ def set_status( # Required because Pagure API doesn't accept empty url. if not url: - url = "https://wiki.centos.org/Manuals/ReleaseNotes/CentOSStream" + url = CONTACTS_URL if self.pull_request_object: self.pull_request_object.set_flag(