forked from cockpit/cockpit
Compare commits
2 Commits
add-libzyp
...
check-for-
Author | SHA256 | Date | |
---|---|---|---|
228138217c
|
|||
1d9add8241
|
49
0009-add-test-to-check-for-redhat-links.patch
Normal file
49
0009-add-test-to-check-for-redhat-links.patch
Normal file
@@ -0,0 +1,49 @@
|
|||||||
|
From 00ee76e052cce67006cb794ed6e770a6207fb766 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alice Brooks <alice.brooks@suse.com>
|
||||||
|
Date: Tue, 15 Jul 2025 04:15:19 +0100
|
||||||
|
Subject: [PATCH] Add test to check for redhat links
|
||||||
|
|
||||||
|
---
|
||||||
|
Makefile.am | 1 +
|
||||||
|
test/common/check-links | 17 +++++++++++++++++
|
||||||
|
2 files changed, 18 insertions(+)
|
||||||
|
create mode 100755 test/common/check-links
|
||||||
|
|
||||||
|
diff --git a/Makefile.am b/Makefile.am
|
||||||
|
index 83f1ee7..97cfc6a 100644
|
||||||
|
--- a/Makefile.am
|
||||||
|
+++ b/Makefile.am
|
||||||
|
@@ -80,6 +80,7 @@ distcheck-hook::
|
||||||
|
|
||||||
|
TESTS = \
|
||||||
|
test/common/static-code \
|
||||||
|
+ test/common/check-links \
|
||||||
|
$(NULL)
|
||||||
|
|
||||||
|
clean-local::
|
||||||
|
diff --git a/test/common/check-links b/test/common/check-links
|
||||||
|
new file mode 100755
|
||||||
|
index 0000000..6af98a8
|
||||||
|
--- /dev/null
|
||||||
|
+++ b/test/common/check-links
|
||||||
|
@@ -0,0 +1,17 @@
|
||||||
|
+#!/bin/sh
|
||||||
|
+
|
||||||
|
+set -u
|
||||||
|
+
|
||||||
|
+find pkg -type f -name manifest.json | xargs jq -r '.[]?.[]?.docs?.[]?.url' | grep -v "jq: error" | grep redhat
|
||||||
|
+
|
||||||
|
+if [ $? -eq 0 ]; then
|
||||||
|
+ echo "Redhat links exist in manifest.json please update the relevant patches" >&2
|
||||||
|
+ exit 1
|
||||||
|
+fi
|
||||||
|
+
|
||||||
|
+find pkg -type f | grep -v manifest.json | xargs grep docs.redhat
|
||||||
|
+
|
||||||
|
+if [ $? -eq 0 ]; then
|
||||||
|
+ echo "Redhat links exist in pkg/ please update the relevant patches" >&2
|
||||||
|
+ exit 1
|
||||||
|
+fi
|
||||||
|
--
|
||||||
|
2.50.0
|
||||||
|
|
@@ -1,3 +1,17 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jul 15 05:13:32 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
||||||
|
|
||||||
|
- add 0009-add-test-to-check-for-redhat-links.patch so we can check
|
||||||
|
during package build if the user would be accidently shown a redhat
|
||||||
|
link
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jul 11 06:50:17 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
||||||
|
|
||||||
|
- add libzypp-plugin-appdata dependency to cockpit-packagekit as
|
||||||
|
this will generate the swcatalog which it depends on for calculating
|
||||||
|
various cockpit packages
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Jun 19 08:30:49 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
Thu Jun 19 08:30:49 UTC 2025 - Alice Brooks <alice.brooks@suse.com>
|
||||||
|
|
||||||
|
@@ -69,6 +69,7 @@ Patch3: suse-microos-branding.patch
|
|||||||
Patch4: css-overrides.patch
|
Patch4: css-overrides.patch
|
||||||
Patch5: storage-btrfs.patch
|
Patch5: storage-btrfs.patch
|
||||||
Patch6: kdump-nfs-fixes.patch
|
Patch6: kdump-nfs-fixes.patch
|
||||||
|
Patch7: 0009-add-test-to-check-for-redhat-links.patch
|
||||||
# SLE Micro specific patches
|
# SLE Micro specific patches
|
||||||
Patch101: hide-pcp.patch
|
Patch101: hide-pcp.patch
|
||||||
Patch102: 0002-selinux-temporary-remove-setroubleshoot-section.patch
|
Patch102: 0002-selinux-temporary-remove-setroubleshoot-section.patch
|
||||||
@@ -146,6 +147,7 @@ BuildRequires: pkgconfig(krb5) >= 1.11
|
|||||||
BuildRequires: libxslt-devel
|
BuildRequires: libxslt-devel
|
||||||
BuildRequires: glib-networking
|
BuildRequires: glib-networking
|
||||||
BuildRequires: sed
|
BuildRequires: sed
|
||||||
|
BuildRequires: jq
|
||||||
|
|
||||||
BuildRequires: glib2-devel >= 2.50.0
|
BuildRequires: glib2-devel >= 2.50.0
|
||||||
# this is for runtimedir in the tls proxy ace21c8879
|
# this is for runtimedir in the tls proxy ace21c8879
|
||||||
@@ -217,6 +219,7 @@ BuildRequires: python3-pytest-timeout
|
|||||||
%patch -P 4 -p1
|
%patch -P 4 -p1
|
||||||
%patch -P 5 -p1
|
%patch -P 5 -p1
|
||||||
%patch -P 6 -p1
|
%patch -P 6 -p1
|
||||||
|
%patch -P 7 -p1
|
||||||
|
|
||||||
%patch -P 106 -p1
|
%patch -P 106 -p1
|
||||||
%patch -P 109 -p1
|
%patch -P 109 -p1
|
||||||
|
Reference in New Issue
Block a user