forked from pool/grafana
Accepting request 922558 from home:witekbedyk:branches:server:monitoring
- Add patch 0001-Add-source-code-reference.patch * Add URL to package source code in the login page footer OBS-URL: https://build.opensuse.org/request/show/922558 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=60
This commit is contained in:
parent
3a6bc52d50
commit
a029c81581
37
0001-Add-source-code-reference.patch
Normal file
37
0001-Add-source-code-reference.patch
Normal 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
|
||||
|
2
Makefile
2
Makefile
@ -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 && \
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:225af1afcd4be5e0589d9c982d76ab2cccc28f2c41934804e74f475aad957049
|
||||
size 32740935
|
||||
oid sha256:73153332d00ac9a5b63395c81e6a1532ace94904cc4840ab75f42b4cdfaa2ad1
|
||||
size 32555914
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:e0325c2b8c392647e166d3579595673889342cdfcdaa4050901fecb7aa7dfc07
|
||||
size 12121040
|
||||
oid sha256:407b835c1df3cdd675ee0422bd53fa09ca7ef17330f114ed6bc7fc1e849fbe9a
|
||||
size 11947755
|
||||
|
Loading…
Reference in New Issue
Block a user