SHA256
1
0
forked from pool/grafana
Go to file
Witek Bedyk 10156548c6 Accepting request 994726 from home:witekbedyk:branches:server:monitoring
- Update to version 8.3.10
  + Security:
    * Fixes XSS vulnerability in the Unified Alerting
      (bsc#1201535, CVE-2022-31097)
    * Fixes OAuth account takeover vulnerability
      (bsc#1201539, CVE-2022-31107)
- Update to version 8.3.9
  + Bug fixes:
    * Geomap: Display legend
    * Prometheus: Fix timestamp truncation
- Update to version 8.3.7
  + Bug fix:
    * Provisioning: Ensure that the default value for orgID is set
      when provisioning datasources to be deleted.
- Update to version 8.3.6
  + Features and enhancements:
    * Cloud Monitoring: Reduce request size when listing labels.
    * Explore: Show scalar data result in a table instead of graph.
    * Snapshots: Updates the default external snapshot server URL.
    * Table: Makes footer not overlap table content.
    * Tempo: Add request histogram to service graph datalink.
    * Tempo: Add time range to tempo search query behind a feature flag.
    * Tempo: Auto-clear results when changing query type.
    * Tempo: Display start time in search results as relative time.
  + Bug fixes:
    * CloudMonitoring: Fix resource labels in query editor.
    * Cursor sync: Apply the settings without saving the dashboard.
    * LibraryPanels: Fix for Error while cleaning library panels.
    * Logs Panel: Fix timestamp parsing for string dates without timezone.
    * Prometheus: Fix some of the alerting queries that use reduce/math operation.
    * TablePanel: Fix ad-hoc variables not working on default datasources.
    * Text Panel: Fix alignment of elements.
    * Variables: Fix for constant variables in self referencing links.

OBS-URL: https://build.opensuse.org/request/show/994726
OBS-URL: https://build.opensuse.org/package/show/server:monitoring/grafana?expand=0&rev=74
2022-08-16 11:39:50 +00:00
_constraints Accepting request 967538 from home:jordimassaguerpla:branches:server:monitoring:add_constraints_to_grafana 2022-04-07 15:58:22 +00:00
_service Accepting request 994726 from home:witekbedyk:branches:server:monitoring 2022-08-16 11:39:50 +00:00
_servicedata Accepting request 994726 from home:witekbedyk:branches:server:monitoring 2022-08-16 11:39:50 +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
0001-Add-source-code-reference.patch Accepting request 949301 from home:witekbedyk:branches:server:monitoring 2022-02-07 11:39:23 +00:00
grafana-8.3.10.tar.gz Accepting request 994726 from home:witekbedyk:branches:server:monitoring 2022-08-16 11:39:50 +00:00
grafana-rpmlintrc Accepting request 583279 from security:logging 2018-03-07 10:11:57 +00:00
grafana.changes Accepting request 994726 from home:witekbedyk:branches:server:monitoring 2022-08-16 11:39:50 +00:00
grafana.spec Accepting request 994726 from home:witekbedyk:branches:server:monitoring 2022-08-16 11:39:50 +00:00
Makefile Accepting request 949301 from home:witekbedyk:branches:server:monitoring 2022-02-07 11:39:23 +00:00
README Accepting request 874474 from home:tserong:branches:server:monitoring 2021-02-26 14:07:38 +00:00
vendor.tar.gz Accepting request 994726 from home:witekbedyk:branches:server:monitoring 2022-08-16 11:39:50 +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 inside the source tree (see
https://github.com/grafana/grafana/blob/master/contribute/developer-guide.md#frontend).
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 && yarn build`
- 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 >= 14 and yarn installed.

  # zypper in npm14
  # zypper in obs-service-download_files obs-service-go_modules \
        obs-service-obs_scm
  # npm install -g yarn

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>