Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
subscription-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
staging
patch
subscription-manager
Compare revisions
6252a7294af96ca6b94a20a3db7ea7d71b60aff3 to 5c1e6579eea1cb1915e05253d6199599842f7e27
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
staging/patch/subscription-manager
Select target project
No results found
5c1e6579eea1cb1915e05253d6199599842f7e27
Select Git revision
Branches
r10
r10-beta
r10s
r8
r8-beta
r8s
r9
r9-beta
r9s
Swap
Target
staging/patch/subscription-manager
Select target project
staging/patch/subscription-manager
1 result
6252a7294af96ca6b94a20a3db7ea7d71b60aff3
Select Git revision
Branches
r10
r10-beta
r10s
r8
r8-beta
r8s
r9
r9-beta
r9s
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (3)
fix patch number
· cfbd0489
Louis Abel
authored
1 year ago
Verified
cfbd0489
fix patch level
· 95ac3eab
Louis Abel
authored
1 year ago
Verified
95ac3eab
fix patch
· 5c1e6579
Louis Abel
authored
1 year ago
Verified
5c1e6579
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ROCKY/CFG/subscription-manager.cfg
+1
-1
1 addition, 1 deletion
ROCKY/CFG/subscription-manager.cfg
ROCKY/_supporting/0001-subscription-manager-rocky-remove-redhat-refs.patch
+10
-10
10 additions, 10 deletions
.../0001-subscription-manager-rocky-remove-redhat-refs.patch
with
11 additions
and
11 deletions
ROCKY/CFG/subscription-manager.cfg
View file @
5c1e6579
...
...
@@ -31,7 +31,7 @@ spec_change {
search_and_replace
{
any:
true
find:
"%setup
-q"
replace:
"%setup
-q\n%patch9998
-p1\n%patch
2
-p
9999\n"
replace:
"%setup
-q\n%patch9998
-p1\n%patch9999
-p1
\n"
n:
1
}
...
...
This diff is collapsed.
Click to expand it.
ROCKY/_supporting/0001-subscription-manager-rocky-remove-redhat-refs.patch
View file @
5c1e6579
From
1879be0ccb8220a21f07b293602f2a4c637c641f
Mon Sep 17 00:00:00 2001
From
be32e6f788b6fc5ae82454ccec3381c6d948d0c1
Mon Sep 17 00:00:00 2001
From: Louis Abel <label@rockylinux.org>
Date:
Tue
,
1
Nov 202
2
1
0
:4
1:47
-0700
Date:
Sun
,
5
Nov 202
3
1
6
:4
9:36
-0700
Subject: [PATCH] patch up subscription manager
---
...
...
@@ -21,12 +21,12 @@ index 9050582..2392f67 100644
# When following option is set to 1, then all repositories defined outside redhat.repo will be disabled
# every time subscription-manager plugin is triggered by dnf or yum
diff --git a/src/subscription_manager/repofile.py b/src/subscription_manager/repofile.py
index
650d963..8bda5f7
100644
index
cc98803..78c7ce2
100644
--- a/src/subscription_manager/repofile.py
+++ b/src/subscription_manager/repofile.py
@@ -370,11 +370,7 @@
class RepoFileBase(object):
@@ -375,11 +375,7 @@
class RepoFileBase:
"""
Try to create new repo file.
:return: None
"""
- self.create_dir_path()
- if self.path_exists(self.path) or not self.manage_repos:
...
...
@@ -35,14 +35,14 @@ index 650d963..8bda5f7 100644
- f.write(self.REPOFILE_HEADER)
+ pass
def fix_content(self, content
)
:
def fix_content(self, content
: str) -> str
:
return content
diff --git a/src/subscription_manager/repolib.py b/src/subscription_manager/repolib.py
index
dc649ea..fb1d
c0d 100644
index
4e7c016..f5
c0d
13
100644
--- a/src/subscription_manager/repolib.py
+++ b/src/subscription_manager/repolib.py
@@ -
83
,7 +
83
,7 @@
class YumPluginManager
(object)
:
def warning_message(enabled_yum_plugins
)
:
@@ -
92
,7 +
92
,7 @@
class YumPluginManager:
def warning_message(enabled_yum_plugins
: List[str]) -> str
:
message = _(
"The yum/dnf plugins: %s were automatically enabled for the benefit of "
- "Red Hat Subscription Management. If not desired, use "
...
...
@@ -51,5 +51,5 @@ index dc649ea..fb1dc0d 100644
"block this behavior."
) % ", ".join(enabled_yum_plugins)
--
2.
37.3
2.
41.0
This diff is collapsed.
Click to expand it.