Accepting request 926998 from server:monitoring

OBS-URL: https://build.opensuse.org/request/show/926998
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/grafana?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2021-10-22 22:51:45 +00:00 committed by Git OBS Bridge
commit ca23a9c513
6 changed files with 49 additions and 5 deletions

View File

@ -0,0 +1,37 @@
From 4a0ab78a061ac25039f33a3f9b620ef0f8032d3a Mon Sep 17 00:00:00 2001
From: Witek Bedyk <witold.bedyk@suse.com>
Date: Thu, 16 Sep 2021 15:43:01 +0200
Subject: [PATCH] Patch SLE15 source code
---
public/app/core/components/Footer/Footer.tsx | 14 ++++++--------
1 file changed, 6 insertions(+), 8 deletions(-)
diff --git a/public/app/core/components/Footer/Footer.tsx b/public/app/core/components/Footer/Footer.tsx
index 5b7be702bd..4b4948c30e 100644
--- a/public/app/core/components/Footer/Footer.tsx
+++ b/public/app/core/components/Footer/Footer.tsx
@@ -45,14 +45,12 @@ export let getVersionLinks = (): FooterLink[] => {
links.push({ text: `v${buildInfo.version} (${buildInfo.commit})` });
- if (buildInfo.hasUpdate) {
- links.push({
- text: `New version available!`,
- icon: 'download-alt',
- url: 'https://grafana.com/grafana/download?utm_source=grafana_footer',
- target: '_blank',
- });
- }
+ links.push({
+ text: `Source code`,
+ icon: 'download-alt',
+ url: 'https://build.opensuse.org/package/show/openSUSE:Factory/grafana',
+ target: '_blank',
+ });
return links;
};
--
2.26.2

View File

@ -23,7 +23,7 @@ tar:
tar --format=posix -cf ../$$tar $$basename && \
cd $$basename && \
# Patches for the JS frontend go after here \
# No patches currently needed \
patch -p1 -i ../../0001-Add-source-code-reference.patch && \
# End patches section \
yarn install --pure-lockfile && \
yarn run build && \

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:225af1afcd4be5e0589d9c982d76ab2cccc28f2c41934804e74f475aad957049
size 32740935
oid sha256:73153332d00ac9a5b63395c81e6a1532ace94904cc4840ab75f42b4cdfaa2ad1
size 32555914

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Sep 21 07:27:09 UTC 2021 - Witek Bedyk <witold.bedyk@suse.com>
- Add patch 0001-Add-source-code-reference.patch
* Add URL to package source code in the login page footer
-------------------------------------------------------------------
Thu May 20 02:14:06 UTC 2021 - daniel.molkentin@suse.com

View File

@ -35,6 +35,7 @@ Source2: %{name}-rpmlintrc
Source3: README
# Makefile to automate build process
Source4: Makefile
Source5: 0001-Add-source-code-reference.patch
Patch1: drop-grafana-aws-sdk-0.3.0-module.patch
BuildRequires: fdupes
BuildRequires: git-core

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e0325c2b8c392647e166d3579595673889342cdfcdaa4050901fecb7aa7dfc07
size 12121040
oid sha256:407b835c1df3cdd675ee0422bd53fa09ca7ef17330f114ed6bc7fc1e849fbe9a
size 11947755