d2eb4e1889
- Update to version 6.2.5: * release 6.2.5 * Panel: Fully escape html in drilldown links (was only sanitized before) (#17731) * Grafana-CLI: Wrapper for `grafana-cli` within RPM/DEB packages and config/homepath are now global flags (#17695) * config: fix connstr for remote_cache (#17675) * TablePanel: fix annotations display (#17646) * middleware: fix Strict-Transport-Security header (#17644) * Elasticsearch: Fix empty query request to send properly (#17488) * release 6.2.4 * grafana-cli: Fix receiving flags via command line (#17617) * HTTPServer: Fix X-XSS-Protection header formatting (#17620) * release 6.2.3 * cli: grafana-cli should receive flags from the command line (#17606) * AuthProxy: Optimistic lock pattern for remote cache Set (#17485) * OAuth: Fix for wrong user token updated on OAuth refresh in DS proxy (#17541) * middleware: add security related HTTP(S) response headers (#17522) * remote_cache: Fix redis (#17483) * auth_proxy: non-negative cache TTL (#17495) OBS-URL: https://build.opensuse.org/request/show/711929 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=17 |
||
---|---|---|
_service | ||
_servicedata | ||
.gitattributes | ||
.gitignore | ||
grafana-6.2.5.tar.xz | ||
grafana-rpmlintrc | ||
grafana.changes | ||
grafana.spec | ||
Makefile | ||
README |
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 npm >= 6, yarn and grunt installed. To get set up, run: # zypper in npm # 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>