Changed bug tracker URL to https://bugs.msvsphere-os.ru/ and Enable fastestmirror by default
parent
a3d145232c
commit
a25fa0d418
@ -0,0 +1,49 @@
|
|||||||
|
From 6dda2226b3c95120ced82ceab862846f52c051f4 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Sergey Cherevko <s.cherevko@msvsphere-os.ru>
|
||||||
|
Date: Wed, 18 Dec 2024 21:18:29 +0300
|
||||||
|
Subject: [PATCH] msvsphere bugtracker
|
||||||
|
|
||||||
|
---
|
||||||
|
dnf/const.py.in | 2 +-
|
||||||
|
doc/conf.py.in | 2 +-
|
||||||
|
tests/test_config.py | 3 +--
|
||||||
|
3 files changed, 3 insertions(+), 4 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/dnf/const.py.in b/dnf/const.py.in
|
||||||
|
index bcadc80..0e4d43c 100644
|
||||||
|
--- a/dnf/const.py.in
|
||||||
|
+++ b/dnf/const.py.in
|
||||||
|
@@ -54,4 +54,4 @@ VERSION='@DNF_VERSION@'
|
||||||
|
USER_AGENT = "dnf/%s" % VERSION
|
||||||
|
|
||||||
|
BUGTRACKER_COMPONENT=NAME.lower()
|
||||||
|
-BUGTRACKER='https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=%s' % BUGTRACKER_COMPONENT
|
||||||
|
+BUGTRACKER='https://bugs.msvsphere-os.ru/'
|
||||||
|
diff --git a/doc/conf.py.in b/doc/conf.py.in
|
||||||
|
index 368efe3..5a250b7 100644
|
||||||
|
--- a/doc/conf.py.in
|
||||||
|
+++ b/doc/conf.py.in
|
||||||
|
@@ -267,5 +267,5 @@ rst_prolog = """
|
||||||
|
.. _DNF: https://github.com/rpm-software-management/dnf/
|
||||||
|
.. _hawkey: http://rpm-software-management.github.io/hawkey/
|
||||||
|
.. _YUM: http://yum.baseurl.org/
|
||||||
|
-.. _bugzilla: https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&component=dnf
|
||||||
|
+.. _bugzilla: https://bugs.msvsphere-os.ru/
|
||||||
|
"""
|
||||||
|
diff --git a/tests/test_config.py b/tests/test_config.py
|
||||||
|
index d850267..4f5c781 100644
|
||||||
|
--- a/tests/test_config.py
|
||||||
|
+++ b/tests/test_config.py
|
||||||
|
@@ -55,8 +55,7 @@ class ConfTest(tests.support.TestCase):
|
||||||
|
def test_bugtracker(self):
|
||||||
|
conf = Conf()
|
||||||
|
self.assertEqual(conf.bugtracker_url,
|
||||||
|
- "https://bugzilla.redhat.com/enter_bug.cgi" +
|
||||||
|
- "?product=Fedora&component=dnf")
|
||||||
|
+ "https://bugs.msvsphere-os.ru/")
|
||||||
|
|
||||||
|
def test_conf_from_file(self):
|
||||||
|
conf = Conf()
|
||||||
|
--
|
||||||
|
2.43.5
|
||||||
|
|
@ -0,0 +1,33 @@
|
|||||||
|
From 98e0b5658215116761cf2f56d312a8d2871b00a7 Mon Sep 17 00:00:00 2001
|
||||||
|
From: tigro <arkadiy.sheyn@softline.com>
|
||||||
|
Date: Tue, 29 Aug 2023 13:32:05 +0300
|
||||||
|
Subject: [PATCH] Set fastestmirror=True by default
|
||||||
|
|
||||||
|
---
|
||||||
|
etc/dnf/dnf-strict.conf | 1 +
|
||||||
|
etc/dnf/dnf.conf | 1 +
|
||||||
|
2 files changed, 2 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/etc/dnf/dnf-strict.conf b/etc/dnf/dnf-strict.conf
|
||||||
|
index 3d08d07..ebaf324 100644
|
||||||
|
--- a/etc/dnf/dnf-strict.conf
|
||||||
|
+++ b/etc/dnf/dnf-strict.conf
|
||||||
|
@@ -3,4 +3,5 @@ gpgcheck=1
|
||||||
|
installonly_limit=3
|
||||||
|
clean_requirements_on_remove=True
|
||||||
|
best=True
|
||||||
|
+fastestmirror=True
|
||||||
|
skip_if_unavailable=False
|
||||||
|
diff --git a/etc/dnf/dnf.conf b/etc/dnf/dnf.conf
|
||||||
|
index bc665d2..043005d 100644
|
||||||
|
--- a/etc/dnf/dnf.conf
|
||||||
|
+++ b/etc/dnf/dnf.conf
|
||||||
|
@@ -5,4 +5,5 @@ gpgcheck=True
|
||||||
|
installonly_limit=3
|
||||||
|
clean_requirements_on_remove=True
|
||||||
|
best=False
|
||||||
|
+fastestmirror=True
|
||||||
|
skip_if_unavailable=True
|
||||||
|
--
|
||||||
|
2.41.0
|
||||||
|
|
Loading…
Reference in new issue