Go to file
Lars Vogdt 578d56d11a Accepting request 617300 from home:mcalmer:branches:server:monitoring
- Update to version 5.1.3:
  * Heatmap support for Prometheus
  * Align Zero-Line for Right and Left Y-axes
  * allow setting the database
  * MSSQL Data Source
  * support multiple histogram series
  * support cloudwatch high resolution query
  * Added radiation units
  * Modify Grafana Pagerduty notifier to use Pagerduty API V2
  * prometheus editor: variable autocomplete support
  * Use net.SplitHostPort to support IPv6
  * See /usr/share/doc/packages/grafana/CHANGELOG.md for more details

- remove unknown build flag -s

need working phantomjs and new go

OBS-URL: https://build.opensuse.org/request/show/617300
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=7
2018-06-26 13:57:56 +00:00
_service Accepting request 617300 from home:mcalmer:branches:server:monitoring 2018-06-26 13:57:56 +00:00
_servicedata Accepting request 617300 from home:mcalmer:branches:server:monitoring 2018-06-26 13:57:56 +00:00
.gitattributes Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
.gitignore Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
grafana-5.1.3.tar.xz Accepting request 617300 from home:mcalmer:branches:server:monitoring 2018-06-26 13:57:56 +00:00
grafana-rpmlintrc Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
grafana.changes Accepting request 617300 from home:mcalmer:branches:server:monitoring 2018-06-26 13:57:56 +00:00
grafana.spec Accepting request 617300 from home:mcalmer:branches:server:monitoring 2018-06-26 13:57:56 +00:00
Makefile Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
README Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00

The tarball is generated via the OBS source service, but Grafana
needs to ship the compiled frontend assets as well, which have to
be built by running yarn and grunt inside the source tree (see
https://github.com/grafana/grafana#building-frontend-assets).
This can't be done at build time on OBS, because it involves
downloading and installing packages from the internet, so instead
we have a Makefile which does the following:

- Runs `osc service disabledrun` to get the latest source tarball
- Unpacks the tarball to a temporary directory
- Runs `yarn install --pure-lockfile && grunt release`
- Adds the generated "vendor" and "public" content to the tarball,
  then compresses it with xz.
- The tarball can then be used by OBS to build an RPM.

In order for this to work you need to have npm6, yarn and grunt
installed.  To get set up, run:

  # zypper in npm6
  # npm install -g yarn
  # npm install -g grunt-cli

Then, to package a new release of Grafana, run `make` then `osc ci`
and you should be good.

Please direct any questions to Tim Serong <tserong@suse.com>