Accepting request 805824 from home:SchoolGuy:branches:server:monitoring
Docs about patching the JS frontend OBS-URL: https://build.opensuse.org/request/show/805824 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=39
This commit is contained in:
parent
d4995336ec
commit
f4cc777309
3
Makefile
3
Makefile
@ -21,6 +21,9 @@ tar:
|
||||
gunzip ../$$tar.gz && \
|
||||
tar -xf ../$$tar && \
|
||||
cd $$basename && \
|
||||
# Patches for the JS frontend go after here
|
||||
# No patches currently needed
|
||||
# End patches section
|
||||
# exclude the phantomjs-prebuilt binary module from the webpack \
|
||||
sed -i '/phantomjs-prebuilt/d' package.json && \
|
||||
# nuke grunt task for copying phantomjs \
|
||||
|
11
README
11
README
@ -26,4 +26,15 @@ grunt installed. To get set up, run:
|
||||
Then, to package a new release of Grafana, run `make` then `osc ci`
|
||||
and you should be good.
|
||||
|
||||
If you have a patch for the Javascript frontend to apply you need
|
||||
to do the following:
|
||||
|
||||
- Create the patch and add it with `osc add <PATCH>` to the repo
|
||||
- Open the Makefile
|
||||
- Add after the `cd $$basename && \` the patch with:
|
||||
`patch -p1 < ../../000x-<NAME>.patch && \`
|
||||
- Do NOT add the patch to the Specfile.
|
||||
- Then use the process of building Grafana as described above.
|
||||
|
||||
Please direct any questions to Tim Serong <tserong@suse.com>
|
||||
If Tim is not available you may also contact Enno Gotthold <egotthold@suse.de>
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu May 14 13:57:48 UTC 2020 - Enno Gotthold <egotthold@suse.com>
|
||||
|
||||
- Add instructions for patching the Grafana javascript frontend.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 5 17:34:34 UTC 2020 - Jeff Kowalczyk <jkowalczyk@suse.com>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user